Skip to content

Allow Spacing Between Commands #887

Closed Answered by gimbo
jackHedaya asked this question in Q&A
Discussion options

You must be logged in to vote

Look for the sqltools.format setting; e.g. in my settings.json I have:

  "sqltools.format": {
    "language": "sql",
    "linesBetweenQueries": 3,
    "reservedWordCase": "upper"
  },

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

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gjsjohnmurray
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants