Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support sorting (Label/Line Preview, Path…) #217

Open
919Studios opened this issue Jun 12, 2019 · 10 comments
Open

Support sorting (Label/Line Preview, Path…) #217

919Studios opened this issue Jun 12, 2019 · 10 comments
Assignees

Comments

@919Studios
Copy link

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!

@alefragnani
Copy link
Owner

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.

@fabb
Copy link

fabb commented Dec 5, 2019

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.

@alefragnani
Copy link
Owner

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

@fabb
Copy link

fabb commented Dec 7, 2019

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.

@alefragnani alefragnani changed the title Sort By… (Name Recently added…) Support sorting (Label/Line Preview, Path…) Jun 14, 2020
@alefragnani alefragnani self-assigned this Feb 1, 2021
@penguin020
Copy link

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!

@liushichuan
Copy link

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

@B0J1
Copy link

B0J1 commented Apr 15, 2022

Another extension https://github.com/alefragnani/vscode-numbered-bookmarks is what I want. But how about merging it to this extension?

@alefragnani
Copy link
Owner

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.

@DeathPoem
Copy link

what if someone provide this feature and make a merge request ?

@yurymann
Copy link

yurymann commented Jul 7, 2024

Just wanted to bump this request as it seems to be stale. I'm another former IntelliJ user who is missing the most-recently-used sorting. Even though this is the best vscode bookmarks extension I've found, I almost stopped using bookmarks because it's often quicker to find the file or symbol again than visually scan the Bookmarks view. In IntelliJ, I used bookmarks all the time: it's very efficient to open the Bookmarks window and select between last 2 or 3 bookmarks with a couple of key presses, without deleting the other 10 bookmarks which may still be useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants