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

Provides intelligent code completion for SQL Server editors.

Moderators: Anu Deshpande, Aaron Law, David Priddle

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

Postby willspurgeon » Tue Oct 15, 2013 10:20 pm

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: Select all
if {expression}
begin
    {action}
end


Original request:
http://www.red-gate.com/messageboard/vi ... ght=sp1662

Thanks!
willspurgeon
 
Posts: 5
Joined: Fri Jan 16, 2009 8:44 pm

Postby Manfred.Castro » Wed Oct 16, 2013 11:52 pm

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
Manfred.Castro
 
Posts: 209
Joined: Mon Apr 23, 2012 2:49 pm


Return to SQL Prompt 6

Who is online

Users browsing this forum: No registered users and 0 guests

cron