Red Gate forums :: View topic - Did SP-1662 ever get implemented? (NOT indenting Begin/End)
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Prompt 6
SQL Prompt 6 forum

Did SP-1662 ever get implemented? (NOT indenting Begin/End)

Search in SQL Prompt 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
willspurgeon



Joined: 16 Jan 2009
Posts: 5

PostPosted: Tue Oct 15, 2013 10:20 pm    Post subject: Did SP-1662 ever get implemented? (NOT indenting Begin/End) Reply with quote

Hi there, looking through the release notes I don't find whether SP-1662 was ever implemented.

I'd prefer SQL Prompt not to indent the begin/end blocks, and instead prefer:

Code:

if {expression}
begin
    {action}
end


Original request:
http://www.red-gate.com/messageboard/viewtopic.php?t=8548&highlight=sp1662

Thanks!
Back to top
View user's profile Send private message
Manfred.Castro



Joined: 23 Apr 2012
Posts: 205

PostPosted: Wed Oct 16, 2013 11:52 pm    Post subject: Reply with quote

This option is not in available in the UI but you should be able to modify it in a config file:

c:\Users\<username>\AppData\Local\Red Gate\SQL Prompt 6\RedGate_SqlPrompt_Format_Layout_LayoutOptions.xml

Change the following entry to false:

<IndentBeginToken>False</IndentBeginToken>
_________________
Manfred Castro
Product Support
Red Gate Software
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group