arttuladhar
7/31/2015 - 4:10 AM

eclipseShortcuts.md

Mac ShortcutWindows ShortcutDescription
⌘ + ⇧ + RCtrl + Shift + ROpen / Search for Resources
⌘ + ⇧ + TCtrl + Shift + TOpen / Search for types (Useful in finding classes)
⌘ + OCtrl + OShows Quick Outline of the Java Class
⌘ + TCTRL-TShow type hierarchy
ALT – ↑ or ↓ALT – ↑ or ↓Move line/block
⌃ + SpaceCtrl + SpaceContent assist and Code completion
⌘ + ⇧ + FCtrl + Shift + FFormat source code
⌘ + LCtrl + LGo to Line Number
⌘ + DCtrl + DDeletes current line in the editor
⌘ + ECtrl + ETo select an editor from the currently open editors
⌘ + ⇧ + PCtrl + Shift + PMove cursor to the matching bracket
⌘ + MCtrl + MMaximize Java editor
⌘ + KCtrl + KFind next for search text in the opened editor
⌘ + ⇧ + GCtrl + Shift + GSearch for references in the workspace
⌘ + 1Ctrl + 1Quickfix for errors and warnings, depends on the cursor position
⌘ + SCtrl + SSave current editor
⌘ + QCtrl + QMoves cursor to the last edited position
⌘ + ⇧ + OCtrl + Shift + OOrganize imports in the current java file
⌘ + fn + F8Ctrl + F8Shortcut for switching perspectives
Fn + F3F3Move cursor to the declaration of the variable
Fn + F4F4Show type hierarchy of the variable
Fn + ⇧ + F2Shift + F2Shows the javadoc of the method, class
⌘ + Option + RAlt + Shift + RRename of package, class etc
⌘ + Option + TAlt + Shift + TOpens the quick refactoring menu