11
I am using WebStorm 5.0.4 to develop a node.js app.
I installed several node modules globally using
npm install -g module-nameand linked them into the project using
npm link module-name
Autocompletion does not work for any of the npm installed modules. It only works for core modules (e.g. http or path).
Furthermore, WebStorm gives a warning "Unresolved function or method xyz" for any of the functions I call from npm installed modules.
How do I make WebStorm autocomplete and generally become aware of the installed modules that I require?