-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
History: Fuzzy-filter: prioritize word-boundry matches #100590
Comments
Yeah, |
I think you are seeing history matches where we use a slightly different matcher strategy, in general history matches always come first using a less fuzzy scorer and then use a fuzzy scorer that does what you ask, see: vscode/src/vs/base/common/fuzzyScorer.ts Lines 193 to 195 in 68bf05a
I will add this to #27317 |
Ah okay, so in this case I'm viewing the recently opened folders, filtered by those that have any match with the query, then sorted alphabetically? Would it be possible to optionally remove last alphabetic sort step, so that I view the results in fuzzyScore order always? That or recency of access, in the above case I'm working in vscode-github-triage-actions pretty much every day, and the others quite rarely, but traige-actions is still always at the bottom. |
@JacksonKearl I think what you are suggesting is a setting to always sort both history and file results fuzzy? This would mean that history results no longer get a boost over other results? Basically you can do this today already via |
@JacksonKearl that is just a normal picker, it does not use fuzzy scoring. /duplicate #34088 |
Sad. |
Suggestion: fuzzy filtering can prioritize matches at word starts, as IMO it's more likely for someone to be typing from a wordstart than a random substring.
For instance, here I'm typing the first part of
actions
, but other things come first.in this case I'd expect either
apply-changes
oractions
to be at the top, followed by the other.This is what I do in the triage extension, https://github.com/microsoft/vscode-github-triage-extension/blob/eb3bd12d537a152aba60783aeee3e527fd8bfabf/src/common/fuzzyMatch.ts#L17-L29
The text was updated successfully, but these errors were encountered: