Vscode-bookmarks: Support sorting (Label/Line Preview, Path…)

Created on 12 Jun 2019  ·  4Comments  ·  Source: alefragnani/vscode-bookmarks

Check out the screenshot. I was wondering if you would be able to add a sorting option like this to bookmarks settings:
can_this_be_added_to_bookmarks_feature_request
Bookmarks is really helpful. Thank you for all your work on it!

enhancement

Most helpful comment

Being used to the Bookmark feature of IntelliJ, I really miss bookmarks being sorted by "Recent" by default (most recently added on the top). Always when I open the bookmark list, I am very confused on where the bookmark went I just added, and I need to go through all of them one by one, which defeats the purpose of the bookmarks extension saving time. This feature would improve this great extension a lot.

All 4 comments

Hi @919Studios,

First of all, thank you for your kind words. I'm glad to know you like the extension! 👍

Right now, the bookmarks are sorted only by Line Number and grouped by File and Workspace. Support sorting by Name(label / line preview) and Path should be straightforward (grouped or not), but Recent, on the other hand, is not. There is no such info in its engine, and I'm not sure the easiest way to do that, but I'll take a look.

Thank you for your suggestion.

Being used to the Bookmark feature of IntelliJ, I really miss bookmarks being sorted by "Recent" by default (most recently added on the top). Always when I open the bookmark list, I am very confused on where the bookmark went I just added, and I need to go through all of them one by one, which defeats the purpose of the bookmarks extension saving time. This feature would improve this great extension a lot.

Hi @fabb ,

I never used IntelliJ itself, just Rider recently, but I guess both share the same Bookmarks functionality. Honestly I don't remember how it works, but I'll try to revisit it.

Personally, I don't miss any sorting at all, because in my workflow, when I'm _finding_ bookmarks, I prefere to _type_ the content that I'm looking for (instead of visually look for the bookmarks), filtering the results. But I totally understand the need 👍.

To me, the _Recent_ sorting is more like a _Stacked Bookmark_, present in some other editors. Just like I commented above, it needs reengineering ..

Hope this helps

Yeah, should be the same in Rider, it‘s also the same in AppCode.
For me it‘s like a clipboard history which is also sorted chronologically, fits like how I work with it.

Was this page helpful?
0 / 5 - 0 ratings