Setting the formatting style using a comment in the code

Hello,

I know how to use
--SQL Prompt Formatting Off
and
--SQL Prompt Formatting On
to tell SQL Prompt to stop and start formatting code,  but I was wondering if there was perhaps a way to use a comment to indicate that I want SQL prompt to use a specific formatting style to be used for a file or block of code.

this would be useful if you have different clients with different styles or if you have specific SQL scripts that need longer line-wrap values than others and you'd like to just set this in the file's comments and not have to remember to manually switch between active Styles every time.

If this is not currently available, it would be a great, possibly easy to implement, feature to add.
Tagged:

Answers

Sign In or Register to comment.