Languages
[Edit]
EN

VS Code - format on save

0 points
Created by:
Dirask JS Member
3430

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: 

  1. run Visual Studio Code, 
  2. open Command Palette (Ctrl+Shift+P), 
  3. search for 'settings.json' (Preferences: Open Settings (JSON)),
  4. add the following: 
    "editor.formatOnSave": true
  5. save file. 
settings.json
settings.json
Native Advertising
­čÜÇ
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

ÔŁĄ´ŞĆ­čĺ╗ ­čÖé

Join