Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Code - Dragging to highlight text moves way too fast at edges

is there a way to adjust the speed at which the code scrolls when highlighting using the cursor? If I need to highlight more code than I see in the normal view I will usually use my mouse to highlight from the top and move it down to the bottom.

In other text editors the code will scroll up and the highlighting continue at a reasonable pace.

In VS Code if you do this it will speed up incredibly fast, leading me to many times reach the end of the code. This is in the matter of pixels. Is there any way to adjust this speed?

like image 610
Copperström Avatar asked Dec 12 '17 07:12

Copperström


People also ask

How do you smooth scroll in VS Code?

Update November 2020 VS Code has been updated and its settings UI also has changed. So to enable smooth scrolling in VS Code. Go to settings and just search smooth you can just enable this setting to enable smooth scrolling.

How do I move highlighted text in VS Code?

For moving the text right and left you can use TAB key: TAB move the selected text right. SHIFT + TAB move the selected text left.


1 Answers

This is an active bug, as reported here. The quick fix is to add the following to your user settings:

"editor.smoothScrolling": true

like image 117
jabacchetta Avatar answered Oct 20 '22 20:10

jabacchetta