import suggestions not working as intended (vscode)
Hello, import suggestions (symbols not known to file) not working for me as intended on deno latest (vscode):
When symbol not known:

6 Replies
when import statement written manually it works:

deno jsonc:
Problem only happens with remote libs (jsr/npm), no problem with local files (.ts)
versions latest on both deno and vscode extension
up 🙏
I encounter the same issue. Additionally, it is quite challenging to import a new declaration, such as a type or class, from a remote package.
@alaa were you able to find a fix?
Yes, move to bun
After adding a package, did you use deno install? As far as I've seen, Deno doesn't blanket download everything listed in the import map until you either tell it to via deno install or until you use it somewhere in the code.
If you manually update a file with the import line using the mapped alias then it should cache the dependency and start offering import suggestions as you would expect.