Shortcuts are among the effective ways to increase your speed and efficiency .Eclipse apart from standard shortcuts like CTRL+A provides many other shortcuts using which you can increase your productivity.Below I’m listing the 10 essential eclipse shortcuts which every eclipse user should know to work more effectively.
Organize imports.Press this combination to import all missing classes which is needed to run your code.Also this will remove all unused classes.
Delete a row.No need highlight the entire text and press delete or use mouse , just press CTRL+D and you are done.
One of the most effective eclipse shortcut opens a search dialog to search form recently used resources.U can any patter like Foo* to search all files whose name starts with foo prefix.
Search .Use this eclipse shortcut to search any class ,method ,string within text .And a lot of other things.
Another important eclipse shortcut.Highlight an object and press F3 to go to the object declaration.Select a class name and press F3 to view class definition.
Used for navigating the code.Lets say you are in class A and there is an object of type B in it you pressed F3 on that and moved to class B, now you want to go to class A again simply press ALT+Right arrow if you again want to go to class B press ALT+Left Arrow.
7.CTRL+SHIFT+\ or /
Add and remove block comments around a piece of code.
Move between perspectives.
format ,use this eclipse shortcut to format your ugly looking code .
Quickfix , use this eclipse shortcut to see quickfixes available for any errors or warnings.
Though there are many more shortcuts available in eclipse but I mentioned only those which I think are a kind of must know , if u think I forgot something important let me know I will add it.