Intellij idea common shortcut keys

I have used Intellij idea for 5 years, and sometimes I encounter individual shortcut keys or short circuits. This time, I recorded my commonly used ones and added them later.
Alt+Enter to import the package, automatic correction
Ctrl+N Find class
Ctrl+Shift+N Find files
Ctrl+Alt+L Format code
Ctrl+Alt+O Optimize imported classes and packages
Ctrl+R Replace text
Ctrl+F Find text
Ctrl+space code hint
Ctrl+P method parameter prompt
Ctrl+Shift+Up key
Ctrl+X delete line
Ctrl+D Duplicate line
Ctrl+/ or Ctrl+Shift+/ Comment (// or /*...*/ )
Ctrl+H Display class structure diagram
Ctrl+Q to display annotated documentation
Ctrl+F12, you can display the structure of the current file
Ctrl+P, can display parameter information

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326689786&siteId=291194637