multi cursor vscode code example

Example 1: multiple word select in vs code

//Selects the word at the cursor, or the next occurrence of the current selection.
Ctrl+D 

//To add cursors to all the occurrences of a highlighted word 
Ctrl+Shift+L 
//Then select all occurrences of that word

Example 2: multi cursor vscode

# for windows
		Alt+Click
# or
		Ctrl+Alt+down 
		Ctrl+Alt+up

#for mac
		command+option+down
		command+option+up

Example 3: visual studio code spawn multiple cursors

//Spawn multiple cursors in Visual Studio Code (OS: Windows)
alt + left mouse click

Example 4: vscode add multiple cursors

//mac
command+option+down
command+option+up

Tags:

C Example