oleg-shilo / Favorites.vscode

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

Allow named lists of favorites #3

Closed pehrlich closed 3 years ago

pehrlich commented 6 years ago

Currently, all favorites show up in one generic "favorites" list. It would be great if there could be virtual subfolders within this, for keeping track of different work-areas.

oleg-shilo commented 6 years ago

I like the idea. Will do in the next release

oleg-shilo commented 6 years ago

Done. Please grab the latest v1.2 release:

drahkrub commented 6 years ago

Since this issue is still open:

  1. It would be nice, if this plugin would remember the state (or visual appearance) of its "FAVORITES" tab after a (favorite-) folder is clicked (which result is similiar (or identical?) to switching the workspace).
  2. Moreover it would be nice if folders would have some "active sign" like the checkmark in front of a selected group name.
oleg-shilo commented 6 years ago

Item#1 - yes, it's a good feature to have. Will do it for the next release. Item#2 - it is already implemented: image

drahkrub commented 6 years ago

Item#1 - great! :-) Item#2 - "Python scripts" is a "favorites list", isn't it? I meant a folder inside a "favorites list" like "my-app" in "Custom" in reference to the animated GIF above.

oleg-shilo commented 6 years ago

OK. I see. yes "Python scripts" is a "favorites list". There may be some technical challenges as treeview in VSCode still has some fundamental gaps. But.. I will give it a try.

oleg-shilo commented 5 years ago

Done. Will publish shortly. Though unfortunately vscode.TreeItem has no Collapse/Expand event that can be used to detect tree changes and store them for use on the next startup. Thus it is still problematic. :(

oleg-shilo commented 5 years ago

Even more. I can cache the root Tree item but... current API does not even allow analyzing the children nodes nor expanded states.

oleg-shilo commented 5 years ago

Done, published.