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 58379

Summary: Automatic typing of ')' does not work properly
Product: java Reporter: randahl <randahl>
Component: EditorAssignee: Miloslav Metelka <mmetelka>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description randahl 2005-04-27 15:45:34 UTC
If I type this

propertyRights.add(newModifyPropertyRight("layoutConstraints", null);

It is clear that I have missed a closing paranthesis. However if I place the
cursor here

propertyRights.add(newModifyPropertyRight("layoutConstraints", null|);

and type a paranthesis NetBeans will simply replace the paranthesis already
there with the newly typed one, leaving me with the same incorrect code.

Randahl
Comment 1 Miloslav Metelka 2005-05-04 13:17:21 UTC
We cannot handle this well without either knowing the balance of the parenthesis
throughout the file or better knowing the immediate syntactic structure of the
source by using local parsing. It is in progress though it's not clear when
exactly that will be finished. Setting TM to future preliminarily.
Comment 2 novakm 2007-10-11 13:43:19 UTC
Still valid in latest build of 6.0
Comment 3 Jan Becicka 2008-11-13 14:03:42 UTC
Will resolve later
Comment 4 Quality Engineering 2009-11-02 11:04:31 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX