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.
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'.
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.
Bidirectional scrolling allows a user to scroll both vertically and horizontally when using an interface.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With