IntelliJ IDEA personal frequently used shortcut keys collection

The following are my IntelliJ IDEA personal shortcut keys:

action hot key illustrate
Move Caret to Code Block End Ctrl+] For example, a code block enclosed by {}, use this shortcut key to quickly jump to the end of the code block
Complete Current Statement Ctrl+Shift+Enter Fill the input if, for, function, etc. with {} or ; to make the code statement complete
Start New Line Shift+Enter Start a new line below the current line
Start New Line Before Currentd Ctrl+Alt+Enter Insert a new line above the current line
Complete Current Statement Ctrl+Shift+Enter Fill the input if, for, function, etc. with {} or ; to make the code statement complete
Start New Line Shift+Enter Start a new line below the current line
Delete to Word End Ctrl+Delete Delete all characters from the cursor to the end of the word
Delete to Word Startt Ctrl+BackSpace Delete all characters from the cursor to the beginning of the word
Move Caret to Previous Word Ctrl+Left Arrow move cursor to previous word
Join Lines Ctrl+Shift+J Merge selected lines into one line
Find in Path Ctrl+Shift+F Find string in global file
Find Usages Alt + F7 Find the use of the current variable and display it in a list
Show Usages Ctrl + Alt + F7 Find the use of the current variable and display the dialog directly
Find Usages in File Ctrl+F7 Find usage of symbols in files
Highlight Usages in File Ctrl+Shift+F7 Highlight the use of variables in the file
Extend Selection Ctrl+W select whole word
Delete to Word Startt Ctrl+BackSpace Delete all characters from the cursor to the beginning of the word
Toggle Case Ctrl+Shift+U switch case
Class… Ctrl+N Find class files
File… Ctrl+Shift+N find files
Line… Ctrl+G Navigate to a line in the file
Back Alt+Left Arrow Return to the last cursor position
Forward Alt+Right Arrow Return to the previous cursor position
Last Edit Location Ctrl+Shift+Backspace Return to last edit position
Next Edit Location Ctrl+Shift+Backslash Return to the last edit position
Declaration Ctrl+B Navigate to the location where the variable is defined
Implementation(s) Ctrl+Alt+B Navigate to the concrete implementation of the selected class or method
Type Declaration Ctrl+Shift+B Navigate directly to the type definition of the variable under the cursor
Super Method Ctrl+U Directly locate the method definition of the current method override or implements
Next Highlighted Error F2 Navigate to the next error
Previous Highlighted Error Shift+F2 Navigate to the previous error
Previous Occurrence Ctrl+Alt+Up Arrow Find where the previous variable co-occurs
Generate… Alt+Insert Generate constructors, getters/setters, etc.
Surround With… Ctrl+Alt+T Wrap the selected code with if, while, try/catch, etc.
Unwrap/Remove… Ctrl+Shift+Delete Remove related packaging code
Basic Alt+/ automatic completion
Expand Ctrl+= expand code
Collapse Ctrl+- shrink code
Expand Recursively Ctrl + Alt + = Recursively expand code
Collapse Recursively Ctrl + Alt + - recursive contraction code
Expand All Ctrl+Shift+= expand all code
Collapse All Ctrl+Shift+- Shrink all code
Comment with Line Comment Ctrl+/ Annotate with //
Comment with Block Comment Ctrl+Shift+/ Use /**/ for comments
Reformat Code Ctrl+Alt+L format code
Auto-Indent Lines Ctrl + Alt + I Auto-indent lines
Optimize Imports Ctrl + Alt + O optimize import
Move Statement Down Ctrl+Shift+Down Arrow 将光标所在的代码块向下整体移动
Move Element Left Ctrl+Alt+Shift+向左箭头 将元素向左移动
Move Line Down Alt+Shift+向下箭头 将行向下移动
Move Line Up Alt+Shift+向上箭头 将行向上移动

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325622905&siteId=291194637