<p dir="auto"><em>From @amb-it-ion on January 5, 2016 14:42</em></p>
<p dir="auto">I am not sure why I could not find any mention of this: I am really missing a feature to autocomplete on missing classes, e.g. when using Http from angular2/http, and given that angular2 is on the node_modules default path (or inside my tsconfig files configuration) I would expect the autocompletion to pick this definition up and add the corresponding import statement.</p>
<p dir="auto"><em>Copied from original issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="124979555" data-permission-text="Title is private" data-url="https://github.com/microsoft/TypeScript-Sublime-Plugin/issues/425" data-hovercard-type="issue" data-hovercard-url="/microsoft/TypeScript-Sublime-Plugin/issues/425/hovercard" href="https://github.com/microsoft/TypeScript-Sublime-Plugin/issues/425">microsoft/TypeScript-Sublime-Plugin#425</a></em></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>