In Sublime Text, I can use Ctrl+D or Command+D (Mac OS) to quickly add new cursors at the next occurrence(s) of the currently selected text. How can I do this in VSCode?
Asked
Active
Viewed 702 times
3 Answers
4
Thanks Benjamin. For reference, this functionality has been added (since v0.3.0):
- ⌘D selects the word at the cursor, or the next occurrence of the current selection.
- ⌘K ⌘D moves the last added cursor to next occurrence of the current selection.
- ⌘U undoes the last cursor action.

Richard Snazell
- 242
- 1
- 8
1
We are preparing for a new version of VS Code that will have this feature enabled. It should be released next week!

Benjamin Pasero
- 113,622
- 14
- 75
- 54
-
1Thanks for the answer Benjamin - I would recommend this is deleted now, as 0.3 is out - and future readers may become confused. Thanks again for the excellent product your team is putting together – Chris Jun 04 '15 at 05:04
0
Box Selecting
Windows : 'shift' + 'alt' + 'Mouse Left Button'
macOS : 'shift' + 'option' + 'Click'

Glorfindel
- 21,988
- 13
- 81
- 109