Closed theking2 closed 1 week ago
Does it do the same thing when you run it from the command line?
Hmm. I can try if you tell me how to do that....
The Output channel should show you the exact command the extension uses to format the code. It might also tell you if there was an error formatting, which is probably why it is clearing out the code.
Actually vscode and SQL don't seem to like each other. I've reinstalled sqlfluff but "MS SQL" seems to think the code is not valid at all.
ok, I'm giving up
After formatting with sqlfluff it turned
this
into this
what did I miss?