Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>JavaScript Standard FormatNew to Visual Studio Code? Get it now.
JavaScript Standard Format

JavaScript Standard Format

Sam Chen

|
107,205 installs
| (19) | Free
Converts your code into Standard JavaScript Format
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VS Code JavaScript Standard Format

Notice: Since standard-format might be deprecated later. Please consider using vscode-standardjs now. We just forked a new one from vscode-eslint.

This extension adds Standard format function to JavaScript.

Please only use it when you are ok with JavaScript Standard Style.

Changes

0.0.10 (2016-07-26)

  1. update standard-format to 2.2.2, with better support of jsx format - thanks @thewei

0.0.9 (2016-07-08)

  1. add standardFormat.formatOnSave configuration.

0.0.8 (2016-03-13)

  1. Optimized code
  2. Fixed readme

0.0.7 (2016-03-12)

  1. Added keybindings notes.

0.0.6 (2016-03-12)

  1. Added a new command to workaround the problem with the latest Visual Studio Code 0.10.10

Installation

  1. Press F1 to bring up Command Palette
  2. Search for Extensions: Install Extension and select the command, VS Code would load all available extensions Extensions: Install Extension
  3. Input JavaScript Standard Format, VS Code will filter the extension out, click and install it search extension

Usage

  1. Press F1 to bring up Command Palette
  2. Search for Format code with standard-format and click it
  3. It will format the whole document

You can also format only those you selects.

Keybinding

You can also configurate keybinding in keybindings.json, for example:

[
  {"key": "shift+cmd+f", "command": "format.standard",
  "when": "editorTextFocus"}
]

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft