Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Prettier-Standard - JavaScript formatterNew to Visual Studio Code? Get it now.

Prettier-Standard - JavaScript formatter

numso

|
204,991 installs
| (11) | Free
VS Code plugin for prettier + standard
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Prettier formatter for Visual Studio Code

VS Code package to format your Javascript using Prettier and Standard. It uses prettier-standard under the hood. You can customize output by adding a .prettierrc file to your project.

Installation

Install through VS Code extensions. Search for Prettier-Standard - JavaScript formatter

Visual Studio Code Market Place: Prettier-Standard - JavaScript formatter

Can also be installed using

ext install prettier-standard-vscode

Usage

Using Command Palette

Open the command palette using Cmd+Shift+P on Mac or Ctrl+Shift+P on Windows and Linux. Then search for and select "Format Document".

You can format a part of your document by selecting the text you want to format, opening the command palette, and selecting "Format Selection".

Using Keyboard Shortcuts

The default vscode shortcut to format the current document is Shift+Alt+F.

Format On Save

Respects editor.formatOnSave in your vscode settings.

Contribute

This is my first Visual Studio Extension so I probably made some terrible choices. Feel free to open issues or PRs on the GitHub page!

Credit

This plugin started with a fork of esbenp's great plugin with cues taken from dtinth's atom plugin to apply standard to it.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft