johnturek / advanced-find

Automatically exported from code.google.com/p/advanced-find
0 stars 0 forks source link

relative path in result list instead of absolute #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
You could think about using only a relative path in the result list instead of 
an absolute path (relative to the directory that has been searched), because 
the first part of the path is always the same anyway. This would save space and 
lead to an improved overview. The absolute path of the directory from which the 
search started could be included in the headline.

Original issue reported on code.google.com by ir4o.o91...@gmail.com on 3 May 2012 at 6:08

GoogleCodeExporter commented 9 years ago
1. The first part of path are different if you search in opened documents that 
located at different directories.
2. I can't see any benefit by saving these space.

Original comment by swatch.c...@gmail.com on 4 May 2012 at 4:13

GoogleCodeExporter commented 9 years ago
Sorry, this was meant just for scope of "All Documents in Directory". For me it 
would be a great benefit... :)

If you have a lot of results and you are searching in a long path, it would be 
much more convenient to see just the relative path, because this is what 
matters in this scope. Always adding the search path up front is redundant 
because one already knows this and it's always the same anyway.

Additionally you have to scroll much more back and forth. This is all what I 
can say, in the end you decide to implement it or not... ;)

Original comment by ir4o.o91...@gmail.com on 4 May 2012 at 4:30

GoogleCodeExporter commented 9 years ago
It uses the same function to implement results list of all searching scopes.
Making one of them as a special case will make the code more complicated.
Sorry, your reason is not good enough.

Original comment by swatch.c...@gmail.com on 4 May 2012 at 5:41

GoogleCodeExporter commented 9 years ago
That is really too bad. :(
But I can live with that... ;)

Original comment by ir4o.o91...@gmail.com on 4 May 2012 at 10:28