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 192604 - last } does not get to it's right place
Summary: last } does not get to it's right place
Status: RESOLVED DUPLICATE of bug 192098
Alias: None
Product: editor
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-28 19:16 UTC by Mr.Axe
Modified: 2010-11-29 09:07 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 Mr.Axe 2010-11-28 19:16:39 UTC
after typing
[code]
if ( a>b ) {
    statement 1;
    statement 2;
    <------------- cursor standing here
[/code]

I press "}" in this moment and I get:

[code]
if ( a>b ) {
    statement 1;
    statement 2;
    }
[/code]

Some time ago in the same situations I always got: 
[code]
if ( a>b ) {
    statement 1;
    statement 2;
}
[/code]
Brace must automatically take the right position, but it doesn't
Comment 1 Dusan Balek 2010-11-29 09:07:48 UTC
Already fixed in the current dev build.

*** This bug has been marked as a duplicate of bug 192098 ***