<p dir="auto">We have a lot of modules which a user might want to import, and it would be nice to show a list of these as a completion hint after <code class="notranslate">import {} from '</code><br>
Additionally, we have so many modules that walking the filesystem is not practical, and some of them are generated external module names, not files. So we would like to run a periodic indexing, and then somehow provide a list of these to the language services (eg. an RPC, or a file we stage on local disk, etc.)</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mprobst/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mprobst">@mprobst</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rkirov/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rkirov">@rkirov</a></p>
<p dir="auto">Hi,</p>
<p dir="auto">Visual Studio (2013 Ultimate) provides intellisense for the src attribute for script elements, by reading the file system and displaying available files or folders.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/d806f3a8fc96af8601bdd892a447e3da24eb8c05ac2760edbfd31ee39bf1419e/687474703a2f2f7777772e696d61676575726c686f73742e636f6d2f696d616765732f69676934657964677130347037346c6c707537652e706e67"><img src="https://camo.githubusercontent.com/d806f3a8fc96af8601bdd892a447e3da24eb8c05ac2760edbfd31ee39bf1419e/687474703a2f2f7777772e696d61676575726c686f73742e636f6d2f696d616765732f69676934657964677130347037346c6c707537652e706e67" alt="Image" data-canonical-src="http://www.imageurlhost.com/images/igi4eydgq04p74llpu7e.png" style="max-width: 100%;"></a></p>
<p dir="auto">It will be quite useful if similar functionality can be provided for <code class="notranslate">&lt;reference&gt;</code> and import statements:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
 &lt;reference path=&quot;foo/    &lt;--- here

import foo = require('foo/   &lt;--- and here
"><pre class="notranslate"> <span class="pl-c1">&lt;</span><span class="pl-s1">reference</span> <span class="pl-s1">path</span><span class="pl-c1">=</span>"foo/    &lt;--- here

import foo = require('foo/   &lt;--- and here</pre></div>