oleg-shilo / codemap.vscode

Code map (syntax tree) of the active document
MIT License
85 stars 28 forks source link

Expand All / Collapse All #17

Closed egabrum closed 4 years ago

egabrum commented 5 years ago

Issue Type: Feature Request

I'd appreciate a Expand All / Collapse All button.

oleg-shilo commented 5 years ago

Unfortunately it's complicated. More than it should :)

To my disappointment VSCode TreeView API is very limited and it has a number of limitations. One of them (expnding/selecting ) even had to be worked around in CodeMap. See "Limitations" section in https://github.com/oleg-shilo/codemap.vscode.

I don't see how this can be achieved. But please share your thoughts if you do.