vscode-code-outline
vscode-code-outline copied to clipboard
Any way to collapse/expand all nodes?
Ummm, I see there is only a REFRESH button.
Shall we add a button to collapse or expand all nodes?
Do you think those would be useful? I've never found myself wanting all tree nodes expanded.
Actually, I believe it would be better if the treeview can be sticky at the right side of editor, so that we coud have a big enough view of outline. However it couldn't be achieve yet due to the limitation of vscode API.
Thus the outline tree sharing view with file tree, seems too small for me. I have to collapse some nodes sometimes. (I set them auto-expand by default)
And another relevant problem is that, when I change a file in editor, all the collapsed nodes will be expanded, instead of just expanding the one I've changed.
Collapse all is useful for me.