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.
NB 6.7, linux, JDK6 I set my prefs to use 2 spaces for indent. Junit class wizard creates source file with wrongly indented ctor and instance methods (surprisingly static methods are correct).
Created attachment 88391 [details] sample output
It is a valid issue. Code generating should completely rely on chosen editor options in a part of formatting. Nevertheless, the JUnit module is only responsible for content of the code, but not formatting. I'll reassign this issue to an owner of the java.source module.
http://hg.netbeans.org/jet-main/rev/a926fe344ddc
Integrated into 'main-golden', will be available in build *201102170501* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/a926fe344ddc User: Jan Lahoda <jlahoda@netbeans.org> Log: #173142: reformat files after create new from template