Tuesday, January 28, 2014

Eclipse IDE Horizontal Scrolling With a Mouse

System wide horizontal scrolling with Ctrl+ or Shift+ mouse wheel

There is an outstanding Bug 201984 to provide a horizontal scrolling mechanism within Eclipse for mouses without a tilt scroll wheel. Untill it's acutally implemented (please register and vote up the bug) the below work with X-Mouse Button Control works just great, and is also system wide.

  • Download X-Mouse Button Control
  • In the main window go to 'Layer 2' and change 'Wheel Up' and 'Wheel Down' to 'Scroll Windows Right' and 'Scroll Window Left'
  • Go into the 'Settings > Modifier Keys Tab' and select 'Shift' for the 'Activate Layer 2' setting.

Now in whatever active window, including Eclipse pressing shift and then scrolling up and down will scroll horizontally.

If this has helped you feel free to follow me on Google+ or on twitter @danielsokolow.

Update: I have been using this approach for a few days now and noticed that not all windows are horizontal scroll enabled - this appears to be a limitation of Eclipse IDE rather than this approach. Please take a moment and upvote this Eclipse Bug #201984

No comments:

Post a Comment