Eclipse shortcut keys
Frequently used:
Ctrl + C copy
Ctrl + X cut
Ctrl + Z undo
Alt +/prompt
Ctrl + shift + F code formatting
Ctrl + F11 quick run
F11 quick debug
Ctrl + W close current window
Ctrl + M window maximize and minimize Switch
Ctrl + shift + C, ctrl +/comment a row
Ctrl + shift + X switch the selected string case
Alt + shift + R modify variable and method name
Locate and find:
Ctrl + E select the file window to be activated
Ctrl + shift + R find files
Ctrl + shift + T find the system class
Ctrl + F quick search string (current window)
Ctrl + O quickly locate all methods (view all alt +/in the current window or press ctrl + O)
Ctrl + L locate the row
Ctrl + Q locate the last write location
Ctrl + D Delete the current row
Ctrl + K select the string to locate the next position
Ctrl + shift + K the selected string to locate the last position
Ctrl + shift + O when selecting constants, variables, and method names, locate the selected position
Edit:
Ctrl + ← back to the last position
Ctrl + → return to the next position
Ctrl + alt + ↓ copy a row to the bottom
Ctrl + alt + ↓ copy a row to the top
Alt + ↓ move a row to the next row
Alt + ↓ move a row to the previous row
Ctrl + 1 Separate the selected method (select one or more rows)
Alt + shift + Z you will know (select one or more rows)
Ctrl + shift + L view all shortcut keys
Ctrl + shift + L set the custom shortcut key
Debug window:
F5 jump into Function
F6 jump to next step
F7 jump function
F8 jump to the next breakpoint
Ctrl + Shift + B set or cancel a breakpoint in the current row.