Visual Studio Code is undoubtedly the most popular lightweight code editor today. It does borrow heavily from other popular code editors, mostly Sublime Text and Atom. However, its success mainly comes from its ability to provide better performance and stability. In addition, it also provides much needed features like IntelliSense, which were only available in full-sized IDEs like Eclipse or Visual Studio 2017.
The power of VS Code no doubt comes from the marketplace. Thanks to the wonderful open-source community, the editor is now capable of supporting almost every programming language, framework and development technology. Support for a library or framework comes in various ways, which mainly includes snippets, syntax highlighting, Emmet and IntelliSense features for that specific technology.
VS Code Extensions by Category
DotENV: syntax highlighting for .env files. Handy if you’re working with Node.
ESLint: this extension integrates ESLint into VS Code. It’s the most popular linter extension, with over 6.7 million installs to date. Rules are configured in .eslintrc.json.
JSHint: a code checker extension for JSHint. Uses .jshintrcfile at the root of your project for configuration.
JSLint: linter extension for JSLint.
npm: uses package.jsonto validate installed packages. Ensures that the installed packages have the correct version numbers, highlights installed packages missing from package.json, and packages that haven’t been installed.
Path IntelliSense: it’s not really Node related, but you definitely need IntelliSense for local files and this extension will autocomplete filenames.
Node exec: allows you to execute the current file or your selected code with Node.js.
View Node Package: quickly view a Node package source with this extension, which allows you to open a Node package repository/documentation straight from VS Code.
Node Readme: quickly open npm package documentation.
Search node_modules: this extension allows you to search the node_modules folder, which is usually excluded from standard search.
Import Cost: displays size of an imported package.