Answers for "in vs code how to select all 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
25

how to select multiple lines in vs code

Windows: Ctrl + Alt + Arrow Keys.
Linux: Shift + Alt + Arrow Keys.
Mac: Opt + Cmd + Arrow Keys.
Posted by: Guest on April-19-2020

Code answers related to "in vs code how to select all lines"

Browse Popular Code Answers by Language