PS: it has been quite a while using intellij idea editor. Haha. Integrate frequently-used shortcuts to avoid finding new ones in the future.
The order is probably from top to bottom.
Alt + enter: automatic correction, prompt
Alt + insert: Super Insert new, etc.
Use Alt + numeric keys => to switch the Panel
CTRL + H: view the class hierarchy
CTRL + N: quick class opening
CTRL + R: replace
CTRL + F: Search
CTRL + Q: View javadoc
CTRL + W: special selection, such as a word selection, continuous press will have other effects
CTRL + D: copy a row or copy the selected code block
CTRL + X: delete a row
CTRL + F12: displays the structure of the current file.
CTRL + B: Quickly open the class or method at the cursor
CTRL + ALT + B: Jump to the implementation of the abstract Method
CTRL + ALT + T: use... to enclose the code block, such as if Else. Try/catch, etc.
CTRL + O: override the methods in the parent class
CTRL + I: implement the methods in the parent class
CTRL + ALT + Shift + T: refactoring
CTRL +/or + Shift +/: Comment (// or /*...*/)
CTRL + [or]: Jump to the beginning and end of braces
CTRL + Shift + up or down: Move up/down class, function, variable, etc.
CTRL + Shift + N: You can quickly open a file.
CTRL + Shift + F7: highlight all the text and Press ESC to highlight and disappear.
CTRL + ALT + L: format the code-select the entire project
CTRL + ALT + I: quick code formatting-current document
CTRL + ALT + O: optimized imported classes and packages
CTRL + ALT + L/R: return the cursor position for the previous or next time
CTRL + ALT + F7: view the call
Shift + F6: refactoring-Rename
F2: Quickly locate highlight errors or warnings
Alt + F1: you can locate the elements being edited in each panel.
Alt + F7: Search for references
Alt + up or down: Fast movement between methods
Alt + Left or Right: switch between the left and right tabs
Alt + Shift + C: Compare the recently modified code
IDEA provides some abbreviations:
Psvm: public static void main (...)...
Sout: system. Out. println ();
Itit: While (iterator. hasnext () {object next = iterator. Next ();}
FN: If = NULL
Inn: If! = NULL
Thr: Throw new
Others:
Use Alt + enter => iterate to quickly generate an iteration for a list or Array