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 139842

Summary: better online popup doc for args
Product: php Reporter: ndwolf <ndwolf>
Component: EditorAssignee: rmatous <rmatous>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 132387    
Bug Blocks: 142091    
Attachments: Code completion invoked after ',' through CTRL+SPACE
Popup window, which is showed after CTRL+P

Description ndwolf 2008-07-14 09:34:58 UTC
When you start to write for ex.  array_slice(   ...then a popup shows the args for array_slice
and thats ok. but, when i start to write inside the ()'s the popup disapears, and that is a big mistake.
I have to remember each parameter!
I like the way zend developer envoriment (zde) works. When you start to write inside the ()'s, the popup keep displaying
and it highlights the parameter you are typing.

I know you can press a key to autocomplete it in the editor, but it doesnrt work right, like when you autocomplete
things like ""'s or ()'s
and it is not very usefull, because it seems you are forced to use all paramteres or delete'em. very messy.

Is better the popup keep displaying with a highlight for every param.
Comment 1 Petr Pisl 2008-08-07 08:18:29 UTC
I'm marking this as defect. The cc should be clever. The solution should be like in java. When you invoke cc through
CTRL+SPACE, then it should offer again the function with parameters and complete only missing part. The second things is
that if you press CTRP+P it shows small popup window with parameters. This is not code completion, but helps with it. I
attach screenshot.
Comment 2 Petr Pisl 2008-08-07 08:23:14 UTC
Created attachment 66755 [details]
Code completion invoked after ',' through CTRL+SPACE
Comment 3 Petr Pisl 2008-08-07 08:24:15 UTC
Created attachment 66756 [details]
Popup window, which is showed after CTRL+P
Comment 4 Tomasz Slota 2008-08-07 09:38:11 UTC
Confirmed. Note that missing Ctrl+P action is already tracked as issue 132387.
Comment 5 Tomasz Slota 2008-10-23 13:52:55 UTC
*** Issue 151141 has been marked as a duplicate of this issue. ***
Comment 6 Tomasz Slota 2009-04-23 07:58:51 UTC
*** Issue 161863 has been marked as a duplicate of this issue. ***
Comment 7 Tomasz Slota 2009-04-23 08:00:29 UTC
*** Issue 163335 has been marked as a duplicate of this issue. ***
Comment 8 Tomasz Slota 2009-05-06 14:33:21 UTC
*** Issue 151661 has been marked as a duplicate of this issue. ***
Comment 9 rmatous 2009-10-06 16:11:00 UTC
Should have been fixed now.  Works for me

http://hg.netbeans.org/web-main/rev/8987191128f2