-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Add fuzzy search to search by symbol #33746
Comments
This is especially an issue for |
Any idea when this will be actioned? |
Just want to echo that this feature is a big deal for users considering a switch from Sublime Text, and I haven't been able to find an extension that supports fuzzy symbol search. I use symbols very often and for me, it's the area I've found the most lacking overall in VS Code. Having a symbol (in this case a method) show up in Go to Symbol but not when I use Go to Definition (in the same file) is disappointing. I get the impression that Go to Symbol and Open symbol by name have completely different plumbing. |
I'm new with VS Code, I have used Sublime Text and Eclipse for a few years.
Sublime Text=> what I want is onSomeHandle(). example 2) what I want is setDBook()
|
also if I search as
Would love to have this in vscode as well, not just in symbol search, but everywhere including |
I second this as well. Currently it is up to the extension developer to create the same fuzzy search as VSCode's If the fuzzy search algorithm could be included in the extension API, a lot more extensions would use it. (Like mine!) Right now I'm using RegExp search, but that is not as user friendly. |
Bump on this, any updates? Is it been considered at all? |
I'm looking for that feature too, it exists in ATOM. |
+1 |
It's really unfortunate that |
I actually thought there is some technical problem, such as that each language server must implement their own fuzzy search for this to work. But since this is marked "quick-pick" probably the index is kept by the VSCode itself and it's just not plugged in like in quick outline? |
My main issue is simply using a space. It should be smart enough to know that a space can mean |
The sorting and ranking (in the UI) is actually using our fuzzy search logic but that only helps when the extension that provides the data uses a similar relaxed algorithm. In the jsdoc we have the following statement
There is not much more VS Code can do as it is only rendering results that extension providing. Therefore closing as 'caused by extension' and with a pretty please to file this in the context of each extension. Happy Coding |
This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines. Happy Coding! |
Thanks for the heads-up! |
to those followed this for python language, there seems to be an issue filed here - microsoft/python-language-server#697. |
Currently on VSCode you can 'Open symbol by name' (https://code.visualstudio.com/docs/editor/editingevolved#_open-symbol-by-name) across files by clicking Cmd+T.
However it doesn't seem to support fuzzy search.
E.g. If I have a function called
dao_get_bookings
and search fordao
(notice space at the end), it will not return any results. The space is counted strictly as a character meaning the search breaks down. This is a real shame as Sublime makes this effortless and frankly amazing for this use case.The text was updated successfully, but these errors were encountered: