AutoComplete Word: alt+/
Rename: Shift+alt+r (Uniform change field or method name)
Generate Getter/setter:shift+alt+s, and then R
Delete Current line: Ctrl+d
Position to previous (last) edit point: Alt + Left (right) arrow,
Modify the method to:
Windows->preference->keys, View tab, find
Navigate:backward (forward) history.
Note To remove a key combination, use the right-click menu instead of the DELETE key
Switch between multiple files that are currently being edited: Standard CTRL (+shift) +F6
Opens a Java class file: Ctrl+shift+t. (very useful because you usually remember the class name, but don't remember its package)
Open any file (larger than Open class lookup): Ctrl+shift+r
View the outline:ctrl+o of the current Java class file
Navigate to the definition of the current object or open the Java file for the current class: F3 or press the CTRL key on the current word and click the word when the word appears underlined
Comment or uncomment the currently selected piece of code: CTRL+SHIFT+C, or ctrl+/
Find/Replace in current document: Ctrl+f
Find the next place in the current document: Ctrl+k
Find the previous location in the current document: Ctrl+shift+k
Find the next place in the current document increment: Ctrl+j
In the current document increment find previous: ctrl+shift+j
What is incremental lookup?
"Incremental find" is a way to find the content that can be entered dynamically, in the following ways:
1. Start Incremental Lookup: Press CTRL+J, then the "Increment find" bar appears in the middle of the status bar
2. Build a letter, such as "a", the document "A" is immediately highlighted
3. If you press Ctrl+j again at this point, find the next "a", if you press CTRL+SHIFT+J, then find the previous "a"
4. If you type the letter "B" at this time, the "AB" in the document highlights
Search throughout the project: Ctrl+h General use of the "File Search" tab
Find a reference to a class (or function) (that is, which files are used in this class): Ctrl+shift+g, I changed to alt+3.
Back to just Perspective:ctrl (+shift) +f8, I changed to Alt+1 and alt+2
Close Current file: Ctrl+w
Close all files that are currently open: ctrl+shift+w
To keep the code in the correct indent: ctrl+i
F5: Single-step jumping in
F6: one-step skip
F7: Step Outside
F8: Continue, if there are no breakpoints behind, the program will run out
Run to the line where the current cursor is located: Ctrl + R
Save All: Ctrl+shift+s
Full screen (Restore) Current editor: Ctrl+m
Reorganize the import statement and delete unnecessary or imported packages: Ctrl+shift+o (very useful)
Current word capitalization: ctrl+shift+x
Current Word lowercase: ctrl+shift+y
Copy Current line: default is Ctrl+alt+down
Formatting the current file: ctrl+shift+f, notice what format is modifiable
How do I change the format of ctrl+shift+f?
Preference->java->codestyle->formatter [Edit]
Add shortcut keys for menu items without shortcut keys: Use Preference->general->keys's Modify tab, find menu item in category, find the menu item in name, and click
Copy fully qualified name: Select a class name, then edit-and copy qualified name. This command is useful when writing XML code because it is often necessary to write a fully qualified name string for the class.
What is the fully qualified name:
The fully qualified name, full qualified name, refers to a class name that contains the full package name.
Skip to File header: Ctrl+home
Skip to end of file: Ctrl+end
Refresh: Select the package you want to refresh, F5
Generates a comment for the current element that can be used as a Javadoc: shift+alt+j
Open type hierarchy: F4
......
What is smart insert mode?
Smart insert mode, which is inserted into the left parenthesis, automatically inserts a closing parenthesis, a closing quotation mark automatically appears, a newline is automatically indented, and so on; it is useful and should be enabled at all times.
How do I customize the code template?
Preference->java->editor->templates page Add, or source->surround with->configure templates ...
Double-click the opening parenthesis (parentheses, brackets, curly braces) to select everything in parentheses.
Shift+↑: Select an area up
Shift+↓: Select an area down
Alt+↑: Moves the current row up
Alt+↓: Moves the current line down
Ctrl+↑: Equivalent to dragging the scroll bar upward
Ctrl+↓: The equivalent of dragging the scroll bar downward, or displaying the history of the input text if the current input state is in Chinese
Eclipse Common shortcut keys