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
- Download the .VSIX file from the latests release
- Install using
code --install-extension format-on-save-0.0.1.vsix
- Apply automatic formatting to your workspace by running the
Enable Format On Save
command in VS Code.