Tuesday, March 23, 2010

Eclipse Tips

Eclipse Shortcuts I use the most:
Ctrl + Click = Source Browsing (absolutely amazing)
Ctrl + Shift + F = auto format
Ctrl + Shift + O = auto organize imports
Alt + Shift + R = Refactor Rename
Alt + Shift + S = source menu
Alt + Shift + T = Refactor menu
Ctrl + 1 = Quick fix proposals
Ctrl + 2 +  F, L, R = Assign to field, local variable, or rename
Atl + / = Auto complete word
F4 when caret is on a class = brings up Hierarchy
Ctrl + O = quick outline, very useful for moving to a function or seeing implemented functions as well as the outline tab.

General Windows Document Navigation Tips:
Ctrl + Arrow Keys = Right Arrow – next word
        Left Arrow – beginning of word
        Up Arrow – End of Line (same as End key)
        Down Arrow – Beginning of line (same as Home key)
Ctrl + Shift + Arrow Keys = Same as above but selects words or lines
   Exceptionally useful is Ctrl + Shift + Up Arrow selects the whole line
Ctrl + Home = Goto beginning of document
Ctrl + End = Goto end of document