- Install the Prettier extension
- Description: Code formatter using prettier
- Update your VSCode settings: Add or update your settings to format code automatically on save. Add the following to your
settings.json
file:
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
}
- Install the Error Lens extension
- Description: Improve highlighting of errors, warnings and other language diagnostics
- Install the ESLint extension
- Description: Integrates ESLint JavaScript into VS Code