Eclipse Keyboard Shortcuts
Here are some useful Eclipse keyboard shortcuts.
Standard shortcuts
- CTRL-backspace: delete the word behind the cursor
- CTRL-delete: delete the word in front of the cursor
- CTRL-M: minimize/maximize the current editor window
Shortcuts that I customize
- SHIFT-CTRL-F: Find in files
- SHIFT-CTRL-J: Run JUnit test
It's sometimes a little difficult to get the key bindings to work as expected. For the CTRL-SHIFT-F thing, you need to follow a few steps. First, search for the "File Search" action. Add a CTRL-SHIFT-F key binding for it using "when" of "In Windows". Then, copy that binding a create a duplicate with a "when" of "Editing Java Source". There's apparently no way to say "always, dammit!".
You'll have to do something similar for Junit.