We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
create
Describe the bug When formatting a file with queries which contain create, the formatting removes spaces above said queries.
To Reproduce Using the default "preserve" setting for linesBetweenQueries.
"preserve"
linesBetweenQueries
Take and format the following file:
select * from foo; create table foobar (id INTEGER NOT NOT NULL PRIMARY KEY); select * from bar;
The result on my machine looks like this:
Expected behavior The formatting should respect the new lines between all queries.
Desktop (please complete the following information):
0.23.0
1.67.1
OS: Ubuntu 20.04.4 LTS on Windows 10 x86_64 Kernel: 5.10.102.1-microsoft-standard-WSL2
sqlite3 3.31.1 2020-01-27 19:55:54 3bfa9cc97da10598521b342961df8f5f68c7388fa117345eeb516eaa837balt1
The text was updated successfully, but these errors were encountered:
Does the advice at #887 (comment) about linesBetweenQueries help?
Sorry, something went wrong.
I imagine that would work, but I don't necessarily want line breaks between all queries. Really I just want to preserve what I have.
No branches or pull requests
Describe the bug
When formatting a file with queries which contain
create
, the formatting removes spaces above said queries.To Reproduce
Using the default
"preserve"
setting forlinesBetweenQueries
.Take and format the following file:
The result on my machine looks like this:
Expected behavior
The formatting should respect the new lines between all queries.
Desktop (please complete the following information):
0.23.0
1.67.1
OS: Ubuntu 20.04.4 LTS on Windows 10 x86_64 Kernel: 5.10.102.1-microsoft-standard-WSL2
)sqlite3 3.31.1 2020-01-27 19:55:54 3bfa9cc97da10598521b342961df8f5f68c7388fa117345eeb516eaa837balt1
The text was updated successfully, but these errors were encountered: