Node.js useful tips on coding in Visual Studio Code (VS Code)
Categories :
Steps to use VS Code to develop Node.js application:
- Install Node.js
- https://nodejs.org/
- Install Visual Studio Code (VS Code)
- https://code.visualstudio.com/
- Create a Project in VS Code
- Install “Node.js” Extension
- Search Node.js in Extension
- Install:
- ESLint
- SonarLint
- JavaScript code snippets
- Nodejs Snippet
- npm Intellisense
- Create Node.js File
- Create a ‘app.js’ file
- Write Node.js Code
- Write the code in app.js file
- Run the Code
- Open VSCode Terminal
- node app.js