collapse-then-reveal
Reveals the focused file in the tree-view and collapses everything else. When no files are focused, reveals the top-level tree-view.
collapse-then-reveal
An AtomEditor package which reveals the focused file in the tree-view and collapses everything else. When no files are focused, reveals the top-level tree-view.
Credits
Kudos to @DeanNonatomic for creating atom-auto-reveal-in-sidebar, which inspired collapse-then-reveal