-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Quick access: workspace symbols #93645
Comments
@bpasero Is that a new feature? It might raise some eyebrows because there have been asks to support the same for go-to-symbol and reference search but keep saying that it is the responsibility of the underlying language and its project system |
@jrieken yes new, and yes agree this needs to be done on the LSP side of things. I think C++ for example is already working on supporting this. Refs: #46718 (comment) |
Here is the one from C++: microsoft/vscode-cpptools#5099 |
I'd say this is questionable because it also applies to other navigation feature. And also, why don't we pass this to the extension when making the request. This sounds wasteful, e.g search in node_modules so that we later drop all results. |
@jrieken if you can point me to where I can pass this on to extensions via API then I can add it. I do not see such support in But I am easy to remove this support until we figured out the better solution via extension API. |
Yeah, it would require new API and all of that. Tho, I still have trouble understanding the use-case, shouldn't I exclude folder from my project config if I don't want to see them? You are still getting compile errors and navigation results for those resources |
I think the support for filtering via |
Given this reply #46718 (comment) I think that it would be better to hold off for now |
Refs: #69955
Complexity: 2
Quick open is now using the quick input widget that leverages our new tree widget. All quick open providers have been rewritten from scratch.
All of the existing commands for driving quick open have been preserved. Everything should work as before with some additional features as noted in the test plan.
Note: configure
"workbench.quickOpen.closeOnFocusLost": false
to make testing easier by keeping quick open opened even if you navigate somewhere else.#
in quick open followed by a search string (note: at least for typescript this requires a typescript file to be opened in the background of the project you want to search in)foo bar
to find all symbols that havefoo
in their label andbar
in their description)files.exclude
orsearch.exclude
in the form of**/pattern/**
and verify that symbols that have this pattern as their container do not appear (e.g.**/node_modules/**
to exclude all results from that folder)The text was updated successfully, but these errors were encountered: