This extension wraps js-beautify to format your Scarpet Script.
This project is modifying based on "Lonefy/vscode-JS-CSS-HTML-formatter" under MIT license, new code of this project is under gpl-v3 license
How To Use
open Context Menu and choose Format Code
CLI: Press F1, enter Format Code
CLI: Press F1,enter Formatter
Press F1, enter Formatter Config, open the config file:
Edit the file as your needs. This extension uses js-beautify internally, so you can edit the parameters which js-beautify can use.