Multi-line selection in VS Code

7

Is there any way to do multi-line selection in VS Code, the way you do in Sublime and other IDE's?

I tried the ALT SHIFT + arrow that works in Visual Studio, but instead of selecting the VS Code multi-line or selecting the line (right arrow) or copy the line (down arrow).

    
asked by anonymous 30.08.2017 / 14:09

2 answers

8

This can be done using the Alt + Mouse main button.

This will create a cursor per line clicked, holding the mouse button and dragging to select, allows you to select multiple lines.

Or, you can use the combination Ctrl + Shift + Alt or ↑ or ← ).

Where, the up and down arrows are used to move up / down lines and the left and right arrows to select part of the text on the right side.

    
30.08.2017 / 14:23
3

In VS Code select the tag and use the Crtl + D keys. It will select the tags below each touch in D .

    
06.04.2018 / 04:34