Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Line selection not working properly on VSCode

My line selection is acting very weird on VSCode. It goes in this weird multi-line edit mode. I am unable to select multiple lines fully by dragging my mouse down on lines. Even when I use shift and down arrow it does not select the whole line.

Mouse drag selection not working:

Keyboard Shift + Down Arrow not working:

like image 261
Parth Tamane Avatar asked Aug 31 '20 00:08

Parth Tamane


2 Answers

On Mac the solution was simple go to the menu "Selection" and deselect the option "Column Selection Mode".

Now it works as expected.

code selection

like image 90
Duilio Avatar answered Sep 24 '22 22:09

Duilio


Two things I use:

  • I select full lines by clicking and dragging in the 'numbers' columns

  • For multi-line to work I use the menu option -> Selection -> Column Select Mode

like image 43
Michael Durrant Avatar answered Sep 24 '22 22:09

Michael Durrant