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 187694

Summary: on NB 6.9, 'else' auto completion bracket is misaligned
Product: java Reporter: yujb <yujb>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description yujb 2010-06-17 04:08:35 UTC
when making an 'if-else' code block, upon typing else, the 'else' and the curly brackets are flushed to the left instead aligning with the root 'if'.. like so:

                        if (true)
                        {
                            
                        }
 else
                        {
                            
 }
Comment 1 Vitezslav Stejskal 2010-06-17 10:34:49 UTC
What file type are you editing - java, php, C/C++, ...? Thanks
Comment 2 yujb 2010-06-18 02:29:08 UTC
(In reply to comment #1)
> What file type are you editing - java, php, C/C++, ...? Thanks

java
Comment 3 Dusan Balek 2010-10-21 12:38:24 UTC
Already fixed.

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