简体   繁体   中英

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.

Probably not 100% solution but you can try to use touchpad scrolling while holding the SHIFT button.

In case you would have to provide some info on your OS and Idea version used, as I have a horizontal scrolling working on Linux.

If you are on Linux Ubuntu Enable horizontal scrolling in Ubuntu can be helpful.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM