alefragnani / vscode-bookmarks

Bookmarks Extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=alefragnani.Bookmarks
GNU General Public License v3.0
1.65k stars 161 forks source link

[FEATURE] - Only show on VISIBLE editors/files #696

Closed seowner closed 3 months ago

seowner commented 4 months ago

The current way Bookmarks is implemented is that it shows the same bookmarks across all files, even when you're not editing the file.

Please add an option to show the file's dedicated bookmarks ONLY when you are editing that file. Having all of the other bookmarks open is really frustrating.

Also, I have a lot of bookmarks and my entire scrollbar is blue... I've looked everywhere and can't find a setting to disable this. Please add!

alefragnani commented 4 months ago

Hi @seowner ,

This is already being tracked in #238. The idea is to provide a new view/panel that will show the bookmarks of the current file, similar to the Outline and Timeline views.

About the second request, do you really mean the scrollbar, located at the right of the editor, or the gutter/line number, where the bookmark icon is located? The bookmark icon is customizable (border and background color) so you could customize it to be less intrusive. The render in the scrollbar, on the other hand, is not customizable, today. If you really need this, please open a new issue, or update this one to reflect that request only.

Hope this helps

alefragnani commented 3 months ago

I'm closing this issue because no new comments has been added since my last question. Feel free to reopen/comment if you have more details.

Thanks for your understanding