vscode_deno
vscode_deno copied to clipboard
relative path import suggestions does not exclude `DENO_DIR`
Describe the bug
The deno LSP import suggestion tries to relatively import cache files in DENO_DIR
(~/.cache/deno
) such as ../../.cache/deno/npm/registry.npmjs.org/@octokit/types/12.6.0/dist-types/OctokitResponse.d.ts
.
To Reproduce
This is really hard to reproduce correctly, but happens frequently.
- cache
@octokit/types
. - try to import
Signal
type from project. - relative paths suggestions creep into
DENO_DIR
and suggest files from cache.
Expected behavior
import suggestions should exclude relative DENO_DIR
.
Screenshots
Versions
deno 1.42.1+f76c38b (canary, x86_64-unknown-linux-gnu) v8 12.3.219.9 typescript 5.4.3 deno extension v3.36.0