One way to view the eclipse whom called shortcuts

We know that idea is by [ctrl + left mouse click] method to jump to the caller, but the eclipse is not enough.

Three kinds of shortcuts ways

Here are three ways (shortcut key) to view the eclipse whom a method call.

1. Double-click the selected method, press [] Ctrl + Alt + H shortcut key (most important).

eclipse will show this method is called which method ultimately produce a call tree relationship, relationship tree by this call we will know in the end is a class method that calls the other classes.

2. Select the method, pressing Ctrl + Shift + G [] The shortcut keys (bolus).

This method will show the eclipse whom references, inquiries throughout the workspace whom quoted.

3. Select the method, pressing Ctrl + H] [(global search).

eclipse will search for the name in the global method, this method is a less smart way. If your method name of this method is not the only or even a lot of duplication, the result may be found rather disappointing.

Right menu mode

In addition, you can also find references option in the context menu after selecting the method to achieve their goals.

 

"Everyone can not understand you, but I can not."

Guess you like

Origin www.cnblogs.com/yanggb/p/11348515.html