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.
Hi when I create a test class: /** * * @author Rogier */ public class Test { public enum TestEnum {Test1, Test2, Test3}; private TestEnum testEnum; } and use "Format" (Alt-Shift-F), I get: /** * * @author Rogier */ public class Test { public enum TestEnum { Test1, Test2, Test3 } ; private TestEnum testEnum; } I'd rather keep it like my way.... Thanks!
BTW I used NetBeans 6.0 RC2...
The formatting will get better when you delete the extra ';' behind TestEnum declaration (this is already fixed in Dev version). Unfortunately the one line enum formatting is not supported yet. I'll change this issue to ask for it.