Skip to content

Allow "fuzzy" substring symbol search, similar to Go To File (CTRL+P) and Completion #2751

Closed

Description

Is it possible to support substring searching in Symbol Search, just like the way the search in Go to File (CTRL+P) works today?

Activity

  1. sean-mcmanus commented on Oct 31, 2018

    @sean-mcmanus
    Contributor

    We already support substring search. Can you provide repro details where this is not working?

  2. sherryyshi commented on Nov 1, 2018

    @sherryyshi
    ContributorAuthor

    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

  3. changed the title [-]Allow substring symbol search[/-] [+]Allow advanced substring symbol search, similar to Go To File (CTRL+P)[/+] on Nov 1, 2018
  4. bobbrow commented on Nov 1, 2018

    @bobbrow
    Contributor

    Sean McManus (@sean-mcmanus), Sherry Shi (@sherryyshi) is asking for "fuzzy" search (as we refer to it) like we have for completion, etc.

  5. 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
  6. StanBright commented on Mar 10, 2019

    @StanBright

    Coming from Sublime, that would be a killer feature for me too.

  7. sidhuhere commented on Nov 29, 2019

    @sidhuhere

    This is a killer feature and I miss this very much coming to VS Code from Source Insight.

  8. sean-mcmanus commented on Dec 3, 2019

    @sean-mcmanus
    Contributor

    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).

  9. 15 remaining items

  10. Shaka0723 commented on Mar 10, 2023

    @Shaka0723

    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

  11. gayanper commented on Mar 10, 2023

    @gayanper

    Does this change solve this requirement microsoft/vscode#159377 ?

  12. sean-mcmanus commented on Mar 10, 2023

    @sean-mcmanus
    Contributor

    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.

  13. Shaka0723 commented on Sep 26, 2023

    @Shaka0723

    one more half year passed and any progress made?
    I am being suffered on lack of this feauture.
    Hope it can be merged asap

  14. sean-mcmanus commented on Sep 26, 2023

    @sean-mcmanus
    Contributor

    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 .

  15. added
    fixedCheck the Milestone for the release in which the fix is or will be available.
    on Feb 13, 2024
  16. fearthecowboy commented on Feb 13, 2024

    @fearthecowboy
    Contributor

    A significant update to Go To Symbol has been published in the insiders build - see #11557

  17. locked and limited conversation to collaborators on Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Feature RequestLanguage ServiceVisual StudioInherited from Visual StudiofixedCheck the Milestone for the release in which the fix is or will be available.

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions