Horizontal scrolling with the scrollwheel in Eclipse

Viewed 12374

I've been trying to find a way to scroll the text horizontally with my scrollwheel in Eclipse, similar to the way you can do it in Textpad. In Textpad if you hold ctrl while you scroll vertically it will scroll horizontally. Does anybody know if there is a configurable setting somewhere in Eclipse that will allow this? I've looked all over the "keys" setting page without being able to find it, and Google/Stack Overflow searches haven't turned anything up for me.

Thanks.

6 Answers

I guess this depends more on your OS than on Eclipse. For instance on Mac OS it's Shift + Scrolling.

You have a plugin supposed (not tested) to support horizontal scrolling.

But without plugin, SWT does not support horizontal scrolling on Windows.
Its support is planed for 3.6 though. (since 3.6M2, actually -- September 18, 2009)

New event constants have been added for horizontal mouse wheels.
See SWT.MouseHorizontalWheel and SWT.MouseVerticalWheel.

For me the best way while using eclipse or for that matter any IDE, is to have a new line char at the end of screen. I feel that to use horizontal scrolling to view data becomes bit difficult while going back and forth and I would like all code to be visible to me always. If the code you are trying to view requires you to use horizontal scroll bar then try to format it by using Ctrl+Shift+F.

The bug has been fixed in the latest update of Eclipse.

In your Eclipse menu bar, simply:

1. Click Help>Check for Updates.. (and wait for the progress bar at the bottom to finish checking) 2. Install all updates.

Once Eclipse IDE gets restarted, you are now able to scroll horizontally.

(Save yourself from having to install additional mouse softwares to create new configurations. Phew, I'm so glad I figured this one out for myself)

Cheers!

Related