/format-on-save

VS Code extension for enabling automatic formatting in a workspace

Primary LanguageTypeScript

Format On Save

This extension provides a command that enables the Format On Save functionality for a workspace. It also creates a .prettierrc.yml file for the Prettier extension, so that it would apply some basic rules.

Installing

  1. Download the .VSIX file from the latests release
  2. Install using
code --install-extension format-on-save-0.0.1.vsix
  1. Apply automatic formatting to your workspace by running the Enable Format On Save command in VS Code.