-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(lsp): multi deno.json resolver scopes #24206
Conversation
} | ||
spawn(async move { resolver.set_npm_reqs(&package_reqs).await }) | ||
.await | ||
.ok(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove the warn? It's sometimes useful to see.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I see it was moved into the resolver. Nvm.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Is it correct to say that with this PR I can remove my |
@felipecrs The purpose of |
Not really, that was exactly why I needed it. I had a project with both node.js and deno. This means Therefore, I still need Is this understanding correct? |
@felipecrs Yes. However, if you like you can delete the |
Perfect! I didn't have I guess this means that, for my use case, I can remove |
Follow up to #24206 which broke deno_std intellisense.
Follow up to #24206 which broke deno_std intellisense.
This has broken my setup:
I want to use the Where do I go from here? I can try a |
@char It's necessary to diverge from CLI behaviour when multiple scopes are involved because the editor doesn't have a concept of an entrypoint, for most usages it has to respect the nearest scope of each file. I'm not sure what to do in your case, there's no one for one substitute configuration, but it's an unusual case. |
Follow up to denoland#24206 which broke deno_std intellisense.
Closes denoland/vscode_deno#787.
Closes denoland/vscode_deno#938.
After this, remaining TODOs are: