I make large structures from scratch in Structured Text (the IEC programming language for PLCs). The editor I use either has supper annoying table mode or text mode. Example:
TYPE
MainStructure_typ : STRUCT
SubStructure1 : SubStructure1_typ;
SomeInteger : UINT;
END_STRUCT;
SubStructure1_typ : STRUCT
SomeBOOL : BOOL;
END_STRUCT;
END_TYPE
Now imagine that has dozens of sub structures multiple levels deep with a thousand total variables and you had to wrap your head around it in this un-nested, uncollapsible view (even table view is un-nested in this editor).
I just want to be able to plan it out by editing/viewing an outline of it as a collapsible tree. Really, If I could collapse bullet lists in word, it would be pretty much what I'm after. If I could finagle it spit out the actual ST type definition, that would be awesome, but not a requirement. I've tried a few XML and outline editors and they all either make adding elements such a hassle or don't collapse. So far I'm using CherryTree, but it is way beyond what I want/need and I'm hesitant to use TreePad, given it is ancient.
Seriously, if there is a text editor with collapsible bullet points, that would probably be what I'm after.