Skip to content
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

Request: More intuitive default file selection in results #9

Open
jmuheim opened this issue Jul 10, 2012 · 3 comments
Open

Request: More intuitive default file selection in results #9

jmuheim opened this issue Jul 10, 2012 · 3 comments

Comments

@jmuheim
Copy link

jmuheim commented Jul 10, 2012

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

@topfunky
Copy link
Owner

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.

@jmuheim
Copy link
Author

jmuheim commented Jul 13, 2012

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
Copy link
Author

jmuheim commented Jul 14, 2012

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").

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants