Shortcut Name Description
-------- ---- -----------
Ctrl-1 Quick Fix Suggestions to automatically solve whatever problem
exists on the current line.
Ctrl-Space Content Assist CamelCase-sensitive word completion
---------------------------------
Shift-Alt Refactoring All the refactoring shortcuts share this modifier.
Shift-Alt-M Extract Method Select the code you want in a method of its own, then
type this to make it so.
Shift-Alt-R Rename Method, class, variable, parameter - whatever - select
it and rename it, everywhere it's used.
Shift-Alt-I Inline Move the body of the selected method inline
---------------------------------
Alt-up-arrow Move Lines Up Move the selected line(s) up
Alt-down-arrow Move Lines Down Move the selected line(s) down
---------------------------------
Shift-Ctrl-F Format Format the selected code (or all code, if none is selected).
Shift-Ctrl-O Organize Imports Include whatever imports are necessary and get rid
of those that aren't used.
---------------------------------
Shift-Ctrl-T Open Type CamelCase-sensitive class lookup
Ctrl-click Go To Declaration Whatever you're control-clicking, see where it's declared.
Ctrl-Shift-L View All Brings up a list of all the available Eclipse shortcuts.
Ctrl-3 Quick Access Brings up a dialog box which lets you type in a view or a
New Wizard to launch.
Ctrl-F11 Run Last Launched Quick way to rerun your tests and see if you're red or green.
CamelCase? editing is great, and available many places within Eclipse. To create a new StringBuffer?, I type:
SB<ctrl-space><enter><space>sb<space>=<space>new<ctrl-space>();
which gives me:
StringBuffer sb = new StringBuffer();
which, if I'm counting right, is 37 characters for the price of 17, just about a 2:1 ratio - and I could skip the spaces around the equals sign and let Eclipse format for me later. Use CamelCase? in Open Type, too - to get to the StringBuffer? type, just type SB for a longish list, or StBuf? to get right to it.