LSP can't resolve import_maps in workspaces when using --unstable-workspaces
igl opened this issue · 3 comments
igl commented
Versions:
- Deno 1.39.1
- vscode_deno 3.31.0
Description:
When using vscode with the latest vscode_deno extension, the LSP can not resolve my import_map defined in the workspaces individual deno.json files.
The Editor will show: Relative import path "std/uuid/mod.ts" not prefixed with / or ./ or ../deno(import-prefix-missing)
Executing the code using deno run -A --unstable-workspaces src/api/main.ts
works as intended.
Code for Repro: https://github.com/igl/deno-workspace-playground/tree/lsp-bug
bartlomieju commented
@nayeemrmn is this something you could look at?
Hajime-san commented
The --unstable-workspaces
flag removed, isn’t it?
It's my misunderstanding, it removed only flag, not feature.
igl commented
Just tested in 1.45.1 and it works! :D