Search code examples
phpstorm

PhpStorm - print out methods and variables in class files


I have about 10 classes all in individual files. I have not looked at them for ages. Is there a PhpStorm function that would allow me to list the methods and attributes listed in the individual files?

EDIT: The solution is to highlight all the classes you are interested in and then use the diagram tool. See my answer below.


Solution

  • Finally discovered what I was looking for.

    Highlight all the classes you are interested in in Project view. Right click Diagrams->Show Diagrams (or Ctrl+Alt+Shift+U).

    Arrange diagrams on screen.

    Select light colored background (Ctrl Backtick) select 5: Look and Feel (not theme).

    Right click on diagram and do a print preview. Select Graph for full size. Click OK and make page adjustments. I printed out my 8 classes on an 11 x 17 sheet and I am in "help-my-bad-memory-heaven". Just what I was looking for.

    Hope that was useful.enter image description here