-
Ctrl + Z: Undo
-
Ctrl + G: Anchor row
-
Ctrl +/: single-line comment
-
Ctrl + Shift + Z: Restore
-
Ctrl + J: quickly generate code
-
Ctrl + H: Show class structure diagram
-
Ctrl + P: Method parameter hints
-
Ctrl + Shift + F10: Run
-
Ctrl + Shift +/: Multiline comment
-
Ctrl + Alt + L: Formatting code
-
Ctrl + Shift + C: Copy path
-
Ctrl + +/-: Expand/Collapse Code
-
ALT +←/→: Toggle Code View
-
Ctrl + Shift + J: Merge into one line
-
Ctrl + Shift + f9:debug Run
-
Ctrl + U: Jump to Parent class or parent interface
-
Ctrl + Alt + J: Surround with dynamic templates
-
Ctrl + Backspace: Delete by word
-
Ctrl + Shift + Space: Code hints
-
Ctrl + Shift + U: uppercase/lowercase Toggle
-
Ctrl + Alt + Shift + V: Simple paste
-
Ctrl + W: Check code (can be pressed continuously)
-
Alt + F1: Find the directory where the files are located
-
Alt + Q: View the inheritance/implementation of the current class
-
Ctrl + F12: Displays the structure of the current file
-
Ctrl + Alt + O: Optimizing imported Classes and Packages
-
Alt +↑/↓: Quickly move a location between methods
-
Ctrl + Q: Show Javadoc (note document)
-
Alt + Shift + C: Compare recently modified code
-
Ctrl + Shift + V: Select clipboard content Insert
-
Ctrl + [/]: Jump to start/end of code block
-
Ctrl + Shift + W: deselect the word cursor
-
Ctrl + Shift + +/-: Collapse/Expand All code
-
Ctrl + Alt + F12: Explorer open folder
-
Ctrl + Shift + insert: Select Clipboard content Insert
-
Ctrl + Alt + H: Where the quick location method is called
-
F2: Quick positioning to the current class error or warning place
-
Ctrl + Shift + I: View the implementation of a method in a class
-
SHIFT + ENTER: Carriage return line (cursor navigates to next line)
-
Ctrl + Alt + I: Automatically indent selected code
-
Ctrl + Shift +. : Collapse/Expand the code in the current curly brace
-
Ctrl + Alt + Shift + C: Copy reference, must select Class name
-
Ctrl + C: Copy (the line where the cursor is located or the selection)
-
Ctrl + D: Paste (the line where the cursor is located or the selection)
-
Ctrl + X: Cut (the line where the cursor is located or what is selected)
-
Ctrl + Y: Delete (the line where the cursor is located or the selection)
-
Ctrl + Alt + Enter: Carriage return newline (cursor positioned to previous line)
-
Ctrl + Alt +←/→: Where the cursor is in the previous/next position
-
Shift + F2: Quickly navigate to the current class where the error or warning is
-
Ctrl + Shift + Backspace: Jump to the last edit location
-
Shift + ALT +↑/↓: Move the row up or down (the line where the cursor is located or the selected row)
-
Ctrl + Shift +↑/↓: Move the row up or down (the line where the cursor is located or the selected row)
-
Ctrl + Alt + Space: Property name, class name, or interface name hint (code hint)
-
Alt + Enter: Quick fix (Implement interface method, coercion type conversion, guide package)
-
Ctrl + Alt + T: Quickly add statements such as if, for, Try/catch, etc. (check the code first, and then use the combo shortcut key)
-
Alt + Insert: Generate code (construct method, Set/get method, ToString (), change = = to equals (), etc.)
-
Ctrl + Enter: Inserts a new row above the current row and moves the cursor to a new line (this function is valid at the beginning of the line)
Find common shortcut keys