poor-mans-t-sql-formatter-vscode-extension
poor-mans-t-sql-formatter-vscode-extension copied to clipboard
Allow formatter to work on files language mode "Oracle-SQL and PLSQL"
I installed the Oracle support extension
It sets the language mode for new SQL scripts to "Oracle-SQL and PLSQL"
Unfortunately, this means that Poor Man's SQL Formatter doesn't recognize it (even though the file type is still .sql)
Please allow PMSF to also work on these languages.
Workaround: temporarily change the language mode to sql, format the document, then change the language mode back to "Oracle-SQL and PLSQL"
There's a setting for that
// If the programming language for the current Edit Window does not match one of these languages, then the formatter will request confirmation before formatting. Default expects SQL files or files with no detected/specified language (plaintext). Asterisk (*) to allow any language.
"poor-mans-t-sql-formatter.expectedLanguages": ["sql","plaintext"],