-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Odd Quick Open heuristic case #2663
Comments
To @dangoor to consider--is this a bug or just an edge case? |
Definitely a bug. MultiRangeInlineEditor-test.js is matching "MultiR" whereas "MultiRangeInlineEditor.js" is matching "Mult..I..r". Those two should have the same matching characters. (side note: "mrie" is a nice quick search that takes you right to these files :) |
Yeah, I don't think in camel-case very well :) I think it's because I type faster than I think, so it takes longer for me to strategize and think of an abbrev than to just start typing the whole thing. |
That's understandable... and is precisely the challenge of trying to write code that reads people's minds relatively well... Of course, in this case there's just something amiss that's causing these strings to match differently and nothing fundamentally wrong with its mindreading abilities :) |
Reviewed, low priority. |
Just stepping through bugs assigned to me. This bug is really weird. MultiRangeInlineEditor-test and MultiRangeInlineEditor should not be matched as differently as they are. There's some reason that the -test is following a different code path than the main file. I'm going to nominate this for sprint 25, because this also ties into prefix matching which has come up in a couple of different issues - #3643 #3694. |
…earches when the user has typed at least two contiguous matching characters.
Not critical. Bumping to Sprint 26. |
Reviewed and removed the Sprint 26 tag. We may wait until @peterflynn is back. |
Low priority, but nominating for 1.0 because it ties in with the other stringmatch fixes. |
Reviewed. Since we already have a PR up for this we'd like to take this opportunistically, but shouldn't spend too much time on it. |
Reviewed -- not required for 1.0. (We also removed the FBNC tag because the PR went stale & was closed a long time ago). But see #3971 for an idea about fixing one of the more annoying cases of this sooner. |
brackets
folderResult: The first hit is "MultiRangeInlineEditor-test.js", but for some reason "MultiRangeInlineEditor.js" is far down the list (below noncontiguous matches like "multiple-remote.html"). I would expect these to rank closer together, and "MultiRangeInlineEditor.js" to be above things like "multiple-remote.html".
The text was updated successfully, but these errors were encountered: