Skip to content

Add right-click menu option to collapse folders on current node #119499

@claytongulick

Description

@claytongulick

When you have a project that has a deep structure and many (sometimes hundreds) of folders, expanding and collapsing folders is a core part of the development flow.

Frequently, it's desirable to collapse all of the folders in a subfolder, while leaving the current state of expanded / collapsed folders intact.

The current "collapse" functionality is all-or-nothing - when you select 'collapse folders in Explorer' it collapses everything, which destroys some painstaking folder expand / collapse activity you may have done.

It would be a great enhancement to be able to right click on a node in the explorer and select "collapse subfolders".

Update for clarity: this feature should recursively collapse-all at the folder level, the same way "Collapse Folders In Explorer" does, but at a subfolder level.

Thanks!!!

Edit: Bonus points for "expand subfolders" the same way 😄

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions