Answers for "vscode save with format"

3

on save format vs code

//In the setting.json.. check this

{
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "[javascript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  }
}
Posted by: Guest on September-22-2021
3

How do you format code on save in VS Code

"editor.formatOnSave": true
Posted by: Guest on November-19-2020
3

vscode autoindent on save

Use [Ctrl]+[Shift]+[p]
Type "Preferences"
Select "Preferences: Open User Settings"
Search for "format"
Change "Editor: Format On Save" or "Editor: Format On Paste".
Posted by: Guest on September-25-2020

Browse Popular Code Answers by Language