Allow Spacing Between Commands #887
-
|
How can I add spacing between commands such as It auto formats to: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Look for the That actually creates two blank lines between queries — I guess the setting is really "the number of linebreaks" so the default would be 1 which just puts in a single linebreak, giving the output you see. If you want a single blank line between queries, you want |
Beta Was this translation helpful? Give feedback.
-
|
Is there a way to allow blank lines within the same query, I have some long queries, and a blank line helps a lot with readability. But using the formatter, the blank lines are completely removed... They are in the same query so the above configuration does not work. |
Beta Was this translation helpful? Give feedback.
Look for the
sqltools.formatsetting; e.g. in mysettings.jsonI have:That actually creates two blank lines between queries — I guess the setting is really "the number of linebreaks" so the default would be 1 which just puts in a single linebreak, giving the output you see.
If you want a single blank line between queries, you want
"linesBetweenQueries": 2