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.
-
Adam Wenger commented
Similarly I’d Love to see format on save; it reduces a barrier our team has with “forgetting” to format their code, that way we are checking in & deploying consistently formatted code
-
kevriley commented
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.