We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deno.land
deno.json
{ "imports": { "std:path": "https://deno.land/std@0.186.0/path/mod.ts" } }
mod.ts
const a = join(Deno.cwd(), "src")
VSCode gives several options & versions from https://deno.land/std The same applies to local files that are in the import map too
https://deno.land/std
Suggests std:path from the import map
std:path
npm
{ "imports": { "discordeno": "npm:@discordeno/bot" } }
const a: DiscordEmbed = {}
VSCode gives a long relative path to deno's npm cache (../[...]/Library/Caches/deno/[...]/[filename].js)
../[...]/Library/Caches/deno/[...]/[filename].js
Suggests discordeno (or npm:@discordeno/bot if its not in the import map)
discordeno
npm:@discordeno/bot
VSCode 1.78.2 Deno 1.33.2 Extension 3.18.0
The text was updated successfully, but these errors were encountered:
feat(lsp): support import maps in quick fix and auto-imports (#19692)
e8a866c
Closes denoland/vscode_deno#849 Closes #15330 Closes #10951 Closes #13623
Successfully merging a pull request may close this issue.
deno.land
or cached url importDescribe the bug
deno.json
mod.ts
VSCode gives several options & versions from
https://deno.land/std
The same applies to local files that are in the import map too
Expected behaviour
Suggests
std:path
from the import mapnpm
specifierDescribe the bug
deno.json
mod.ts
VSCode gives a long relative path to deno's npm cache (
../[...]/Library/Caches/deno/[...]/[filename].js
)Expected behaviour
Suggests
discordeno
(ornpm:@discordeno/bot
if its not in the import map)Screenshots
Versions
VSCode 1.78.2
Deno 1.33.2
Extension 3.18.0
The text was updated successfully, but these errors were encountered: