Summary of commonly used shortcut keys in Intelij2.X version

ctrl + R  search and replace in this file       

ctrl + N to view the class file.

ctrl + shift + F find string

ctrl + E recently operated files (very commonly used)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
Ctrl + shift + r  Find and replace in the entire project


shift + shift search any file


ctrl + alt + C extract a static string as a constant

ctrl + alt + M extract the code block as a method


ctrl + alt + L format code
ctrl + alt + o optimize import (remove useless import)
ctrl + alt + space prompt object available methods
ctrl + q display comment document
ctrl + x delete current line
ctrl + d copy current line
ctrl + j automatic code
alt + f3 the same word highlighting
ctrl + shift + U case conversion
shift + F6 rename
ctrl + K Submit code (check rebase after commit)
ctrl + U jump to the parent class
Alt + F7 to find a reference place

Linux shortcut keys:

 

Ctrl + A This shortcut key will move the cursor to the beginning of the line.

Otherwise, Ctrl+E moves the cursor to the end of the line.

Ctrl + U This shortcut key will erase everything from the current cursor position to the beginning of the line.

Ctrl + K It erases all content from the current cursor position to the end of the line.

Ctrl+W shortcut key, you can erase the word before the cursor position

Guess you like

Origin blog.csdn.net/wangleisuiqiansuiyue/article/details/108222860