Wednesday, November 26, 2014

Adding Keyboard Shortcuts in Eclipse

Adding keyboard shortcuts can help develop code much faster. For instance, when refactoring it is common practice to move multiple lines of code up, down , right, left. In Eclipse->Window->Preferences->General->Keys, change the following:
Bind "Shift Left" to Shift+Alt+Left
Bind "Shift Right" to Shift+Alt+Right
Also, you may want to show line numbers: In Eclipse->Window->Editors->Text Editors->Show line numbers

This post was reposted from http://scottizu.wordpress.com/2013/08/19/adding-keyboard-shortcuts-in-eclipse/, originally written on August 19th, 2013.

No comments:

Post a Comment