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 - Automatic typing of ')' does not work properly
Summary: Automatic typing of ')' does not work properly
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-27 15:45 UTC by randahl
Modified: 2009-11-02 11:04 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 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