PHP class support
Closed this issue ยท 4 comments
Hello,
it should be awesome if you could implement PHP objects support to show outline of whole classes for example, something like code explorer in other softwares.
For example:
- ClassName [extends Class]
- $prop1
- $prop2
- $prop3
- .... (methods)
- ClassName2 [extends Class]
- $prop1
- $prop2
- $prop3
- .... (methods)
I agree that would be nice.
Unfortunately I have not found a tool that extracts these information for me, so the extension is using a custom parser/lexer which @yfwz100 contributed.
Maybe you want to look into extending it with support for classes (or convince him to do so ๐ ).
I am glad if anyone could help ๐ . Actually I am busy preparing my graduate project so I may not have enough time for this.
ps: The parser has been able to deal with classes/namespaces. If you want to make a tree view, just modify the state array and make a hierarchical list with indent in each items(properties/functions) that belongs to a class.