SQL Formatter is an extension for formatting of SQL files using NodeJS component.
In order for the extension to work correctly, it is necessary to have NodeJS installed, since one component will be used, being sql-formatter.
Performs SQL Formatter to format your code using NodeJS component.
First open the Command Pallete (Win: Ctrl+Shift+P / Mac: Cmd+Shift+p) and type Format, then just select the command you want.
- Format Document
- Format Document (Win: Shift+Alt+F / Mac: Shift+Option+F)
You need to have NodeJS because the SQL Formatter component is used as extension dependencies.
- SQL Formatter (https://github.com/TeamSQL/sql-formatter)
First version of the extension, no important note at the moment (")(^_^)(").
If you have ideas for implementations and improvements please contact me at cymon@studiowoz.com.br or skype cymonbr.
Also follow the evolution of the extension in github.
AndyMc47 - (https://github.com/AndyMc47)
- Fixed problem of not formatting multiple files
MIT