Skip to content

Instantly share code, notes, and snippets.

@ctsstc
Last active June 15, 2023 19:24
Show Gist options
  • Save ctsstc/f37bc849a8673448c8315504559a24d7 to your computer and use it in GitHub Desktop.
Save ctsstc/f37bc849a8673448c8315504559a24d7 to your computer and use it in GitHub Desktop.
Tabs Outliner - Collapse All
treeView.treeModel.currentSession_rootNode.subnodes.forEach(node => node.setCollapsing(true))
@AtomicNess123
Copy link

How to make all tabs collapse? It seems one must be on the specific node, but I can't find how to collapse all nodes.

@ctsstc
Copy link
Author

ctsstc commented Oct 12, 2022

@AtomicNess123 you just right click -> inspect -> console -> paste the script
and it should collapse all the nodes top level nodes, it may not be collapsing nested sub-nodes if that's what you're talking about.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment