leftstick / vscode-favorites

An extension helps developer marking resources as favorite. Therefor, those resources can be easily found at a special view
https://leftstick.gitbooks.io/vscode-favorites/
GNU General Public License v3.0
49 stars 22 forks source link

Feature request: add possibility to access favorites via a command #59

Open carlfriedrich opened 2 years ago

carlfriedrich commented 2 years ago

I really like the simplicity of this extension. Adding and removing via the according commands works fine. However, I am not able to access the favorites via a command. As far as I can see, the only way of accessing the favorites is through the UI widget.

Would it be possible to add a command, e.g. "Open Favorites", which displays a list of all the favorites from which I can choose a file to open then? This way it would also be possible to add a keybinding for it, which would greatly improve efficiency.

leftstick commented 2 years ago

@carlfriedrich thanks for your question. I think the concern is that folder is allowed to added in favorites list. If you use command, only favorite files can be listed for select, I am not sure what to do for favorite folders.

Do you have any suggestion?

carlfriedrich commented 2 years ago

@leftstick Thanks for the reply. I don't see why folders should be a problem, you could just display them along with the files, and if a folder is selected, display the folder's contents. Just like when you open a file from the file system. Wouldn't that work?

2

leftstick commented 2 years ago

@carlfriedrich you are right. It should not be a problem. My concern is about user experience. I will think about the default. Or PR is very welcomed