


The Markdownlint extension can help you make sure your markdown syntax is in good form! I prefer to write README’s and other documentation in markdown format. Good code and good documentation go hand-in-hand. The Path Intellisense extension adds autocomplete support for file paths and names, reducing typing as well as the introduction of bugs related to wrong paths. The DotENV extension for VS Code adds convenient syntax highlighting when editing a. And, one of the most popular modules for managing environment variables is dotenv. It’s quite common to configure Node.js applications using environment variables. For other file types, such as JavaScript, Vue, and JSX, Auto Close Tag will save you some typing! More recent versions of VS Code automatically create closing tags when you are working in an HTML or XML file. Another great feature is there are dictionaries available for Spanish, French, German, Russian, and a number of other languages. Well, those days are over with Code Spell Checker! One nice thing is the extension understands camelCase, PascalCase, snake_case, and more. Misspelled code, as long as it’s consistently misspelled, works fine, but mistakes can still be frustrating or embarrassing.

I don’t know about you, but it really bugs me when I discover I’ve misspelled function names, variables, comments, or anything else in my code. When I initialize a new Node.js project folder, the first thing I install from the terminal is ESLint. The npm Intellisense extension introduces autocomplete behavior when you use require() to import modules into your code. The npm extension provides two features: running npm scripts defined in the package.json in the editor and validating the packages listed in the package.json. Bracket Pair Colorizer 2 colorizes matching brackets, making it easier to visually see which opening and closing brackets, braces, or parentheses belong to each other. Unfortunately, sometimes it is unavoidable. I try to keep my code as simple as possible and not nest too many things. Here are my top picks for Visual Studio Code extensions for Node.js developers. Another way is to read personal opinion posts like this one. One way is to look at an extensions average rating and the number of downloads to gauge its popularity. However, there are thousands of extensions available! How do you know which ones are good to use? The primary reasons I use VS Code are its great support for debugging JavaScript and Node.js code, and how easy it is to customize with free extensions available in Visual Studio Marketplace. According to the 2019 Stack Overflow Developer Survey, VS Code is dominating. I am amazed at the adoption of Visual Studio Code by developers from all platforms and languages.
