Open akharrou opened 3 years ago
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
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: