IDEA View Java source code skills (shortcut)

This article is reproduced from: Address

1. View the implementation class of the interface: Ctrl+Alt+B

Insert picture description here
Select and press the shortcut key, and then jump to the place where the class is implemented
Insert picture description here

2. Return to the previous/next cursor place: Alt+<- and Alt±>
can be found by modifying the shortcut keys (search for keywords left, right) and change to Ctrl+J

3, see Java method invocation tree (the called / melody): Ctrl + Alt + H
into the current method call tree, the lower the current method invocation method

4, see FIG class inheritance: the U-+ the Ctrl + the Alt
Insert picture description here
. 5, see Inheritance tree of the current class: Ctrl+H
Insert picture description here

6. Check where the defined variable is called: Ctrl+Alt+F7
Insert picture description here
7. Check what method is in a class: Alt+7 or click Structure on the left sidebar
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_42656358/article/details/108451433
Recommended