This article is for those who use or intend to use Eclipse as IDE. Keyboard shortcuts are very important for comfortable and quick editing. I have abridged the following list of eclipse shortcuts from my own experience and literature.
File Navigation – Eclipse Shortcuts
- CTRL SHIFT R – Open a resource. You need not know the path and just part of the file name is enough.
- CTRL E – Open a file (editor) from within the list of all open files.
- CTRL PAGE UP or PAGE DOWN – Navigate to previous or next file from within the list of all open files.
- ALT <- or ALT -> – Go to previous or next edit positions from editor history list.
Java Editing – Eclipse Shortcuts
- CTRL SPACE – Type assist
- CTRL SHIFT F – Format code.
- CTRL O – List all methods of the class and again CTRL O lists including inherited methods.
- CTRL SHIFT O – Organize imports.
- CTRL SHIFT U – Find reference in file.
- CTRL / – Comment a line.
- F3 – Go to the declaration of the variable.
- F4 – Show type hierarchy of on a class.
- CTRL T – Show inheritance tree of current token.
- SHIFT F2 – Show Javadoc for current element.
- ALT SHIFT Z – Enclose block in try-catch.
General Editing – Eclipse Shortcuts
- F12 – Focus on current editor.
- CTRL L – Go to line number.
- CTRL D – Delete a line.
- CTRL <- or -> – Move one element left or
References-
http://javapapers.com/
http://www.eclipse.org/
Good one
Thanks Dost…:)
hi dinesh your site belongs to spring is excellent no more is there is equals to spring baby learn steps.thank u very much……………….
Very very thanks full for nice compliment. Keep learning with dineshonjava.com.
Thanks
Dinesh
I will really recommend my friend to visit this website it is very clear and informative. Thanks…
Thanks Sushil!!!!