This extension adds semistandard format function to JS files.
Please only use it when you are ok with standardjs, but still want your semi-colons.
Available on the VS Code Marketplace.
- Updated
semistandard
to 3.0.0
- Optimized code
- Fixed readme
- Added keybindings notes.
- Added a new command to workaround the problem with the latest Visual Studio Code 0.10.10
Use via the command pallette or add keybinding as shown below.
You can also configurate keybinding in keybindings.json
, for example:
[
{
"key": "shift+cmd+f",
"command": "format.semistandard",
"when": "editorTextFocus"
}
]
or
[
{
"key": "shift+alt+f",
"command": "format.semistandard",
"when": "editorTextFocus && editorLangId == 'javascript'"
}
]
MIT
Major thanks to the original author of semistandard