Community
Participate
Working Groups
In PHP properties are handled using __get and __set functions. But there is a lack of PHP doc standard for it and, as the result, autocomplete. I think that PDT autocomplete can be based on http://greg.chiaraquartet.net/archives/140-phpDocumentor-and-__get__set__call-give-us-your-ideas-RFC.html In short: @property[-read|-write] type $varname [description] <?php /** * show off @property, @property-read, @property-write, @method * * @property mixed $regular regular read/write property * @property-read int $foo * @property-write string $bar */ class blah { function __get($var) { ... } }
phpDoc 1.4.0 supports now @property and @method Tags. Official-Details: http://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutorial_tags.property.pkg.html http://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutorial_tags.method.pkg.html
Just wondering if there was an update on this enhancement? It's an incredibly important feature to us, and I would love to see support of this in PDT.
(In reply to comment #2) > Just wondering if there was an update on this enhancement? It's an incredibly > important feature to us, and I would love to see support of this in PDT. > So everybody should vote for this enhancement. 3 Votes are nothing compared to the 26 votes for aptana integration.
I too voted for this bug because autocomplete for properties is a sorely lacking feature in just about every php editor and addition of such a feature would help PDT gain a much wider audience.
Without this, magic functions are actually harder to use than just creating a set function. This bugfix would make my life so much easier
We just switched to PDT and love it... Please add this function... so I get a chance to keep my last hair !
I can't call it a bug, but this is definately a must have. It's a nonsense (and a true pain) to be forced to analyze once and again the virtual getters/setters. This is not true autocompletion until virtual properties are supported, IMHO.
Why isn't this allready in?
Definitely a must have for the seasoned php developer and certainly the icing on the cake for PDT! a must have IMO :)
fixed in head. available in PDT 2.0 nightly builds
I just have @property in Code Assist. What should we expect ?
I wrote a short dev2qa article about it, is available in wiki: http://wiki.eclipse.org/MagicAccess Let us know if there are more questions...
ok