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 188922 - Auto-Complete Failure
Summary: Auto-Complete Failure
Status: RESOLVED WORKSFORME
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-24 00:35 UTC by wjordan
Modified: 2011-11-16 16:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wjordan 2010-07-24 00:35:50 UTC
Product Version = NetBeans IDE 6.9 (Build 201006101454)
Operating System = Linux version 2.6.28-19-server running on i386
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) Client VM 16.3-b01

My sites are setup such that I include my framework file which may or may not include other libraries.  Some of my libraries are ADOdb, and custom classes that contain methods I use throughout my code.

Example:
include "../framework.php";
this includes classes that create the following objects: $conn (ADOdb), $fwBASE, $fwCORE, etc...

When I writing code on the page I would expect that by typing $fwCORE-> I would get a list of methods available in that class; however, that doesn't happen.  I press CTRL and then mouse over the object it will tell me where it lives in the directory, so why not give me a list of available methods?

Another issue I have is that when I type a php function such as eval a couple of dialogs pop up allowing me to auto-complete the function with all of the parameters and I can read about the function and what it does.  The issue I have is that after the dialogs go away, I don't believe there is a way to get them back without deleting the function name and entering it again.  Even that creates new parens rather than just auto-completing the function and reusing the existing parens.  It would be very helpful to be able to get those dialogs back by pressing Shift+Enter when I'm on the function name.
Comment 1 Filip Zamboj 2010-09-15 12:32:41 UTC
batch reassigning
Comment 2 Petr Pisl 2011-07-01 12:57:04 UTC
How the objects are created? There are declared on global space? If yes, then it should work. 

Regarding the second problem. I don't full understand what you mean by the dialogs. If you talk about code completion popup window, you can place the caret at function name and invoke the code completion again through CTRL+SPACE shortcut.

Please reopen the issue, if it still doesn't work for you in the NB 7.0 or if you think that I don't understand your requests correctly. Thanks.