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 161491 - code completion for assoc array members
Summary: code completion for assoc array members
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Ondrej Brejla
: 180753 198877 (view as bug list)
Depends on:
Reported: 2009-03-30 16:39 UTC by nbphpuser
Modified: 2016-11-28 07:29 UTC (History)
2 users (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description nbphpuser 2009-03-30 16:39:09 UTC

$anarray = array('banaba', 'apple');

After typing 'b' there is no suggestion, however would be nice to have
'banana' as hint or whatever 'b*' members array has.

Comment 1 nbphpuser 2009-08-14 14:36:00 UTC
Looks like Ctrl+K does the job. However, some enhancements would improve usability.

$anarray =>array(
'home'      =>  array(
    'mobile'=> $r['home_mobile']
,   'phone' => $r['home_phone']
,   'email' => $r['home_email']
,   'fax'   => $r['home_fax']
,   'web'   => $r['home_webaddress']
,   'voip'  => $r['home_voipaddress']


pressing Ctrl+K will suggest first hit 'home_voipaddress'. Pressing Ctrl+K again will suggest home_webaddress, which is 
fine. But if you are to fast and miss your item, say you wanted fax and stops at email, there is no way to go back to 
previous hit 'home_fax', unless you are smart and hit ctrl+z for undo :) Ctrl+L would be perfect candidate for go back 
thrue list of suggestions.

Besides that, suggest list is not cycled if you keep going. Suggester will stop at 'home' and will not suggest first hit 
('home_voipaddress') again.
Comment 2 Tomasz Slota 2010-02-10 08:46:03 UTC
reassigning to default owner
Comment 3 Filip Zamboj 2010-09-15 12:28:32 UTC
batch reassigning
Comment 4 amobilia 2016-09-22 03:33:09 UTC
*** Bug 180753 has been marked as a duplicate of this bug. ***
Comment 5 PowerKiKi 2016-11-28 07:29:24 UTC
*** Bug 198877 has been marked as a duplicate of this bug. ***