title: Exclude folder from indexing in PhpStorm / WebStorm
body: <p>Using PhpStorm 2017.3 to dev a node project; there are certain directories that I wish to exclude from indexing and auto-complete suggestions. I've seen elsewhere directions that I followed but still no dice. In the image below for example, the directory <code>rxjs/add</code> is one of them. </p>
  
  <p><a href="https://i.stack.imgur.com/gp7TA.png" rel="noreferrer"><img src="https://i.stack.imgur.com/gp7TA.png" alt="enter image description here"></a></p>
  
  <p>On the left side of the image, you can see that in the Project tree view, the directory is not excluded; I get auto-complete suggestions from its contents. However when I go to <code>Settings &gt; Directories</code>, the same folder (see the right side of the image) is already listed as excluded. Not sure what to do. This is a <code>node_modules/</code> directory for the <code>rxjs 5.5</code> package.</p>
  
  <p><strong>The problem I'm actually trying to solve:</strong> this library has multiple functions with the same name from different files. So when I use a function and the IDE tries to automatically add the ES6 import statement, it shows me multiple options and every time I have to carefully read the file paths to select the correct import. Because the correct import always comes from the same two directories, I'd like to tell the IDE to stop looking into the others.</p>