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
-- comment 111 SELECT * from tb1; -- comment 222 SELECT * from tb2;
Formatting Request:
{ "jsonrpc": "2.0", "method": "textDocument/formatting", "params": { "textDocument": { "uri": "file:///workspace/mysql.sql" }, "options": { "tabSize": 4, "insertSpaces": true } }, "id": 1703824210 }
Original code:
lsp-server result:
{ "id": 1703824210, "result": [ { "range": { "start": { "line": 0, "character": 14 }, "end": { "line": 3, "character": 18 } }, "newText": "SELECT\n *\nFROM\n tb1;SELECT\n *\n FROM\n tb2;" } ], "jsonrpc": "2.0" }
Formatted code:
Problem:
SELECT
The text was updated successfully, but these errors were encountered:
@lighttiger2505 from my understanding, sqls does not support multiple SQL statements. right?
Sorry, something went wrong.
Even one statement will not work(Comment will be removed after formatting):
-- comment 111 SELECT * from tb1;
addressed in #123
fixed in #123
No branches or pull requests
Formatting Request:
Original code:
lsp-server result:
Formatted code:
Problem:
SELECT
is on wrong line.The text was updated successfully, but these errors were encountered: