Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Page down/up when clicking in the VSCode scrollbar

Is there a setting to change the click behavior in the scrollbar to page up/down instead of jumping to the location in the file? This is the usual scrollbar behavior in almost every other applications except maybe unix applications. A suggestion could be:

  • Left click: page up/down
  • Right click: jump to location
like image 504
Darth Vader Avatar asked Nov 08 '22 18:11

Darth Vader


2 Answers

There is a setting for this now:

Editor: Scroll by Page

Controls whether clicks scrolls by page or jumps to click position.

With that setting enabled, the editor will scroll by one viewport page when clicking anywhere above or below the scrollThumb. With it not enabled (the default) it will scroll to the position in the scroll track where you clicked.

like image 146
Mark Avatar answered Dec 18 '22 09:12

Mark


This behavior does not currently exist. I suggest opening a feature request on github.

like image 22
Llewey Avatar answered Dec 18 '22 09:12

Llewey