1. Editing classes
Ctrl + Q jumps to the last edit
Ctrl + 1 Quick fix tips
Alt +↓ Move one row down the current line
Alt +↑ Move up one row up the current line
Ctrl + Alt +↑ Copy the current line to the previous line (copy incremented)
Ctrl + Alt +↓ Copy the current line to the next line (copy incremented)
Ctrl + L positioned in a row
Ctrl +j Forward Incremental Lookup
Ctrl + Shift + J to increment lookup
Ctrl + O quickly displays the structure of the class: the package to which the class belongs, all the variables and methods in the class
Ctrl + T quickly displays the inheritance structure of the current class
Ctrl + Shift + M Adds an import statement to the file header
Ctrl + Shift + O Add the missing import statement and delete the extra import statement
Alt + Shift + O When a variable is selected, use this key combination to highlight all of the variables in the text (or click the Toggle Mark Occurrences button in the toolbar)
Alt + Shift + R renaming variables (rename of variables and classes, which can save a lot of labor than manual methods)
Alt + Shift + M Extract a method for a piece of code (this is one of the most common methods of refactoring, especially useful for a whole bunch of mud codes)
2. Formatting documents
Ctrl + I Indents the code of the selected block by formatting it to align the code
Ctrl + Shift + F formatting documents, formatting the entire document, including indents, line alignment, spaces between words
3. Window class
Ctrl + M Toggles the size of the window
Ctrl + Shift + F4 Close all open editing windows
CTRL + W (CTRL + F4) Close the current edit window
4. File class
Ctrl + S Saves the current file
Ctrl + Shift + S saves all unsaved files
Eclipse shortcut keys