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 192024

Summary: Brace problem
Product: editor Reporter: lucif3r
Component: Formatting & IndentationAssignee: Dusan Balek <dbalek>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description lucif3r 2010-11-16 18:46:01 UTC
I remember in the earlier version of NetBeans IDE, for "if" and "else" condition (or something like, "for" loop),after condition is written, we press "enter", it will automatically go to a new line and  align with the first letter of "if","else"... But now it always add an annoying "tab" before it, so it is like:

if(true)
	{//before left brace, this "tab" is inevitable??
//statements
}

Please, please tell me how to eliminate this annoying "tab".

Thanks!!

-- A junior Programmer

Product Version = NetBeans IDE 6.9 (Build 201011082200)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_18
Runtime = Java HotSpot(TM) Client VM 16.0-b13
Comment 1 Marian Mirilovic 2010-11-19 14:24:43 UTC

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