How do I get a cursor on every line in vscode
Hold Alt+Shift+i
Hold Home (fn+-> Mac) for right-most or End for left most(fn+<- Mac)
Hold Alt+Shift and select the block. Then press End or Right button. You get selected individual lines.
I use version VSCode 1.5.3 in Windows.
The command Selection / Add Cursors to Line Ends alt
shift
i
will put a cursor on every line in the current selection. (For mac use opt
shift
i
)
Tip: You can pull up the keyboard shortcut reference sheet with ctrlk,ctrls (as in, those two keyboard combos in sequence). (For mac use cmdk,cmds)