title: Webstorm 11 - no autocompletion on es6 import statements vs node require
body: <p>Is it possible to get auto completion using es6 imports for nodejs modules in webstorm?
  I see all these projects converting to es6 but I wouldn't be sure why if it needs to be transpiled anyway and you lose autocompletion on non es6 sources...</p>
  
  <p>I've ran into <a href="https://devnet.jetbrains.com/thread/465869;jsessionid=CE3A05054FE18FFCE741C0E579A00CB9" rel="nofollow noreferrer">this</a> thread which seemed to be one of the only other people I've been able to find having the same issue but for webstorm 10...</p>
  
  <p>Possibly related:</p>
  
  <p><a href="https://youtrack.jetbrains.com/issue/WEB-15372" rel="nofollow noreferrer">https://youtrack.jetbrains.com/issue/WEB-15372</a></p>
  
  <p><a href="https://youtrack.jetbrains.com/issue/WEB-15384" rel="nofollow noreferrer">https://youtrack.jetbrains.com/issue/WEB-15384</a></p>
  
  <p>Ended up opening an issue hopefully I can get an answer from the devs on whether this is intended or...
  <a href="https://youtrack.jetbrains.com/issue/WEB-18989" rel="nofollow noreferrer">https://youtrack.jetbrains.com/issue/WEB-18989</a></p>
  
  <h2>import with "only type base completion" enabled (useless)</h2>
  
  <p><a href="https://i.stack.imgur.com/dp2tE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dp2tE.png" alt="import with &quot;only type base completion&quot; enabled"></a></p>
  
  <h2>require with "only type base completion" enabled (helpful)</h2>
  
  <p><a href="https://i.stack.imgur.com/WeXiF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WeXiF.png" alt="require with &quot;only type base completion&quot; enabled"></a></p>
  
  <h2>import with with "only type base completion" disabled ("several definitions" ... useless)</h2>
  
  <p><a href="https://i.stack.imgur.com/Y90bn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Y90bn.png" alt="import with with &quot;only type base completion&quot; disabled"></a></p>
  
  <h2>goto declaration -> gulp file (not working, obviously)</h2>
  
  <p>only works for <code>import</code> if you select the <code>from 'gulp'</code> part of your import statement first, otherwise it has no clue what you want</p>
  
  <p><a href="https://i.stack.imgur.com/trQ8C.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/trQ8C.png" alt="goto declaration -&gt; gulp file (both require and import)"></a></p>
  
  <p><a href="http://imgur.com/a/CG6OQ" rel="nofollow noreferrer">screenshot album</a></p>