PeepOpen-EditorSupport icon indicating copy to clipboard operation
PeepOpen-EditorSupport copied to clipboard

Request: More intuitive default file selection in results

Open jmuheim opened this issue 13 years ago • 3 comments

When having a file models/note.rb and models/note_type.rb, then typing note should select note.rb by default, not note_type.rb!

I guess this has something to do with the underscore _ coming before the . in the alphabet, but it's counterintuitive.

Example

jmuheim avatar Jul 10 '12 07:07 jmuheim

Good point. I often type a period at the end of my search to select the shortest filename, but it would be more useful if it appeared at the top of results.

topfunky avatar Jul 13 '12 18:07 topfunky

I guess quite a good recipe would be to simply select the shortest available path in the list, this would most likely be the needed feature most of the times.

jmuheim avatar Jul 13 '12 20:07 jmuheim

This is also a common unwanted case

example

I think space delimited searches should tried to be matched into slash delimited parts of the path (or whatever has been defined in "Space searches for").

jmuheim avatar Jul 14 '12 07:07 jmuheim