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
Line comments with -- instead of /* */ cancel further formatting
After applying sql-formatter on the following query
sql-formatter
select asdf, -- some comment qwer, qwer2 from table1
we obtain
SELECT asdf -- some comment qwer, qwer2 from table1;
SELECT asdf -- some comment qwer, qwer2 FROM table1;
The text was updated successfully, but these errors were encountered:
PabloRMira
Successfully merging a pull request may close this issue.
Describe the bug
Line comments with -- instead of /* */ cancel further formatting
To Reproduce
After applying
sql-formatter
on the following querywe obtain
Expected behavior
The text was updated successfully, but these errors were encountered: