Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I scroll left and right in Eclipse editor with the keyboard without moving the cursor?

To scroll within the Eclipse editor without moving the cursor up and down one can use CTRL+Down or CTRL+Up. But what about left and right?

like image 487
Sven Lange Avatar asked Nov 03 '22 06:11

Sven Lange


1 Answers

It is not possible. If you search keys in Eclipse's Preferences, you will find out that you only have Scroll up and Scroll down that you can set hotkeys on.

My recommendation would be changing the maximum line length in the editor.
Make your code shorter. After all, looooong lines of code are not so readable.

Also, resize your editor area. If you feel strangled, remove the Outline, TaskList, and Build view from your right side of Eclipse, and enlarge the editor.

like image 92
Georgian Avatar answered Nov 09 '22 08:11

Georgian