-
Notifications
You must be signed in to change notification settings - Fork 11
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
Option to collapse all matches in a specific folder #6
Comments
What if the result list is like this:
What should the context menu for the first entry show: "Collapse folderA" or "Collapse folder1"? |
I think it would make it very clear if it showed the direct parent, so Collapse "folder1" (or Collapse "folderA/folder1" if relative path is displayed). |
Hm... collapsing the direct parent would be good to get consistent and reliable behavior. However, how about a case like this, which is not uncommon:
It would be useful to hide all .po files, and to collapse the entire "locale" directory, but that would not be possible if the context menu only offers "Collapse LC_MESSAGES". A completely different way would be to arrange all results in the list in a tree structure, similar to their location in the file system (I think Kdevelop 4 does that); but that might create lots of useless directory entries even for normal uses. Yet another solution might be to detect which part of the path the user has clicked on when opening the context menu, and offer to collapse that directory part. I guess that would be difficult to implement, and might not be obvious to the user. Well I'm really not sure yet what to do :-) |
What about adding all parents in the context menu? Example:
Or maybe add x parents, for example 3 parents: direct parent, grandparent and great-grand-parent. |
After searching, we can realize that all matches in a specific subfolder are not relevant for us. It would be very useful to have an option in the "right click menu" to collapse all these results. Example:
Say results are:
A lot of matches are in "folder4". If they are irrelevant for us, we could click right on any result of this subfolder and have the following choices:
Written in a more generic form, the new option would be Collapse all matches in "%(folder of the clicked match)s".
The text was updated successfully, but these errors were encountered: