title: How to use triple-slash references for libraries in Visual Studio Code?
body: <p>I'm trying to get Visual Studio Code 0.3.0 to recognize my JavaScript libraries. However, intellisense is complaining. Here's a repro:</p>
  
  <ol>
  <li>Open Visual Studio Code</li>
  <li>File > Open Folder (select a freshly created empty folder)</li>
  <li>Add a file <code>mytest.js</code> to that folder</li>
  <li>Download <code>jquery-2.1.4.js</code> (full/uncompressed) to that folder (appears in the side bar)</li>
  <li><p>Enter this in <code>mytest.js</code>:</p>
  
  <pre><code>var x = jQuery('body');
  </code></pre></li>
  </ol>
  
  <p>Result: squiggly green lines under <code>jQuery</code>. Note that jQuery is just an example, I've had the same issue with libraries such as KnockoutJS and QUnit, etc.</p>
  
  <p>I've tried adding a triple-slash reference like so:</p>
  
  <pre><code>/// &lt;reference path="jquery-2.1.4.js" /&gt;
  </code></pre>
  
  <p>Heck, it even autocompleted the <code>path</code> for me. I've tried varying the path a bit, e.g. a <code>./</code> at the start, but the result is thus far invariably:</p>
  
  <p><img src="https://i.stack.imgur.com/4gJ3t.png" alt="screenshot of end product with squiggly lines"></p>
  
  <p>Hovering <code>jQuery</code> gives a popup saying:</p>
  
  <blockquote>
    <p>Cannot find name 'jQuery'.<br>
    <code>any</code></p>
  </blockquote>
  
  <p>Still squiggly green lines. I <em>hate</em> squiggly lines though. How can I get rid of them?</p>