vscode-bookmarks icon indicating copy to clipboard operation
vscode-bookmarks copied to clipboard

Add a Bookmarks panel in the Explorer view

Open jayarjo opened this issue 5 years ago • 12 comments

Would be great to be able to show flat list of just bookmarks. Sortable.

jayarjo avatar Sep 24 '19 06:09 jayarjo

Hi @jayarjo ,

Please, could you give me more details about your request? I mean:

  1. When you say "toggle tree on/off", are you refering to see only bookmarks in the side bar, not the filenames?
  2. What kind of sorts do you think to be necessary? Line Number, Label, Line content?

I'm asking because there are another 2 issues opened about sorting/grouping (#217 and #225).

Thank you

alefragnani avatar Sep 24 '19 15:09 alefragnani

see only bookmarks in the side bar, not the filenames

Yes.

Toggle feature is perfectly implemented in Todo Tree extension.

As for the other one - sorting by label would be enough I guess. Don't see how sorting by line number can be useful.

jayarjo avatar Sep 24 '19 16:09 jayarjo

So, this issue will track only the flat view feature, leaving the sorting to be tracked in #217.

As for the other one - sorting by label would be enough I guess. Don't see how sorting by line number can be useful.

In fact, I don't care about (any) sorting at all, because I usually use the Command Palette to search for Bookmarks, typing the line content/label that I'm looking for 😁. The Side Bar was added because I wanted to learn how to use the API, and make the extension adhere to the new VS Code UI.

Hope this helps

alefragnani avatar Sep 24 '19 16:09 alefragnani

@alefragnani now that you added it, you have to support it :)

jayarjo avatar Sep 25 '19 08:09 jayarjo

Haha, exactly.. but just like the extension itself, I may choose which features will be added to it, at least while the extension is still free, or someone decides to sponsor 😁

alefragnani avatar Sep 25 '19 10:09 alefragnani

This “flat list” will be implemented in a new Panel, inside the Explorer view, similar to the Outline/Timeline views. And will not replace the Bookmarks Side Bar which exists today.

The idea is to give you the Bookmarks from the Active Document.

alefragnani avatar Apr 19 '20 00:04 alefragnani

I'd like this feature too. I'm also using the todotxt-mode vscode plugin (https://github.com/davraamides/todotxt-mode) and this adds a panel to the Explorer view

mmunchandersen avatar Oct 23 '20 06:10 mmunchandersen

Came looking to see if there was an open request for a panel in the explorer view which would show bookmarks for the active file. Asking without any degree of expectation or entitlement... is it something that might be added soon?

rztaylor avatar Dec 23 '20 11:12 rztaylor

Hi @rztaylor ,

No ETA yet, but yes, it's one of the features I would like to add in the upcoming releases.

alefragnani avatar Dec 30 '20 22:12 alefragnani

Hi @alefragnani , thank you for such a great and useful extension.

I am also looking up to here to find whether this addtional feature has been requested. To make things clear, I made a screenshot to show this type of feature request, thanks a lot!

Feature-Request-VSCode-Bookmarks-03-19-2021-14

zhongxiang117 avatar Mar 19 '21 18:03 zhongxiang117

Hi @zhongxiang117 ,

Yes, that's the idea. It will display the bookmarks of the active/focused file, similar to the Outline panel.

Stay tuned

alefragnani avatar Mar 19 '21 20:03 alefragnani

@alefragnani , will be, thank you for your work and consideration!

zhongxiang117 avatar Mar 19 '21 21:03 zhongxiang117