Answers for "vscode organize imporrts on save"

1

organize imports on save vscode

//Organize imports on save & delete unused imports (vscode)
//Add in settings.json:
  "editor.codeActionsOnSave": [
     "source.organizeImports",
  ],
Posted by: Guest on November-11-2020
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

Browse Popular Code Answers by Language