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 20241 - Code completion (autocomplete) does not work on second argument in a function
Summary: Code completion (autocomplete) does not work on second argument in a function
Status: CLOSED DUPLICATE of bug 20256
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-07 05:23 UTC by dfields
Modified: 2007-11-05 13:44 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 dfields 2002-02-07 05:23:26 UTC
I have the following code (exactly out of the Servlet template, almost):

protected void 
processRequest(HttpServletRequest request, HttpServletResponse response)
throws 
ServletException, java.io.IOException
{
    HttpServletResponse resp;
    // 
HERE
}

If, at the location marked HERE (on the next line), I type:

resp.CONTROL-
SPACE

I get the usual pop up box of all the fields and methods. However, if I 
type:

response.CONTROL-SPACE

I get nothing. I can hit CONTROL-SPACE until I'm blue in the 
face and I get nothing. I can also type:

request.CONTROL-SPACE

and I get the proper pop-ups 
again.

Trying this on another function in another class, I find the same behavior - auto-
completion works for the first parameter in the list, but not the second.

This is confirmed by 
KC Baltz <KBaltz@responsenetworks.com>.
Comment 1 Pavel Buzek 2002-02-07 12:40:06 UTC
No reason to mark this P1, IMHO. This is not a data lost, and there 
is an easy workaround (to write this code by hand w/o autocompletion)
Comment 2 dfields 2002-02-07 15:13:03 UTC
I hate to disagree too much, but I really think this should be a high priority bug. The 
primary reason I, and many others, use IDEs such as this is the speed with which code can 
be written. The biggest benefit, bar none, in my opinion, is autocomplete. I recall 
when I was first introduced to it many years ago in Microsoft's Visual suite- it was 
_the_ reason to use it and not some other IDE.

Hence, would you please consider 
increasing the priority? This bug alone is cause NOT to use 3.3.1, IMO.
Comment 3 dfields 2002-02-07 15:17:03 UTC

*** This issue has been marked as a duplicate of 20256 ***
Comment 4 Quality Engineering 2003-06-30 18:00:38 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 5 Quality Engineering 2003-06-30 18:13:26 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.