Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Horizontal scrolling like vertical scrolling in IntelliJ IDEA

Vertical scrolling in IntelliJ IDEA works as we would expect: moving the viewport up and down. Horizontal scrolling, however, doesn't move the viewport, but rather it moves the cursor left and right.

How can I make horizontal scrolling move the viewport (like vertical scrolling does)?

If it matters, this is on a Dell Inspiron 5000 series laptop. The trackpad allows for scrolling in either direction by using two fingers. Programs like Firefox correctly move the viewport when scrolling horizontally.

like image 866
Mike Avatar asked Oct 12 '14 17:10

Mike


People also ask

How do I scroll in Intellij?

Horizontal scrolling can be enabled in 'File | Settings | Editor | General | Appearance'. Click-to-scroll toggle mode can be disabled in 'File | Settings | Editor | General | Appearance'. Mouse shortcut can be customized in 'File | Settings | Keymap | Plugins | Fast Mouse Scrolling | Start Fast Mouse Scrolling'.

How do you make horizontal scrolling?

Horizontal scrolling can be achieved by clicking and dragging a horizontal scroll bar, swiping sideways on a desktop trackpad or trackpad mouse, pressing left and right arrow keys, or swiping sideways with one's finger on a touchscreen.

What is bidirectional scrolling?

Bidirectional scrolling allows a user to scroll both vertically and horizontally when using an interface.

Is horizontal or vertical scrolling better?

Horizontal scrolling saves a lot of vertical screen space. Rather than displaying all the content at once on a very long page, horizontal layouts introduce users to smaller chunks of information. The layout is much more flexible. One can add content in both directions — vertical and horizontal.


1 Answers

On Windows, SHIFT + scroll up/down should work, if it does not, you can add a key binding in the keymap. Open File > Settings > Keymap and search for "Scroll Left". Right click on the item and select add mouse shortcut and try swiping horizontally on your trackpad, if it does not detect, you can hold SHIFT and scroll up or down depending on your preference. Repeat the same for "Scroll right". Tested on Windows 10 Enterprise build 1803 on Surface Book 2.

like image 99
Jo Kachikaran Avatar answered Sep 23 '22 14:09

Jo Kachikaran