Node Auto Completion in WebStorm on OSX

2016-02-03

Quick article on how to add auto completion in Webstorm 11 for all the core Node libraries.

The problem

Without Node coding assistance, you will get warnings on all the Node.js core functions like require or __dirname.

Node Code Completion missing example

The solution

In webstorm 11 you need to enable the Node.js assistance:

Got to Preferences > Languages & Frameworks > Node.js and npm and click Enable under Code Assistance.

Enable Node.js code assistance

Go back to your code and the errors will be gone !