-
-
Notifications
You must be signed in to change notification settings - Fork 288
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
Odd fuzzy matching in command palette #2162
Comments
For "open", there are just too many good matches for You can allow a longer palette by running vd as |
@midichef thanks for the tip on showing more options. Even so, failing to match "open file" to |
I would like to see multiple matches (like open) be ordered by their order in history. For example if you used "open-file" a lot, entering "open" would pop "open-file" quite near the top. I prefer predictably though.... For which I have no good solution 😅 |
@reagle For "open" not ranking For "open file" not matching "open file", there was an error handling matches for space-separated patterns. Now fixed by #2646. For "fileo" matching but "fileop" not, I believe that is working as intended. The fuzzy match algorithm tries to match each group of characters in order. If you do want to match out of order, create multiple groups of characters by using a space: "file open". But the behavior should probably be changed a bit. When no match can be found for all the characters in "fileop", the matcher has a couple of options that seem reasonable to me. It could fall back on trying to match characters out of order, or show the last successful match pattern (in this case, show the match for "fileo"). If you want to create a separate issue for that, please do. |
I love the command palette! 🙂
Why is it when I type "open" and "open file"
open-file
is not suggested -- but it is for "file"?The text was updated successfully, but these errors were encountered: