In Eclipse, in the Call Hierarchy, way to expand all?

There is no button for that, but you can get very similar result by selecting the root (called method), then use the keyboard shortcut for expanding a tree: SHIFT+RIGHT_ARROW. Repeat several times, staying on the root, and all callers of the next level are shown.

It is a standard shortcut in Gnome applications (I'm on Ubuntu), so I don't know it this will work on other operating systems.


I am using Luna eclipse in windows 7.

Once the Call hierarchy is done, then go to Call hierarchy window press home button then press key * (asterisk) until expanding all.

This is faster than pressing combination right and down arrow key.

Tags:

Eclipse