Eclipse and IDEA shortcut keys (to be improved)

1.Eclipse

1.1 Ctrl + ?

Ctrl + C: Copy the selected part.

Ctrl + D: Delete the current line.

Ctrl + F: Search the current operation page.

Ctrl + H: Open the search dialog.

Ctrl + S: Save operation.

Ctrl + V: Paste.

Ctrl + X: Cut selected data.

Ctrl + Y: Resume the previous operation.

Ctrl + Z: Undo the last operation.

Ctrl + /: Add/uncomment the selected line.

2.2 Alt + ?

Alt + Left: Back to the editor operation in the navigation history (back to the history operation).

Alt + Right: Forward the editor operation in the navigation history (execute the historical operation forward).

Alt + /: Content tips.

2.3 Ctrl + Shift + ?

Ctrl + Shift + I: Calculate the value of the selected expression in debug mode.

Ctrl + Shift + O: Import related reference jar packages or delete redundant reference jar packages.

Ctrl + Shift + R: Search for specific resources by name.

Ctrl + Shift + X: Convert all selected English letters to uppercase.

Ctrl + Shift + Y: Convert all selected English letters to lowercase.

Ctrl + Shift + /: Make a block comment on the selected content.

2.IDEA

2.1 Ctrl + ?

Ctrl +F12: View all methods in the class.

Ctrl + X: Cut the entire line (when no code is selected), cut the selected part.

Ctrl + Z: Undo the last operation.

2.2 Alt + ?

Alt + 7: View all methods in the class.

Alt + F8: Calculate the value of the selected expression in debug mode.

Alt + Left: Back to the editor operation in the navigation history (back to the history operation).

Alt + Right: Forward the editor operation in the navigation history (execute the historical operation forward).

Ctrl + Alt +?

Ctrl + Alt + B: Enter the interface method implementation class.

Ctrl + Alt + O: delete the referenced redundant jar package

2.3 Ctrl + Shift + Alt + ?

Ctrl+Shift+Alt+S: Open the Project Structure.

Ctrl+Shift+Alt+U: Display class diagram.

Guess you like

Origin blog.csdn.net/weixin_43611145/article/details/105066841