Documente Academic
Documente Profesional
Documente Cultură
nataraz.in /eclipse-shortcuts/
By Admin 05/08/2013
Hi Folks,
These are the most common Eclipse shortcuts used in the industries
Ctrl+shift+\ Used to uncomment the Multiline comments.Select the commented text first
Ctrl+T Place the cursor on Interface/Class name first. It gives the list of child classes
Alt+Shift+J Place the cursor inside Method/class.Prepares the javadoc for the classes/methods
Ctrl+space Autocomplete/assist
Sysout+ctrl+space System.out.println
F3 Select the method that is called.Press F3 will take you to the method defination
Ctrl+Shift+G Put the cursor on className/Method Name first.It will show all the references of that
class/Method.Find who has called that method
Ctrl+Shift+R Used to Search for any resources like .java,.jsp within the workspace
Alt+Shift+X Run As
Alt+Shift+D Debug As
1/2
Alt+Shift+R Rename a class/variable and refactor it.Changes are affected to all the occurance
Alt+Shift+M Select the block of code and press this shortcut.Will form another method
containing that selected code.Helps to break the big method into smaller chunks
Alt+Shift+C Change method signature and refactor it.All the references will be updated
Ctrl + Alt + H Place the cursor at the method name,shows the whole hierarchy of method call
2/2