kdcro101 / vscode-favorites

Add files and directories to workspace favorites. You can create groups (and subgroups) of favorite items with files and folders. Time saver for complex projects.
MIT License
49 stars 13 forks source link

Alphabetical sorting should respect aliases #65

Closed halo closed 5 months ago

halo commented 2 years ago

Thank you for creating this extension. It's a little rough on the edges, but very promising!

Describe the bug When a favorite item has an alias (i.e. renamed) the alphabetical sorting does not respect the new name.

To Reproduce Steps to reproduce the behavior:

  1. In the file explorer, right-click on a folder and add it to the favorites
  2. In the file explorer, right-click on another folder and also add it to the favorites
  3. In the favorites sidebar, right-click on the lower folder (alphabetically later) and choose "Modify alias"
  4. Change the name to "aaa"

Expected behavior Both folders, as shown, should be alphabetically ordered. That is "aaa" first and then the other.

Screenshots

Screen Shot 2022-02-23 at 16 36 00

System info (please complete the following information):

Additional Info

For what it's worth, is there a way that groups and folders can be sorted alphabetically on each level? I would expect "aaa" to come first, "views" second, and "zzz" last. The reason I ask is that I sometimes add an entire folder to the favorites and sometimes only individual files. I really don't need a visual distinction between "groups of favorites" and folders.

Screen Shot 2022-02-24 at 09 33 39