Best VS Code Extensions for Developers
Short answer: start with a formatter (Prettier), a linter (ESLint), Git tools (GitLens) and a language pack for the languages you use. Add more only when a real problem calls for it, because every extension costs memory and startup time.
Everyday productivity
| Extension | What it does |
|---|---|
| Prettier | Formats code automatically so style arguments disappear |
| ESLint | Flags bugs and bad patterns in JavaScript and TypeScript as you type |
| GitLens | Shows who changed each line and when, plus rich history views |
| Error Lens | Displays errors and warnings inline instead of only on hover |
| Code Spell Checker | Catches typos in code, comments and docs |
| Path Intellisense | Autocompletes file paths in imports |
Web development
- Live Server: serves your page locally and reloads on save.
- Auto Rename Tag: renaming an opening HTML tag updates the closing one.
- Tailwind CSS IntelliSense: class suggestions and previews for Tailwind projects.
- CSS Peek or similar: jump from a class in HTML to its CSS rule.
- ES7+ React snippets: shortcuts for components and hooks.
Backend, APIs and data
- Python (Microsoft): IntelliSense, linting, debugging and notebooks for Python.
- Thunder Client or REST Client: send API requests from inside the editor.
- Docker: build, run and inspect containers.
- MongoDB for VS Code: browse databases and run queries.
- SQL tools: connect to databases and run queries from the editor.
Appearance and comfort
- Material Icon Theme: clearer file icons in the Explorer.
- A good color theme: choose one with high contrast to reduce eye strain.
- Bracket pair colorization is now built in; turn it on in settings instead of installing an extension.
Documentation and writing
- Markdown All in One: shortcuts, table of contents and preview.
- markdownlint: consistent Markdown style.
A minimal starter set
| If you do... | Install |
|---|---|
| JavaScript or TypeScript | Prettier, ESLint, Error Lens, GitLens |
| Python | Python, Pylance, a formatter such as Black |
| Static websites | Live Server, Auto Rename Tag, Prettier |
| Full-stack with containers | Docker, GitLens, Thunder Client |
How to install and manage extensions
- Open the Extensions view with Ctrl+Shift+X.
- Search by name and click Install.
- Read the description and settings; many extensions need a line in
settings.json. - Use Disable (Workspace) to turn an extension off for one project only.
Set Prettier as the default formatter and format on save with:
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
}
More configuration ideas are in VS Code settings and customization.
Install extensions safely
- Check the publisher name and the verified badge.
- Look at install counts, reviews and the date of the last update.
- Be careful with extensions that ask for unusual access. They run with your user permissions.
- Remove extensions you no longer use.
If VS Code feels slow
Open the Command Palette and run Developer: Show Running Extensions to see which ones take startup time, then disable the heaviest. Profiles let you keep a small set for each type of project.
Frequently asked questions
Do too many extensions slow down VS Code?
Yes, they can increase startup time and memory use. Disable or uninstall extensions you do not use, and use the built-in running extensions view to find slow ones.
How do I use different extensions for different projects?
Use VS Code profiles or workspace recommendations. A profile keeps its own extension set, and a .vscode/extensions.json file suggests extensions to teammates.
Next steps
Speed up further with the keyboard shortcuts and snippets. New to the editor? Read what VS Code is.
