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.
It's quite annoying that PHP code completion complete also parameter for parameters which are already existing. You can take a look for better behavior into Java editor. use case 1: 1, invoke CC on | place and confirm "stripos" function <?php echo stripo|("hello", "e"); ?> 2, you will get... <?php echo stripos($haystack, $needle)("hello", "e"); ?> use case 2: 1, write this text into editor... <?php echo stripos("hello", "e"); ?> 2, doubleclick on "stripos" and write and chose from CC another method with allowed 2 strings as parameters Expected code is just: <?php echo stripos($haystack, $needle)("hello", "e"); ?>
Fixed in web-main: http://hg.netbeans.org/web-main/rev/78f0a7b6f1d0
*** Bug 196091 has been marked as a duplicate of this bug. ***
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/78f0a7b6f1d0 User: Ondrej Brejla <obrejla@netbeans.org> Log: #200454 - Changing method in method call should recognize existing parameters