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
48 stars 22 forks source link

Rename favourites #12

Open daronjay opened 6 years ago

daronjay commented 6 years ago

Is it feasible to allow renaming favourites? Say you have a project with lots of src or css folders inside nested parent folders, it would be awesome to be able to rename them so you don't get a bunch of css folders or component folders with no visual guide which one it is associated with.

Currently you have an array of paths, and I assume you are using the last subpath as the name? { "favorites.resources": [ "responsive/src/brands/foo/css", "responsive/src/brands/bar/css", "responsive/src/base/css" ] }

Perhaps if this was something like this by default

{ "favorites.resources": { "css":"responsive/src/brands/foo/css", "css":"responsive/src/brands/bar/css", "css":"responsive/src/base/css" } }

which could be renamed using the context menu to { "favorites.resources": { "Foo Css":"responsive/src/brands/foo/css", "Bar Css":"responsive/src/brands/bar/css", "Base Css":"responsive/src/base/css" } }

fabiospampinato commented 6 years ago

I would also love support for this.

freethewhat commented 2 years ago

Was just looking to see if this feature exists. @leftstick Is this something you would be interested in adding to this extension? If so, I would be happy to take a look at it and see what it will take.

leftstick commented 2 years ago

Hi @freethewhat @fabiospampinato @daronjay , it is really a good idea. Thanks for your suggestion, I will consider it, but it may take some time for the refactor. Anyway I will check it

freethewhat commented 2 years ago

Sounds good. If its something you want help with feel free to send me a message. I'd be happy to help.

leftstick commented 2 years ago

@freethewhat PR is very welcomed. ^_^