Useful Eclipse shortcuts

I listed the most useful and frequently used shortcuts in Eclipse.

Shortcut Explanation
CTRL + 1 Shows quick fixes for common issues, like missing semi colons, import issues,
missing declarations.
CTRL + Shift + O Fix missing imports
CTRL + Shift + F Autoformating
F3 Opens the declaration
ALT + Shift + J Add javadoc
CTRL + ALT + H Open Call Hierarchy
Ctrl+Space Content Assist
Ctrl+Shift+Space Context Information
Alt+Shift+R Rename – Refactoring
Alt+Shift+L Extract Local Variable
Alt+Shift+M Extract Method

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.