oleg-shilo / Favorites.vscode

VSCode extension for managing Favorites
MIT License
23 stars 6 forks source link

Closed Grouped Lists expand when switching to new favorites list #44

Open bobs58 opened 1 year ago

bobs58 commented 1 year ago

I have 2 grouped lists, i.e. [group_name.].list.txt. To save space I close them but they expand whenever I switch from one favorites list to another. Is there a way to keep these grouped lists closed when switching favorites lists?

oleg-shilo commented 1 year ago

Not at the moment but I will explore this option. Marking it an enhancement feature request

oleg-shilo commented 11 months ago

Sorry for such a long delay with this ticket. Honestly, I overestimated its complexity so did not attend it until I have finished with my other projects' commitments.

Please note that VSCode TreeViewItem is a very primitive UI element that does not allow tracking collapsed/expanded state of the node thus It's impossible to set the collapsed state to the same value as it was before refreshing/reloading the tree view.

Though, to allow the functionality you need I added it a sa setting:

image