Prettier formatter for Visual Studio CodeVS Code package to format your Javascript using Prettier and Standard. It uses prettier-standard under the hood. You can customize output by adding a InstallationInstall through VS Code extensions. Search for Visual Studio Code Market Place: Prettier-Standard - JavaScript formatter Can also be installed using
UsageUsing Command PaletteOpen 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 ShortcutsThe default vscode shortcut to format the current document is Shift+Alt+F. Format On SaveRespects ContributeThis is my first Visual Studio Extension so I probably made some terrible choices. Feel free to open issues or PRs on the GitHub page! CreditThis plugin started with a fork of esbenp's great plugin with cues taken from dtinth's atom plugin to apply standard to it. |