Alt+/ Content Assistance
The most commonly used shortcut keys save time to type code one word at a time
Ctrl+Shift+F Format Documents
Ctrl+Shift+O Bulk import package
Ctrl+t Open the type tree
Ctrl+left mouse button/F3 open the declaration
I often use it when viewing the code
Alt+left arrow backs back in navigation history.
If you use Ctrl+left mouse button to track the code too in-depth, you can use this shortcut key to go back step by step. Similarly, + right-click is to move forward in navigation history.
Ctrl+Shift+R Open the file
If you remember the name, use this to save time to open the package
Ctrl+O Quick outline
From now on, no need to open the outline window
Ctrl+1 Quick correction
If there are any minor problems with a certain line, you can use this shortcut key
Ctrl+k Find the next one
Find the next one in a file based on the variable name, the previous one is Ctrl+Shift+k
Ctrl+Shift+/(number divide sign) Collapse all methods
+Multiple sign opens all methods, and if it does not work, you need to set it.
Settings windows->perferences->General->Editors->Structured Text Editors
And the code folding selection in windows->perferences->Java->Editors->Folding
Ctrl+L Jump to the specified line
Shortcut keys about comments
Ctrl+/ Single line comment
Multiple lines can be selected and multiple lines can be commented, and uncomment can be used again
Ctrl+Shift+/ Multi-line comments
Cannot uncomment after formatting
Ctrl+Shift+L View a list of all shortcut keys
Basically not used
The above summary of commonly used shortcut keys for Eclipse (must-read) is all the content I share with you. I hope you can give you a reference and I hope you can support Wulin.com more.