Collapse/Expand all button in hierarchy file/gameobject structure (DEFEDIT-4221) (SOLVED)

It would be really nice to have an option when in a hierarchy structure such as either the file view, or the outline view to be able to right-click on any object in the tree, and get options like “Expand all children” / “Collapse all children”, if you want to edit sub categories of many objects, for example consider the following hierarchy structure:

– Thing 1 (GameObject)
------ SubThing 1 (GameObject)
---------- Element1OfThing2 (GameObject)
-------------- Script I want to edit
– Thing 2 (GameObject)
------ SubThing 2 (GameObject)
---------- Element1OfThing2 (GameObject)
-------------- Script I want to edit
– Thing 2 (GameObject)
------ SubThing 2 (GameObject)
---------- Element1OfThing2 (GameObject)
-------------- Script I want to edit

If we have many objects like this, it can be quite messy to have to expand and collapse all of them all the time, so a function that would expand all children / collapse all children would be really usefull here.

1 Like

This sounds like a great feature for Editor 2.

1 Like

I agree. Ping @Erik_Angelin, @Ragnar_Dahlen, @Ragnar_Svensson!

2 Likes

Added https://github.com/defold/editor2-issues/issues/350

3 Likes

Solved in Defold 1.2.160 has been released