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 193288

Summary: Wrong, annoying code completion after last update.
Product: editor Reporter: DmitryBespalov
Component: Formatting & IndentationAssignee: Dusan Balek <dbalek>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description DmitryBespalov 2010-12-12 09:52:44 UTC
Product Version = NetBeans IDE 6.9 (Build 201011082200)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) Client VM 16.3-b01
Description: Every time when I typing if/for block, ide helps to complete by inserting {} braces. For example, before update I had following:
if( true )
{
   //here i continue typing
}
But after update I have following:
if( true )
   {  //<< take attention here
   //here i continue typing
}

The opening brace has wrong indent. It's very annoying to fix it manually every time. 
Please, fix it. Thanks!
Comment 1 Marian Mirilovic 2010-12-13 11:39:26 UTC

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