I. Common shortcut keys related to files
CTRL + N: Create a new project, file, folder, etc.
Ctrl+m: Maximizing/restoring the editing window
Alt+enter: Opens the Properties window for the selected project, package, file, etc.
Alt+shift+r: Rename the project name, file name, method name, variable name:
To rename the count, select Count to click the shortcut key, as follows:
Ctrl+e: Open the Edit window to view the table of contents
Ctrl+page up: Switch to the previous window of the edit window
Ctrl+page down: Switch to the next window in the edit window
ALT + Underlined letter (dialog box) such as:
Alt+k jumps to the package text box and Alt+m jumps to the name text box
Two. Writing code often uses shortcut keys:
Ctrl+alt+↑: Copy the line contents of the cursor up
Ctrl+alt+↓: Copy the line contents of the cursor down
Alt+↑: Move the row contents of the cursor up
Alt+↓: Move the row contents of the cursor down
Shift+enter: Add a blank line below the line where the cursor is located
Shift+ctrl+enter: Adds a blank line above the line where the cursor is located
Ctrl+1: Given solution (used when Red line is present)
ALT +?: Auto Prompt function
Alt+shift+z: Surround With: The effect is as follows:
Alt+shift+s: Pop Up the Source menu, click on the underlined letter (without ALT), go to the appropriate menu
ctrl+/: Comment (//) or dismiss comment
ctrl+shift+/: Block Annotations (/**/)
Ctrl+shift+\: Unblocking block annotations
Ctrl+d: Delete the row
Ctrl+t: Viewing inheritance and implementation relationships for classes
Ctrl+o: Viewing the structure of a class
Ctrl+shift+t: Open the View class window
Alt+shift+m: Extract the selected part as method
Common shortcut keys for Eclipse