Tuesday, December 10, 2013

Useful "ShortCuts" in the Eclipse

Shortcut Description

Shortcuts for opening files or Java artifacts.
Ctrl + Shift + R Search dialog for resources, e.g. text files
Ctrl + Shift + T Search dialog for Java Types

Shortcuts to move, copy and delete lines.
Ctrl + Alt + Down Copy line(s)
Alt + Down/UP Move line(s) down/UP
Ctrl + D Delete a line

Shortcuts to comment java/xml file.
Ctrl + / or Ctrl + C Comment/uncomment the current line or selected lines
Ctrl + Shift + / or \ Block Comment/uncomment
Alt + Shift + J Generate Javadoc

Shortcuts to Search  java/other file.
Ctrl + F6 Editable list of buffers
Ctrl + Shift + G Find all occurrences
Ctrl + H, Ctrl + J Local search, incremental search
Alt + Shift + R Open resource

Shortcuts to View hierarchy structure.
Ctrl + Space Display the autocomplete list
F4 View class hierarchy
Ctrl + Alt + H Show call hierarchy
F3 / Ctrl + F3 Go to the declaration of the method/class/variable


CTRL + M Maximize current editor






No comments: