G
G
gregorypetrov2017-07-05 15:27:06
PHP
gregorypetrov, 2017-07-05 15:27:06

Does PHPStorm have a tool to see which files include each other?

It would be great if you could view some kind of graphical "map" of the includes to better understand which files depend on others. Maybe there is something similar in PHPStorm in one form or another? If yes, how to find?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
Z
Zakharov Alexander, 2017-07-05
@AlexZaharow

PHPStorm itself doesn't seem to have one. I answered a similar question, so I won't repeat myself: What tools should I use to cut off unnecessary unused code in a project?
e7c1055d0515476fa49451fc601bcb5f.png

A
Adamos, 2017-07-05
@Adamos

Theoretically, Storm has a Find Usages context menu item in the project file tree.
But PHP allows you to include a file through such tricky asses that the IDE is powerless here.
If you prefer not to be smart and keep the harsh simplicity and order - we have already said about PSR above.

S
Sergey Novikov, 2017-07-05
@BOOMER_74

There is a Class Diagram .

P
Philipp, 2017-07-05
@zoonman

There is no such thing in PHPStorm. You have already been written about CacheGrind. I would also recommend looking towards XHProf . Especially its renderer calls.
xhprof_callgraph.jpg

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question