[IntelliJ IDEA] Commonly used shortcut keys and GIF demonstration

foreword

As the most mainstream Java development IDE, IDEA is the first choice of most Java developers. Familiarity with shortcut keys can significantly improve development efficiency. This article demonstrates commonly used shortcut keys in the form of Gif.

Ctrl + N : find class

eg: Find DeleteService.java
Please add a picture description

Ctrl + D : Duplicate the current line

Ctrl + D

Ctrl + Y : delete the current line

Ctrl + Y

Ctrl + Q : show comments

Please add a picture description

Ctrl + P : Show method parameters

Please add a picture description

Ctrl + G : jump to the specified line

Please add a picture description

Ctrl + F12 : Display the file structure of the current file

Please add a picture description

Shfit + F6 : Modify the class/method/field name, use local synchronization modification

Please add a picture description

Ctrl + I : available methods

Please add a picture description

Ctrl + O : Inheritable method

Please add a picture description

Ctrl + [ Alt ] + B : jump to interface [implementation]

Jump to interface/implementation
Please add a picture description

Ctrl + [ Shift ] + Z : go back/forward

Shift : Ctrl + z is more, you can use ctrl shift z to go back to before Ctrl z
Please add a picture description

Ctrl + Shift + U : case conversion

Please add a picture description

Ctrl + Shift + V : select paste from copy history

Please add a picture description

Ctrl + Alt + [ Shift ] + U : view class diagram

Shift: open a new window
Please add a picture description

Ctrl + Alt + L : format code

Please add a picture description

Ctrl + Shift + I : quickly display method content

Please add a picture description

Ctrl + Alt + T : select the line for fast if/try, etc.

Please add a picture description

Guess you like

Origin blog.csdn.net/weixin_43582081/article/details/125251185