<p dir="auto">FWIK, Deno currently fetch dependencies only support download ts/js file(s) individually, it's not a good idea for middle or even large project dependencies fetch(hundreds of or even thounds of dependencies).<br>
So I think it's a good idea to support gzipped file through <code class="notranslate">deno fetch https://foo.gz</code> which contains the mod.ts file in the root and (or) git repo through <code class="notranslate">deno fetch https://foo.git</code> just like golang <code class="notranslate">go get</code></p>
<h3 dir="auto">test</h3>
<p dir="auto"><strong>Describe the bug</strong></p>
<p dir="auto">When using <strong>Go to references</strong>, the extension doesn't find references in files that are not opened in the editor.</p>
<p dir="auto"><strong>To Reproduce</strong></p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// a.ts
export const a = 0;"><pre class="notranslate"><span class="pl-c">// a.ts</span>
<span class="pl-k">export</span> <span class="pl-k">const</span> <span class="pl-s1">a</span> <span class="pl-c1">=</span> <span class="pl-c1">0</span><span class="pl-kos">;</span></pre></div>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// b.ts
import { a } from &quot;./a.ts&quot;;"><pre class="notranslate"><span class="pl-c">// b.ts</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">a</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"./a.ts"</span><span class="pl-kos">;</span></pre></div>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// c.ts
import { a } from &quot;./a.ts&quot;;"><pre class="notranslate"><span class="pl-c">// c.ts</span>
<span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">a</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"./a.ts"</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Open <code class="notranslate">a.ts</code> and <code class="notranslate">b.ts</code>, go to references of <code class="notranslate">a</code>. No references in <code class="notranslate">c.ts</code>.</p>
<p dir="auto"><strong>Expected behavior</strong></p>
<p dir="auto"><code class="notranslate">c.ts</code> should appear in the panel.<br>
This makes this feature useless if you have to open every file in your project to find references</p>
<p dir="auto"><strong>Screenshots</strong></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/52361520/123939794-d236df80-d998-11eb-9aa9-28149f6619cf.gif"><img src="https://user-images.githubusercontent.com/52361520/123939794-d236df80-d998-11eb-9aa9-28149f6619cf.gif" alt="reference" data-animated-image="" style="max-width: 100%;"></a></p>
<p dir="auto"><strong>Versions</strong></p>
<p dir="auto">vscode: 1.57.1 deno: 1.11.3 extension: 3.6.1</p>