Mastering the common usage skills of Eclipse is the basic literacy of a code farmer. Talk less, straight to the subject
Shortcut keys ( Select the variable name or method name you want to query first)
"alt+/" provides support for user content, which complements the method name, the property name, or provides an optional list of methods, and mom doesn't have to worry about me remembering the whole class name or method name.
"Ctrl+o" shows an outline of the methods and properties in a class that quickly locates the methods and properties of a class and is extremely useful for finding bugs
"ctrl+/" Quick comment, select multiple lines, one-time comment off, if it is a line of comments, it is an egg pain, there are 1000 lines of words, the heart of a direct rush to collapse
"Ctrl+m" window to maximize and restore, double-click the title of the window also has the same effect
"Ctrl+d" Delete when moving forward
Find and locate shortcut keys
"Ctrl" to view the declaration of a class, method prototypes
"Shift+ctrl+g" view classes, methods and properties are called to where, that is to find references to classes, methods and properties, very practical not to explain
"Ctrl+k", "ctrl+shift+k" quickly look down and up for the specified content,
"Ctrl+shift+t" Find the Java class in the workspace build path, can quickly find what they want in thousands of Java classes, is to save mankind Ah!!!
also provides "*" (any number of), "? "(Only one), and so on wildcard characters
"Ctrl+shift+r" finds all Files (Png,txt,java) in the current workspace build path, or you can use a wildcard character
"Shift+ctrl+o" Quick generate import
"CTRL+SHIFT+F" format code, the code in accordance with the written format specification re-typesetting, code farming compulsory skills
"Ctrl+shift+w" finds a path in the same project as the current file, and it is useful to find the package that contains the file.
"Ctrl+l" navigates to a row in the editor
"alt+←", "alt+→" back history and forward history, are very useful in tracking code.
"F4" Displays the inheritance relationship of the class and opens the class inheritance view
"Ctrl+1" shows the quick fix policy
debugging shortcut keys
"Ctrl+shift+b" sets a breakpoint or cancels a breakpoint at the current line
"F11" Debugging the last program executed
"Ctrl+f11" Run the last executed program
"F5" is traced to the inside of the method
"F6" stepping program, one line at a row, do not jump into the inside of the method
"F7" Executes the method, returning to the next statement that called this method
"F8" continues execution to the next breakpoint or program end
Common editing shortcuts, which are not unique to eclipse, are the most frequently used,
"Ctrl + C", "Ctrl + V" copy, paste, and the code farmer also has a title "CV Warrior"
"Ctrl+x" cut
"Ctrl+s" Save the file, form the habit of knocking over the code to save the file, hehe!
"CTRL + Z" undo
"Ctrl+y" repeat
"Ctrl+f" Lookup
"F2" File Rename
Common shortcut keys for Eclipse