vscode-bookmarks
vscode-bookmarks copied to clipboard
Support sorting (Label/Line Preview, Path…)
Check out the screenshot. I was wondering if you would be able to add a sorting option like this to bookmarks settings:
Bookmarks is really helpful. Thank you for all your work on it!
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.
Sort by label should be simple to implement, and at least we could order things by labeling our bookmarks as a, b, c, et cetera.
I use bookmarks when I have a bunch of related code across files that I need to access in some type of order..
Thanks for the great product, and everyone who can should donate!
Hi, bookmarks are great and very useful, I use them to help read c++ source code, if the tags can be sorted according to the time of creation, it will be a great tool for sorting out the code flow
Another extension https://github.com/alefragnani/vscode-numbered-bookmarks is what I want. But how about merging it to this extension?
HI @B0J1 ,
No intention. Both extensions shares some features (that makes sense), but have two different objectives.
The Numbered Bookmarks extension was created to mimic the Delphi experience I loved throughout the years, and I'm keeping it simpler. This one, on the other hand, is a more featured experience with Side Bar, Selection, Customizations, Tags, etc. And plans to evolve it even more.
what if someone provide this feature and make a merge request ?