2

In PhpStorm when viewing / editing a file that contains a class, if you right-click on the class, you can select Diagrams → Show Diagrams. This generates a class hierarchy diagram.

For example, see below screenshot for class ProductForm hierarchy diagram

Example class diagram created using PhpStorm

This is a very useful feature.

Question: Is there an VSCode extension that provides this feature? (I've recently switched to using VSCode instead of PhpStorm)

LazyOne
  • 158,824
  • 45
  • 388
  • 391
dlanyar
  • 21
  • 1

1 Answers1

0

I am not aware that there is such a thing in VSCode, but there is Doxygen, and here is a rather similar question (Graphviz + Doxygen to generate UML class diagrams) about the use of Graphviz and Doxygen, which was answered by Doxygen itself.

More to read is in this answer : How to use doxygen to create UML class diagrams from C++ source

Then there is also doxygraph . But I have never tested it.