vscode-sqltools
vscode-sqltools copied to clipboard
Setting formatLanguages to []. doesn't disable formatting
Description As explained in https://github.com/mtxr/vscode-sqltools/issues/116, setting formatLanguages to [] should disable formatting, but it doesn't
This was also mentioned in July on the issue https://github.com/mtxr/vscode-sqltools/issues/116#issuecomment-658196456
How to reproduce Steps to reproduce the behavior:
- Go to VS Code Settings UI
- Search for sqltools.formatLanguages
- Remove sql
- Create a SQL file with weird formatting
- Trigger formatting (for my case that's saving it because I have "Format on save" enabled
Expected behavior A clear and concise description of what you expected to happen.
Desktop (please complete the following information):
- SQLTools Version v0.23.0
- VSCode Version: 1.51.1
- OS: Windows
- Driver:
- [ ] PostgreSQL/Redshift
- [x] MySQL/MariaDB
- [ ] MSSQL/Azure
- [ ] SQLite
- [ ] Other? Which...
The same issue with Postgres. Could you please fix it?
Hello, I have the same issue, I would like to disable formatting of .sql files but this doesn't change the behavior. Can it be fixed?
Please make sure you restart VS Code after you set "sqltools.formatLanguages": [],