Collapse all children in json editor
Answered
When I have a huge JSON file with loads of layers it is handy to have a mechanism to collapse all and then open the tree branch you need.
But with the IntelliJ json editor if we collapse a parent and open it again all children are still expanded.
Is there a trick on how to collapse all children?
Example:
If I have this:

And then I collapse it hitting the "-" of "parent" I get this:

If I hit "+" of the parent, I want to get this:

But instead I get this:

Anyone an idea?
Please sign in to leave a comment.
Looks like a known issue: https://youtrack.jetbrains.com/v2/issue/WEB-14689.
If you rightclick in the editor, go to Folding and then choose "Collapse recursively" I think that is what you are looking for.
--
Andreas