title: How to configure WebStorm / PhpStorm project so that JS code intelligence works well for Node.js projects?
body: <p>In WebStorm / PhpStorm / IDEA, there are quite a lot of code intelligence feature for JavaScript built in. However, when developing a Node.js application, including everything from <code>node_modules</code> complicates matters with things like "Navigate to file" (I don't want the IDE to offer me tens of <code>package.json</code>s from <code>node_modules</code> folder, for example). But excluding the <code>node_modules</code> folder entirely has its own problems - there is no code completion etc.</p>
  
  <p>So what's the "right" way to approach this in WebStorm? Should I include only some of the files from <code>node_modules</code>? Or exclude everything from there and somehow use the concept of project or global libraries?</p>
  
  <p>Thanks.</p>