vscode-bookmarks
vscode-bookmarks copied to clipboard
[FEATURE] - Create multiple labeled bookmarks out of individual multi-cursors selections
Would it be possible to create a command that could create a bunch of labeled bookmarks at once ? It would create one bookmark per cursor, the label of each being the selected text on the line that the cursor is on:
This would create three labeled bookmarks, being:
- git push
- git fetch
- git pull
Hi @akharrou ,
Right now, the Bookmarks: Toggle Labeled
command already support multi-cursor. The only difference is that it uses the first cursor/selection as suggested label, for all bookmarks.
Instead of creating a new command, I would simply update the bookmarks.label.suggestion
setting (when defined as useWhenSelected
), to support multi-cursor scenarios, using each selection as its own label.
Hope this helps