I have a simple c file parsed by ctagssidekick:
int a;
main () {}
SideKick options:
no checkbox, auto expand = 0, parser: ctags
Ctags options are following:
groupers: Namespace, Kind
sorters: Line
After ctags parses the file I have 2 groups: variable and function. I collapse variable. I parse again. Variable expands.
Desired behaviour: do not expand all nodes with auto_expand = 0. Preferrably remember which nodes were open, but definitely: do not expand when user didn't asked for that.
This happens with other sidekicks, not just ctagssidekick.
Got it. Will test and commit soon.
The order of actions was not as intended because of passing to many calls to Swing.invokeLater in SideKickTree.expandAll
But after fixing a bug I have a problem: if I set autoExpand to 0 it eats all without possibility to expand. Minimum reasonable value is 1 which shows the filename and the first row.
a patch
I leave it to your choice. Won't commit. Attaching a patch that fixes only one thing: collapsing the whole tree. Please deal with the 0 problem.