JolanJ
Denoβ€’3mo agoβ€’
6 replies
Jolan

LSP auto-import in workspaces

What ?


The Deno LSP seems to partially work in a workspace context.
I've made a GitHub repository that can help you reproduce the issue: https://github.com/aburii/hono-backend

Basically you want to have auto imports resolving to your
deno.json
's name property but it struggles to do so. Sometimes it will, sometimes it won't (mostly won't).
-> go to: image 1

I've notficed that the auto-fix feature does not resolve aswell (might be a all-in-one issue).
-> go to: image 2 & 3

Anyone expieriencing the same ? I've noticed some issues on GitHub that are now closed but don't bring any clear solutions.

Which versions am I on ?

Deno : deno 2.5.4
VSCode plugin : denoland.vscode-deno 3.46.1
TypeScript : 5.9.2
image.png
image.png
image.png
GitHub
Contribute to aburii/hono-backend development by creating an account on GitHub.
GitHub - aburii/hono-backend
Was this page helpful?