As of September 2016 (VSCode 1.6), this is now officially supported.
Add the following to your settings.json
file:
"editor.formatOnSave": true
More Related Contents:
- How do I collapse sections of code in Visual Studio Code for Windows?
- How can I switch word wrap on and off in Visual Studio Code?
- Multiline editing in Visual Studio Code
- Why are there grey blocks of color on the VS Code editor window?
- VS Code – how to rollback extension/install specific extension version
- How can I install vscode-server in linux offline [duplicate]
- How can you create multiple cursors in Visual Studio Code
- Should I commit the .vscode folder to source control?
- How to change environment’s font size?
- Multiline regular expression search in Visual Studio Code
- How to reset intellisense in VS Code?
- How do I see a bin file in a hex editor in Visual Studio Code?
- How do I remove inline parameter hints in VSCode?
- Prevent autocomplete in Visual Studio Code
- How to exclude file extensions and languages from “format on save” in VSCode?
- Select all occurrences of selected word in VSCode
- How to add more indentation in the Visual Studio code explorer file tree structure?
- How to associate a file extension with a certain language in VS Code
- Visual Studio Code’s recent update is disrupting autocompletion
- How to restore the menu bar in Visual Studio Code
- Is there a way to turn on ES6/ES7 syntax support in vscode?
- Where can I find a list of all possible keys for tm-themes for syntax highlighting?
- Code-runner configuration for running multiple cpp classes in vscode
- Change highlight text color in Visual Studio Code
- How can I disable GPU rendering in Visual Studio Code
- How to make vscode not wait for finishing a preLaunchTask?
- How to change indent guide line color between brackets in VSCODE?
- How to unhide/show the ‘Activity Bar’ on Visual Studio Code?
- Can I automatically start a task when a folder is opened?
- Open multiple Projects/Folders in Visual Studio Code