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

Ability to collapse/expand all #12

Open
ZephD opened this issue Jul 18, 2018 · 1 comment
Open

Ability to collapse/expand all #12

ZephD opened this issue Jul 18, 2018 · 1 comment

Comments

@ZephD
Copy link

ZephD commented Jul 18, 2018

It would be very useful if you could "collapse all" and then open the path(s) you need.

This is especially useful when using the browser search, as only expanded sections get searched!

@nerivera
Copy link

One common implementation of this is to alt+click on an arrow in the tree. If the corresponding node is expanded, it will collapse that node and all of its descendants. If the node is collapsed, it will expand that node and all of its descendants.

As for the searching issue, I think the best solution would be a search box at the top with a few checkboxes next to it to toggle regex mode and case sensitive mode. This would automatically highlight any search results in the tree as you type while expanding nodes that are ancestors of a match and collapsing nodes that aren't.

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