Skip to content
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

Show results for "Go to symbol in workspace" incrementally #140298

Open
stefanhaller opened this issue Jan 7, 2022 · 1 comment
Open

Show results for "Go to symbol in workspace" incrementally #140298

stefanhaller opened this issue Jan 7, 2022 · 1 comment
Assignees
Labels
feature-request Request for new features or functionality workspace-symbols
Milestone

Comments

@stefanhaller
Copy link
Contributor

When having multiple language servers, it would be useful to show results for "Go to symbol in workspace" as soon as they are available instead of waiting for all language servers to be done providing theirs. This is similar to what was done for hover providers in #137714.

Why is this needed? I'm using both clangd and the python language server at the same time. When using "Go to symbol in workspace" to look up a C++ symbol, clangd provides results almost instantly. However, pylance takes forever to provide symbols (on the order of minutes, not seconds), which makes the feature basically unusable for looking up C++ symbols, unless I disable the python language server.

I do realize that this may have many of the same problems mentioned in the similar request for completion (see #107343 (comment)), so suggestions for other workarounds would be much appreciated.

@stefanhaller
Copy link
Contributor Author

Related to #105870.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality workspace-symbols
Projects
None yet
Development

No branches or pull requests

2 participants