denoland / vscode_deno

Visual Studio Code plugin for Deno
https://marketplace.visualstudio.com/items?itemName=denoland.vscode-deno
MIT License
1.5k stars 146 forks source link

Import auto completion not working with import maps #1176

Closed Abdullah-Azbah closed 1 month ago

Abdullah-Azbah commented 1 month ago

Describe the bug I need to set up an import map for my project. the import map that I would like to use is something like this:

{
    "imports": {
        "#app/": "./",
    }
}

and while this does work for running the application, I don't get any path suggestion/auto-completion when I try to import modules.

To Reproduce

  1. fresh install Deno , VS Code , Deno Extension
  2. init a new project
  3. add the import map to deno.json from the code snippet above.

Expected behavior I should get path suggestion/auto-completion

Screenshots

image If applicable, add screenshots to help explain your problem.

Versions

vscode: 1.94.2 deno: 2.0.0 extension: 3.41.1