Replies: 1 comment 3 replies
-
|
with regquests like this it's always a question of what prioritize means: Is that a tie breaker? Does it tie into the scoring? If so how much to increase the score (eg. you searched for |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm primarily familiar with
nucleothrough Helix and one paper-cut I experience every time in codebases with a larger-than-average number of files in them is that the fuzzy finder for files isn't all that great when trying to find a file that shares some part of its name with a directory.However, the opposite is true when I use https://github.com/natecraddock/zf, which has a matching algorithm that prioritizes matches on filenames, and I find that it's much easier to find the files I'm looking for when there's some ambiguity between directories and filenames.
Here are 2 examples where this comes into play that were easy for me to think up on the spot:
This may not be a good general approach for a fuzzy finder, but when searching for files specifically I think it's a big improvement.
Obviously this isn't a huge issue, and I don't think it's worth it to change the general matching algorithm. But if it's possible to add a separate matching function, or add a parameter or something to indicate that you are matching file names, maybe that's worth considering?
I think it would certainly improve the helix file picker at least, even if it's already mostly great.
Beta Was this translation helpful? Give feedback.
All reactions