Home > Article > Backend Development > Commonly used Eclipse shortcuts, eclipse shortcuts_PHP tutorial
Ctrl 1 quick fix
Ctrl D: Delete current line
Ctrl Alt ↓ Copy the current line to the next line (copy and add)
Ctrl Alt ↑ Copy the current line to the previous line (copy and add)
Alt ↓ The interactive position between the current line and the line below (especially practical, you can save the need to cut and paste first)
Alt ↑ The interactive position between the current line and the previous line (same as above)
Alt ← Previous edited page
Alt → Next edited page
Alt Enter displays the properties of the currently selected resource (project, or file, or file)
Shift Enter inserts a blank line next to the current line
Shift Ctrl Enter inserts a blank line in the current line
Ctrl Q locates the last edited place
Ctrl L locates on a certain line
Ctrl M maximizes the current Edit or View (press again to vice versa)
Ctrl / Comment the current line, press again to uncomment
Ctrl O Quickly display OutLine
Ctrl T quickly displays the inheritance structure of the current class
Ctrl W Close the current Editor
Alt / Code Assistant completes the insertion of some code
Ctrl Shift E displays the manager that manages all currently opened Views (you can choose to close, activate, etc.)
Ctrl Shift F4 Close all open Editors
Ctrl Shift X changes the currently selected text to all uppercase
Ctrl Shift Y changes the currently selected text to all lowercase
Ctrl Shift F format current code
Ctrl Shift P locates the corresponding matching character (such as {}) (when positioning from the front to the back, the cursor must be inside the matching character, from the back to the front, and vice versa)
--Alt Shift starts
Alt Shift R Rename (Rename of variables and classes)
Alt Shift M extraction method (this is one of the most commonly used methods in refactoring, especially useful for a lot of muddy code)
Alt Shift C Modifies the function structure (more practical, there are N functions calling this method, you can modify it once)
Alt Shift L extracts local variables (you can directly extract some magic numbers and strings into a variable, especially when called in multiple places)
Alt Shift F changes local variables in Class to field variables (a more practical function)
Alt Shift I merge variables (it may be inappropriate to say Inline)
Alt Shift V moves functions and variables (less commonly used)
Alt Shift Z Reconstructed Regret Medicine (Undo)
Alt Shift J method to add comments
--Navigation
Scope Function Shortcut Key
Global Open Type Ctrl Shift T
Global Open Resource Ctrl Shift R
Java Editor Show Outline Ctrl O
Global Open type in hierarchy Ctrl Shift H
Global Go to matching brackets Ctrl Shift P
Global Go to previous editing location Ctrl Q
Java Editor Go to previous member Ctrl Shift ↑
Java Editor Go to next member Ctrl Shift ↓
Text Editor Go to line Ctrl L
http://hovertree.com/texiao/
--Run
Scope function shortcut key
Global single step back to F7
Global single step to skip F6
Global single step to jump to F5
Global single step to jump to select Ctrl F5
Global debugging last started F11
Global continue F8
Global single step using filter Shift F5
Global add/remove breakpoints Ctrl Shift B
Global display Ctrl D
Global run Last start Ctrl F11
Global run to line Ctrl R
Global execution Ctrl U
http://www.cnblogs.com/roucheng/p/3520056.html