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 128381 - Better detection of brace mismatch
Summary: Better detection of brace mismatch
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Pisl
Depends on:
Reported: 2008-02-26 00:40 UTC by _ tboudreau
Modified: 2014-01-16 10:29 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2008-02-26 00:40:58 UTC
Say I have

function Foo (bar) {

} = function (baz) {


and I insert a { by itself in the body of the bar function definition.  I get an error marker at the end of the file.  While this is typical of top-down parsers, it 
would be nice if we could add a little intelligence to try to put the error marker on the first mismatched brace.