Options

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

willspurgeonwillspurgeon Posts: 7
edited October 16, 2013 6:52PM in SQL Prompt
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:
if {expression}
begin
    {action}
end

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

Thanks!

Comments

  • Options
    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
Sign In or Register to comment.