-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Fuzzy search to open file doesn't show most relevant suggestion first #4770
Comments
@andersekdahl I would be interested in getting access to the workspace for me to reproduce this, if possible? |
I don't think that possible unfortunately. I'll see if I can create an isolated workspace to reproduce it and share that. |
@andersekdahl thanks. I just pushed a fix for our scorer and was wondering if it fixes this issue too. That would help me to verify quickly. |
I can't seem to reproduce it in another workspace. Can I get access to a build with your fix to test if it solves the issue? |
Is it this commit 9147160? Building from source on that commit now. |
@andersekdahl yes, that one will boost scores higher for consecutive matches. I would assume "Overlay" to be #1 after that change. |
Can't build from source unfortunately, I have VS 2015 but I'm missing |
@andersekdahl building a version of it now that I can share to you. |
That seems to fix it, thanks! There are still some other things though. Typing |
@andersekdahl that is totally true yeah. actually I am running the scorer first over the file name and then over the file path to naturally promote file matches over path matches. |
@andersekdahl I am still wondering why you would not get any match in "overlay" though for files that live in that folder. E.g. in this workspace I have a folder "lib" and can search for files within: |
Yeah it's hard to tell. Like I said, I couldn't reproduce it in a test workspace. Could it have something to do with the size of the workspace? |
@andersekdahl good point, there is an actual limit of results in quick open. |
Marking as closed, given the initial report seems fixed. |
Fine by me, I'll see if I can create test cases for the other things I mentioned and open new issues if I can. |
Thanks for the quick replies btw! |
np 👍 |
As you see in the image, I've searched for
overlay/index
but the file I'm looking for is not the first suggestion even if there is only one file whose path fully matches what I've written. Changing/
to\
doesn't seem to matter.Both Atom and Sublime have really great implementations of this, would be great to have it in VS Code as well.
The text was updated successfully, but these errors were encountered: