atom-narrow icon indicating copy to clipboard operation
atom-narrow copied to clipboard

[Feature request] Smart path

Open sonhanguyen opened this issue 8 years ago • 5 comments

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

sonhanguyen avatar Oct 17 '17 00:10 sonhanguyen

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

slavaGanzin avatar Oct 17 '17 18:10 slavaGanzin

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.

sonhanguyen avatar Oct 17 '17 20:10 sonhanguyen

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.

t9md avatar Oct 17 '17 23:10 t9md

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.

sonhanguyen avatar Oct 17 '17 23:10 sonhanguyen

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

t9md avatar Oct 17 '17 23:10 t9md