Comments
1 comment
-
Hi
Thanks for reporting this, unfortunately there’s no way to stop this behaviour with the current formatting in SQL Prompt. However, we are hard at work on adding a much more powerful formatting system which will give you much better control over this behaviour.
When we release the new formatter we’ll announce it on the forums so keep an eye out for this.
Thanks
Ali
Add comment
Please sign in to leave a comment.
If you paste in the following snip into a SSMS tab and run Format SQL, the single line comment will stay in place (as it should)
But, as soon as you add more statements, then running Format SQL will cause the comment to go to the next line. Is there a way to make that STOP?
This code...
Then becomes...
Thanks,
Jim