alefragnani / vscode-bookmarks

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

[feature request] interaction with FIND #514

Closed hp48gx closed 2 years ago

hp48gx commented 2 years ago

There's a famous text editor for Windows that offers a very good implementation of bookmarks: https://textpad.com/products/textpad/features

In particular, a tremendously useful feature is the ability to bookmark automatically all the results of a search. Not sure if it's technically possible... can we get something similar here?

alefragnani commented 2 years ago

Hi @hp48gx ,

This was one of the first features someone asked for #7, but VS Code didn't provide an API back then. In the end, they closed the API request using a different approach (add support to extensions to run find), so nothing changed.

In the end, I gave up on waiting for the API and added multi-selection support #77. So, instead of simply use the search results, you just select them and while togging bookmarks, it will toggle for every selection.

Hope this helps