Eclipse has powerful editing capabilities, 工欲善其事. Its prerequisite, mastering the Eclipse shortcut keys. Can greatly improve work efficiency.
Gaze ctrl+/
You can add gaze or cancel gaze to the cursor "row" or "Selected line". can also join or cancel gaze on multiple lines
High-speed fix Ctrl + 1 Delete current line ctrl+d
The cursor is anywhere in the line. Press Ctrl+d to delete the current row and, of course, to delete the empty row, not to delete the row. And pressing a lot of delete keys.
Formatting the entire document CTRL+SHIFT+F insert blank line Shift + Enter
Shift+enter inserts a blank row on the next line of the current row (at which point the mouse can be at any position in the current row, not necessarily the last)
Shift + Ctrl + Enter inserts a blank line on the previous line of the current row
Edit Form Maximize Ctrl + M
Large screen to increase productivity, Ctrl + M to maximize edit form
Show Outline Ctrl + O
Displays an outline of the methods and properties in the class. Methods and properties to locate classes at high speed
Find Java class file Ctrl + Shift + T
Find a Java class file in the search workspace (Workspace) build path, do not suffer from the discovery of classes, and be able to use "*", "? "And so on wildcard characters.
Find References Ctrl+shift+g
Find references to classes, methods, and properties.
This is a very useful shortcut key. For example, to change the code that references a method. The ability to quickly locate all references to this method through the "ctrl+shift+g" shortcut key.
Fallback history alt+←, alt+→
Back history and forward history. It's useful when you're tracking code. The user may have looked up several related places, but may not remember clearly. You can locate the order of lookups by using these two shortcut keys.
Find selected content at high speed ctrl+k
Ctrl + K High-speed down to find the selected content, no longer need to use the mouse to click the Find dialog box.
Ctrl + Shift + K high-speed up to find selected content
Renaming Alt+shift+r
Eclipse often uses shortcut keys