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]
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.
Integrated into 'main-golden', will be available in build *201102170501* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Jan Lahoda <email@example.com>
Log: #173142: reformat files after create new from template