
This will take the Node.js version that is installed on your computer and specified as a Node interpreter in Preferences, and use its sources as a library for coding assistance inside WebStorm.įor this Node.js Core library we recommend that you specify the usage scope – the scope of your project where you use Node.js and want to have Node.js-specific coding assistance. Press Alt+Enter on the highlighted usage of one of the Node.js core modules in the code and then press Enter. To enable code assistance for Node.js core APIs (and that means you’ll get smart code completion, parameter info and navigation to source code), the only thing you need to do is go to Preferences | Languages & Frameworks | Node.js and npm and check Coding assistance for Node.js.Īn even quicker way to do the same is to use the Enable Node.js Core library quick-fix. Configuring coding assistance for Node.js In WebStorm 11 it’s now easier to start working with Node.js projects.
