vscode_deno
vscode_deno copied to clipboard
Workspace members do not appear in the import suggestions
Describe the bug
When using a Deno Workspace, workspace members do not appear in the import suggestions.
Additionally, it does not appear in the quick fix too. (And, this repro did not reproduce, but in other production projects, quick fix shows import suggestions using relative paths.)
To Reproduce
.
├── app
│ ├── deno.json
│ └── main.ts
├── deno.json
└── utils
├── deno.json
└── mod.ts
// .vscode/settings.json
{
"deno.enable": true
}
// app/deno.json
{}
// utils/deno.json
{
"name": "@internal/utils",
"exports": "./mod.ts"
}
// deno.json
{
"workspace": ["./app", "./utils"]
}
// app/main.ts
import { doSomething } from "" // not suggested
doSomething()
// utils/mod.ts
export function doSomething() {
console.log("Hello");
}
Expected behavior
Workspace members appear in the import suggestions.
Screenshots
Versions
vscode: 1.97.2 (Universal) deno: 2.2.0 extension: 3.43.3