You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow "fuzzy" substring symbol search, similar to Go To File (CTRL+P) and Completion #2751
For Go To File, you can type something like foobar and it would be able to find foo_baz_bar.cpp. However for Go To Symbol, that's not possible. Some of our users noted that the experience is inconsistent. They are big fans of the Go To File substring search, and would love to have the same feature for symbol search
changed the title [-]Allow advanced substring symbol search, similar to Go To File (CTRL+P)[/-][+]Allow "fuzzy" substring symbol search, similar to Go To File (CTRL+P) and Completion[/+]on Nov 1, 2018
I don't think VS implements this either. I actually implemented this 8 months ago in response to #3416 (well, that was for completion instead of symbol search, but the code chang would be similar) , but after consulting the VS team I discovered that the addition of "*" wild cards to add the fuzziness was expected to have a major performance hit (for large databases), so I abandoned the change. However, I believe the PR change could be revived if we added an opt-in setting, which would allow users who really want the feature to get it (assuming they're okay with the performance...or maybe a separate "fuzzy go to symbol" command instead of a setting).
ppggff (@ppggff) Not yet. We're working on other features (clang-tidy integration, create definition from declaration, etc.). However, I think it'd be pretty quick for us to add an opt-in setting to enable it, and a few lines of code to implement (there's already a PR that implements this, but it was abandoned due to potential performance reduction).
Hi Sean McManus (@sean-mcmanus) , one more year again and any plan to add the opt-in setting?
In my opinion, this should be a high-priority feature
Activity
sean-mcmanus commentedon Oct 31, 2018
We already support substring search. Can you provide repro details where this is not working?
sherryyshi commentedon Nov 1, 2018
For Go To File, you can type something like
foobarand it would be able to findfoo_baz_bar.cpp. However for Go To Symbol, that's not possible. Some of our users noted that the experience is inconsistent. They are big fans of the Go To File substring search, and would love to have the same feature for symbol search[-]Allow substring symbol search[/-][+]Allow advanced substring symbol search, similar to Go To File (CTRL+P)[/+]bobbrow commentedon Nov 1, 2018
Sean McManus (@sean-mcmanus), Sherry Shi (@sherryyshi) is asking for "fuzzy" search (as we refer to it) like we have for completion, etc.
[-]Allow advanced substring symbol search, similar to Go To File (CTRL+P)[/-][+]Allow "fuzzy" substring symbol search, similar to Go To File (CTRL+P) and Completion[/+]StanBright commentedon Mar 10, 2019
Coming from Sublime, that would be a killer feature for me too.
sidhuhere commentedon Nov 29, 2019
This is a killer feature and I miss this very much coming to VS Code from Source Insight.
sean-mcmanus commentedon Dec 3, 2019
I don't think VS implements this either. I actually implemented this 8 months ago in response to #3416 (well, that was for completion instead of symbol search, but the code chang would be similar) , but after consulting the VS team I discovered that the addition of "*" wild cards to add the fuzziness was expected to have a major performance hit (for large databases), so I abandoned the change. However, I believe the PR change could be revived if we added an opt-in setting, which would allow users who really want the feature to get it (assuming they're okay with the performance...or maybe a separate "fuzzy go to symbol" command instead of a setting).
15 remaining items
Shaka0723 commentedon Mar 10, 2023
Hi Sean McManus (@sean-mcmanus) , one more year again and any plan to add the opt-in setting?
In my opinion, this should be a high-priority feature
gayanper commentedon Mar 10, 2023
Does this change solve this requirement microsoft/vscode#159377 ?
sean-mcmanus commentedon Mar 10, 2023
I've filed a feature request on VS at https://developercommunity.visualstudio.com/t/Add-C-fuzzy-symbol-search/10306966 -- if VS adds that feature then we should get that as well. I've mentioned the upvotes on this issue, but upvoting that VS issue may help as well.
Gayan Perera (@gayanper) I don't understand your PR.
Shaka0723 commentedon Sep 26, 2023
one more half year passed and any progress made?
I am being suffered on lack of this feauture.
Hope it can be merged asap
sean-mcmanus commentedon Sep 26, 2023
Shaka (@Shaka0723) No progress yet. It's currently the 10th most upvoted feature request. We're currently working on the 1st most upvoted feature request. See https://github.com/Microsoft/vscode-cpptools/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+-label%3Adebugger .
fearthecowboy commentedon Feb 13, 2024
A significant update to Go To Symbol has been published in the insiders build - see #11557