12
Is it possible to extend the type-hinting with another documentor tag in Netbeans?
I'm looking for a way to extend the type-hinting with a @scope tag that would allow for includeed files to gain access to an objects scope.
Example:
file: template.php
<?php /* @var $this MyObject */
This would only allow for type-hinting of public variables and methods. What I'm hoping to do is to extend type-hinting with the @scope tag allowing it to gain access to the MyObject scope:
file: template.php
<?php /* @scope MyObject */
Which would make the file content to act like it would be in the MyObject scope and $this would hint private methods.
Now, I have no experience in developing for the Netbeans platform but I have Java experience. If I wanted to accomplish this, where would I start?
Hopefully this is not too weak of a question.