Answers for "vs code select every lines"

2

vs code select every lines

[1] Press: Ctrl + H
[2] Check the regex icon: .*
[3] In the find field, enter the following (replace N with the number of lines to select: 2 for every 2nd, 10 for every 10th):
(.*\n){N}
example: (.*\n){5} for selecting every 5th line
[4] Press: Alt + Enter
[5] Move the multiple cursors with your arrow keys (and/or type what you want)
Posted by: Guest on July-22-2021
0

vs code select multiple lines

// mac OS shortcut 
alt + (click on the line, then click the next line etc)

// note: you can click on the cursor to remove it if you've placed it by mistake
Posted by: Guest on August-24-2021

Code answers related to "vs code select every lines"

Browse Popular Code Answers by Language