This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Good evening! There is only one frustrating thing for me in NetBeans IDE since I started using it for 3 years ago. That is the invisibility of acceptable variables I can pass to method that was declared as PHPDoc @method attribute. /** * @method int addFlights() addFlights(array $flights, $ignore = true) Adds flights to the Airplain */ class Airplain { /** * @return bool */ public function configure (stdClass $flightCode) { // ... } public function __call ($method, $args) { // ... } } When auto-completion dialog triggered after "$f14->" there will be 3 methods: $f14 = new Airplain(); $f14-> +--------------------------------------------+ + * __call($method, $args) Airplain + + * addFlights() Airplain + + * removeFlight(strClass $setup) Airplain + +--------------------------------------------+ There are missing for me "addFlights" method arguments. Expecting result of auto-completion dialog is: $f14 = new Airplain(); $f14-> +--------------------------------------------------------+ + * __call($method, $args) Airplain + + * addFlights(array $flights, $ignore = true) Airplain + + * removeFlight(strClass $setup) Airplain + +--------------------------------------------------------+ If you decide to implement it, you will be first have implemented it in PHP-IDEs. Based on http://manual.phpdoc.org/HTMLframesConverter/default/phpDocumentor/tutorial_tags.method.pkg.html it is allowed to declare variables in PHPDoc @method section. Thanks for the attention.
Sorry, I made some mistakes in examples: "removeFlight" should be "configure", and "$flightCode" should be "$setup".
It has been fixed few days ago and it will be in NB 7.1 (http://netbeans.org/bugzilla/show_bug.cgi?id=196714). You can try it when yoou download NB7.1 development version (http://bits.netbeans.org/download/trunk/nightly/latest/). Really, any other IDE doesn't know that? *** This bug has been marked as a duplicate of bug 196714 ***
(In reply to comment #2) > It has been fixed few days ago and it will be in NB 7.1 > (http://netbeans.org/bugzilla/show_bug.cgi?id=196714). You can try it when yoou > download NB7.1 development version > (http://bits.netbeans.org/download/trunk/nightly/latest/). > > Really, any other IDE doesn't know that? > > *** This bug has been marked as a duplicate of bug 196714 *** Sorry about duplicating issue (I have really checked (not carefully) for duplicates before). I have checked this IDE for this feature and they does not support it: - Zend Studio 8.0.1 (latest) - PDT Eclipse (latest) - Komodo IDE 6.1 (latest) - kdewebdev (Quanta Plus) (latest)