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

[Feature request] Smart path #255

Open
sonhanguyen opened this issue Oct 17, 2017 · 5 comments
Open

[Feature request] Smart path #255

sonhanguyen opened this issue Oct 17, 2017 · 5 comments

Comments

@sonhanguyen
Copy link

sonhanguyen commented Oct 17, 2017

Instead of showing /full/project/path/to/the.file, which is hard to grep visually, have you considered showing only the shortest distinguishable path, or an option to put file name first, like
hot.coffee /full/path/to/dir

@slavaGanzin
Copy link
Contributor

Or maybe just highlight basename:
For example, I have ten's of controller.js, template.jade,etc... in my projects

@sonhanguyen
Copy link
Author

highlighting is good, but I actually prefer to put the file name first, that way it's easier to skim through the list just by looking at the beginning of the lines.
as for name clashes, that's what I mean by shortest distinguishable paths, so it can be componentA/template.jade and componentB/template.jade instead of the full paths to those.

@t9md
Copy link
Owner

t9md commented Oct 17, 2017

Are you saying file header part of narrow:search result?

Do you know you can filter unwanted file displayed from results by clicking folder icon on top-bar?
It will reduce the necessity of your eye-skimming in some case.

@sonhanguyen
Copy link
Author

sonhanguyen commented Oct 17, 2017

I know that but it's a separate thing, when there are only like 5 results and they are all visible I don't see the need to filter, could just click the line. But that is only if they are easy to spot.

@t9md
Copy link
Owner

t9md commented Oct 17, 2017

Give me chance to share your motivation by sharing your GIF?

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

3 participants