On the Batch Rename extensions’s marketplace page a user is shown dragging with their mouse from the top to the bottom of a text file, placing a multi-cursor on each line. How exactly are are they doing this?
Question posted in Visual Studio Code
View the official documentation.
View the official documentation.
2
Answers
This is done by clicking and dragging with the middle button on your mouse. You can also use Ctrl+Alt+Up/Down on a keyboard.
It uses the modifier
Shift+Alt
No need to drag with the modifier:
Click
in the first lineShift+Alt+Click
in the last line