Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Exact starts-with should take precidence #41
I would argue that it's quite frequent to prefer matching at the end of the
2015-10-05 17:11 GMT-04:00 gdaolewe email@example.com:
@benzen I agree that it should prefer matching the filename rather than the path, but it should prefer matching towards the beginning of the filename itself. If the matching is done on the full path + filename as one string, I think that's quite wrong.
I don't know how many I speak for, but I almost never type part of the path to find a file; the only reason I would is this exact scenario, where typing the filename exactly puts the desired file way down in the suggestions and I have to start typing the path to disambiguate.