Open bowdi opened 10 months ago
Am I correct in guessing that you have set the language
property of the sqltools.format
settings object to "pl/sql"
? I can reproduce your example with that setting but not when that property isn't defined.
Yes correct!
Workaround is to disable formatting by setting "sqltools.formatLanguages": [],
Please make sure you restart VS Code after you do this.
Describe the bug When formatting sql files for postgres I've noticed some bugs that cause failures.
format(...)
function and dollar quoted strings, format specifiers are separated by a space.SELECT table_name.*
syntax for all columns from a specific table it get's seperated by a space.To Reproduce Format the following:
and the output will be:
Expected behaviour
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):