This extension adds Standard format function to JavaScript.
Please only use it when you are ok with JavaScript Standard Style.
- Optimized code
- Fixed readme
- Added keybindings notes.
- Added a new command to workaround the problem with the latest Visual Studio Code 0.10.10
- Press
F1
to bring up Command Palette - Search for
Extensions: Install Extension
and select the command, VS Code would load all available extensions - Input
JavaScript Standard Format
, VS Code will filter the extension out, click and install it
- Press
F1
to bring up Command Palette - Search for
Format code with standard-format
and click it - It will format the whole document
You can also format only those you selects.
You can also configurate keybinding in keybindings.json
, for example:
[
{"key": "shift+cmd+f", "command": "format.standard",
"when": "editorTextFocus"}
]
MIT