zed icon indicating copy to clipboard operation
zed copied to clipboard

Bookmarks

Open w01fgang opened this issue 2 years ago • 5 comments

Check for existing issues

  • [X] Completed

Describe the feature

Setting a bookmark to a line of code saves a lot of time while working on unfamiliar codebase.

If applicable, add mockups / screenshots to help present your vision of the feature

Screenshot 2023-08-21 at 10 49 14 Screenshot 2023-08-21 at 10 49 46

w01fgang avatar Aug 21 '23 09:08 w01fgang

I want to add a Link to the corresponding Discussion and also would appreciate to see this realized.

https://github.com/zed-industries/zed/discussions/6606

solariz avatar Aug 05 '24 11:08 solariz

I am also missing this feature.

PyCharm's solution

Example screenshot:

py_bookmarks_dark

metahke avatar Sep 24 '24 17:09 metahke

I'm a big fan of Bookmarks functionality. We even had them on some mainframes! I like this implementation for VS Code. There are several to choose from.

I saw somewhere, above that there is no plugin frameework for Zed. I think that us unfortunate. Plug-in support is a great enabler. Things like a bookmark implementation need to be add-ons, not so much mainline features. There are many differnt use cases for somethig like "bookmarks" which is exactly what plugins can offer.

aplatypus avatar Dec 02 '24 09:12 aplatypus

As alternative you can create .md file with relative paths for files. And then hold Ctrl + Left Mouse Button on it to open

Image

pytat0 avatar Mar 01 '25 14:03 pytat0

https://github.com/zed-industries/zed/issues/16828 proposes an interesting idea: put all / some bookmarks together in mini buffers.

MasseGuillaume avatar May 16 '25 17:05 MasseGuillaume

Bookmarks are very useful when working with a legacy code base, navigating through a mess.

DGolubets avatar Jul 07 '25 13:07 DGolubets

Bookmarks sound like a nice feature we should definitely add. I use a hacky method whenever I want to bounce around specific parts of a file quickly. I insert a few newlines and then use editor: go to hunk and editor: go to previous hunk, which I have custom bindings for. 😂

JosephTLyons avatar Sep 09 '25 15:09 JosephTLyons

The bookmarks topic is so funny, since 2023 nobody could add such a little feature.. 😆

puhtaytow avatar Sep 15 '25 07:09 puhtaytow

The bookmarks topic is so funny, since 2023 nobody could add such a little feature.. 😆

They have added support for million AI models though 🥲

DGolubets avatar Sep 15 '25 11:09 DGolubets

Another fun workaround until we land this - use disabled breakpoints. 😂

Image

JosephTLyons avatar Sep 15 '25 11:09 JosephTLyons

@JosephTLyons hypothetically, if you had time and task to write such feature, would you be capable to do so?

puhtaytow avatar Sep 15 '25 12:09 puhtaytow

bump +1 I used the vsc and bookmarks plugin https://marketplace.visualstudio.com/items?itemName=alefragnani.Bookmarks but it's so buggy, it would be nice to have an official native solution in zed

username14415 avatar Oct 02 '25 15:10 username14415