-
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
lsp: include all modules in language server scope for a enabled folder automatically #11190
Comments
Current we do not analyse files that aren't dependencies of opened files that are unopened. For An enhancement which might be worth considering is allowing the roots to be specified in the config. Which means that we would always include it and its dependencies irrespective of what files were open. |
In my opinion the whole workspace should be scanned, at least it should be an option. (I created an issue in the vscode extension repo, which is closed as a duplicate. I would implement this functionality in the extension, built on top of the facilities which are provided by the lsp. The lsp should support only the discovery of file dependencies, to avoid duplicate searches from the extension) |
In my opinion this is a showstopper for serious development using Deno. One has to either consult plain old editor search, or remember to open all files including the symbol, which is impossible for any reasonably large project, or a (open source) project you are not familiar with. |
Just mentioning that this (and related issues around Go to references and auto-import) is still one of the bigger holdbacks from using Deno in a serious project |
Discussed this with @dsherret this week. We have an idea how to fix this problem. We'll update the issue with description of necessary steps in a couple days. |
Partially related to #17663 which intends to add a |
Closes denoland/vscode_deno#797 Closes #11190 Closes denoland/vscode_deno#811 Closes denoland/vscode_deno#761 Closes denoland/vscode_deno#585 Closes denoland/vscode_deno#561 Closes denoland/vscode_deno#410
test
Describe the bug
When using Go to references, the extension doesn't find references in files that are not opened in the editor.
To Reproduce
Open
a.ts
andb.ts
, go to references ofa
. No references inc.ts
.Expected behavior
c.ts
should appear in the panel.This makes this feature useless if you have to open every file in your project to find references
Screenshots
Versions
vscode: 1.57.1 deno: 1.11.3 extension: 3.6.1
The text was updated successfully, but these errors were encountered: