How can we improve SQL Prompt?

Format SQL Code on opening file

It would be awsome if there was an option that would format an SQL Script automatically after opening it in SSMS / VS. So if you load a file it would be formatted automatically with your selected formatting style. It would be great too if this auto format option could be switched on and off in the Options.

15 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Frank GeislerFrank Geisler shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • kevrileykevriley commented  ·   ·  Flag as inappropriate

        I like the idea, but can see how it would get annoying.

        Definitely have the option to turn this off - for those of us working with source control, you don't want a load of pending changes just because you looked at a script.

      Feedback and Knowledge Base