Author Topic: Quickly fully expanding a project's tree  (Read 18085 times)

Offline prospero

  • Single posting newcomer
  • *
  • Posts: 2
Quickly fully expanding a project's tree
« on: April 29, 2026, 06:53:34 am »
I like to view the entire tree of a project, and I find it annoying that I have to manually expand all of the subdirectories. I checked the menus, checked keyboard shortcuts, and there seems to be no way to do this quickly. It's one of my few C::B pain points. I've already got a basic patch in the works for this that adds an "Expand all" option to project and folder (including virtual) right-click menus in projectmanagerui.cpp. Is there any interest in this?

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1894
Re: Quickly fully expanding a project's tree
« Reply #1 on: April 29, 2026, 01:27:54 pm »
You can use commit 13834 as reference. Regarding interest, a fully expanded tree is hardly desired.

Offline evelynwang

  • Single posting newcomer
  • *
  • Posts: 1
Re: Quickly fully expanding a project's tree
« Reply #2 on: Today at 05:07:31 am »
I like to view the entire tree of a project, and I find it annoying that I have to manually expand all of the subdirectories. I checked the menus, checked keyboard shortcuts, and there seems to be no way to do this quickly. It's one of my few C::B pain points. I've already got a basic patch in the works for this that adds an "Expand all" option to project and folder (including virtual) right-click menus in projectmanagerui.cpp. Is there any interest in this?
I'm also curious about this. Would an "Expand all" option work recursively for both physical folders and virtual folders, or would there be any performance concerns with large projects? A quick way to collapse everything again would be useful too.