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.

Bug 196091

Summary: Code completion duplicate parameters by using another method
Product: php Reporter: Martin Fousek <marfous>
Component: EditorAssignee: Ondrej Brejla <obrejla>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description Martin Fousek 2011-02-28 12:26:55 UTC
Product Version: NetBeans IDE Dev (Build 110228-72829480c498)
Java: 1.6.0_23; Java HotSpot(TM) 64-Bit Server VM 19.0-b09
System: Linux version 2.6.35-25-generic running on amd64; UTF-8; en_US (nb)

Summary: In contrast with java editor, the PHP editor isn't able by calling code completion on method recognize that there are already filled parameters. So in example:
su|("my substring", 5)
-> confirm substr method which will cause following
substr($string, $start)("my substring", 5)

It quite useful when you are changing i.e. called method. Currently another method usage by CC need also deleting newly added parameters which is quite annoying.
Comment 1 Ondrej Brejla 2011-08-24 08:39:43 UTC

*** This bug has been marked as a duplicate of bug 200454 ***