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.
[ BUILD # : 200709141330 ] [ JDK VERSION : 1.6.2 ] The bracket placement formatting option defined for class is ignored when creating a new class. Similarly the bracket placement is also ignored for the constructor in JUnit tests, although other methods are okay.
The indent engine performs differently for new java files in NB 6.0. It seems to be a regression. Should not the IndentEngine delegate to Reformat from editor/indent instead of Indent API?
I need to fix the wrapping infrastructure to implement the IndentEngine.createWriter() properly. I'll fix it ASAP.
*** Issue 116816 has been marked as a duplicate of this issue. ***
*** Issue 110200 has been marked as a duplicate of this issue. ***
moving opened issues from TM <= 6.1 to TM=Dev
looks like there is no brackets option in 6.7m3, so the issue look invalide now.
Really? I can still find Tools/Options/Editor/Formatting, language: Java and category: Braces. Reopening.
thanks, for complete path to the option, and the issue is reproducible with 6.7m3
*** Bug 64587 has been marked as a duplicate of this bug. ***
*** Bug 119895 has been marked as a duplicate of this bug. ***
I think this actually does not work for any file type, not just java.
*** Bug 187543 has been marked as a duplicate of this bug. ***
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/a926fe344ddc http://hg.netbeans.org/jet-main/rev/55d6bc70446a