I'm trying to figure out if there is a way to display a PHP classes structure within Visual Studio Code.
So if I have a class which consist of a constructor and 5 methods, I'm looking for a panel which lists that constructor and those 5 methods with the ability to jump to each one. I'm not looking for relationships to any particular symbol. I just want to know the structure of the class I'm working with.
The closest thing to this which I can find seems to only be for typescript, not PHP:
CodePudding user response:
This is what the outline panel does. View -> Explorer to enable the Explorer panel, and then expand the Outline panel and just leave it open. It will automatically refresh based on what file you're editing and you can drag the top border to resize as desired.