PHPDOC @property and IDE's

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
linchay
Forum Newbie
Posts: 7
Joined: Thu Mar 06, 2008 1:34 pm

PHPDOC @property and IDE's

Post by linchay »

Not sure if this is the right forum or not. I am looking for an IDE which supports PHPDOCs @properties which allows you to document and autocomplete magic methods.

/**
* show off @property, @property-read, @property-write
*
* @property mixed $regular regular read/write property
* @property-read int $foo the foo prop
* @property-write string $bar the bar prop
*/


Example something like this. This is used with __get, __set and so forth. Would like to document the magic methods and allow them to show up in autocomplete. Does anyone know of an IDE that supports this? Currently using PHPED and no support. Does not even show up in informational portion for the object.
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: PHPDOC @property and IDE's

Post by Eran »

Try Zend Studio
linchay
Forum Newbie
Posts: 7
Joined: Thu Mar 06, 2008 1:34 pm

Re: PHPDOC @property and IDE's

Post by linchay »

Downloaded it, does not seem to support it. Any other idea's? Seems like such an obvious thing for IDE's to support.
Post Reply