- Declaration of completion code: alt + /
- Quick fix: ctrl + 1
- Batch guide package: ctrl + shift + o
- Use single-line comments: ctrl + /
- Use multi-line comments: ctrl + shift + /
- Cancel multi-line comments: ctrl + shift + \
- Copy the code of the specified line: ctrl + alt + down or ctrl + alt + up
- Delete the specified line of code: ctrl + d
- Move the code up or down : alt + up or alt + down
- Switch to the next line of code space: shift + enter
- Switch to the previous line of code: ctrl + shift + enter
- View the source code: ctrl + select the specified structure or ctrl + shift + t
- Return to the previous edit page: alt + left
- Go to the next edit page: alt + right
- The cursor selects the specified class to view the inheritance tree structure: ctrl + t
- Format code: ctrl + shift + f
- Select a few lines and move backwards as a whole: tab
- Select several lines and move forward as a whole: shift + tab
- In the current class, display the class structure, and support the search for specified methods, attributes, etc .: ctrl + o
- Batch modify the specified variable name, method name, class name, etc .: alt + shift + r
- Switch the capitalization of the selected structure to uppercase: ctrl + shift + x
- Switch the case of the selected structure to lower case: ctrl + shift + y
- Bring up structures such as getter / setter / constructor: alt + shift + s
- Display the attributes of the currently selected resource: alt + enter
- Quick search, refer to the selected Word to quickly locate the next one: ctrl + k
- Close the current window: ctrl + w
- Close all windows: ctrl + shift + w
- See where the specified structure has been used: ctrl + alt + g
- Find and replace: ctrl + f
- Maximize the current View: ctrl + m
- Go directly to the first position of the current line: home
- Directly locate to the end of the current line: end
Eclipse commonly used shortcut keys
Guess you like
Origin blog.csdn.net/za_zhi/article/details/105568243
Ranking