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 62727

Summary: Code completion override does not detect partially typed signature
Product: java Reporter: _ tboudreau <tboudreau>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: RESOLVED WONTFIX    
Severity: blocker CC: olegsukhodolsky
Priority: P4    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description _ tboudreau 2005-08-20 22:30:29 UTC
Typically when I decide I want to use code completion to override something, I have already typed part 
of the method signature, but not all of it - I have realized I will need to look up the exact signature, and 
so code completion will be easier since it will do it right.

So, I have typed

public void val[CTRL-ENTER]

in my class, there is a method validateTree() I will override.  I select it and press enter and get:

    public void protected void validateTree() {

Could it detect the rest of the signature on the line and do something more intelligent?
Comment 1 Miloslav Metelka 2005-11-07 21:16:26 UTC
I'm not sure whether we will be able to resolve this with the current expression
parser that we have. Marking for future preliminarily.
Comment 2 Dusan Balek 2006-10-26 10:03:49 UTC
Reassigning to Honza.
Comment 3 Jan Lahoda 2007-06-25 12:35:42 UTC
Reassigning back to Dusan - he took responsibility of this part of code, AFAIK. Currently, no overrides are proposed in
this context, which seems fine to me.
Comment 4 Dusan Balek 2008-12-02 13:55:29 UTC
Later.
Comment 5 Quality Engineering 2009-11-02 11:03:13 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX