L
L
link002017-05-11 11:49:05
phpstorm
link00, 2017-05-11 11:49:05

Is it possible and how to see all classes that are descendants of a certain class in PhpStorm?

Hello! PhpStorm has a rather cool feature - the class diagram (Ctrl+Alt+U). For example, we stand on any CHILD class, click Ctrl + Alt + U, and a diagram of its PARENT classes appears. Whether actually a question it is possible on the contrary, standing on a PARENT class to see all CHILD classes from it?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Y
Yashka, 2017-05-15
@link00

We put the cursor on the name of the class. Then Navigate->Type Hierarchy. A window will appear, where you can see the entire class hierarchy

M
Maxim Fedorov, 2018-03-02
@Maksclub

Ctrl + H
in new versions is possible like this:
5a9912d48f2ae380233454.gif

W
WanderFrank, 2019-12-19
@WanderFrank

In the class diagram, right-click on the class of interest. Select the menu item Show Implementations, in the window that opens, add child classes (Ctrl + A to add all).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question