In this article, we would like to show you how to enable automatic text formatting when you save a file in Visual Studio Code.
Do following steps:
- run Visual Studio Code,
- open Command Palette (Ctrl+Shift+P),
- search for 'settings.json' (Preferences: Open Settings (JSON)),
- add the following:
- save file.