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.
Consider this misformatted testcase (boiled down from a real testcase in our sourcebase): class Foo { protected var active = true; } class Bar extends Foo { override var active on replace { if (active) { println("active") } else { println("not active") } } } When you format this, nothing happens (e.g. the println statements are not indented). If you remove the "override" keyword, then it does format it properly into class Foo { protected var active = true; } class Bar extends Foo { /*override*/ var active on replace { if (active) { println("active") } else { println("not active") } } } (This is with the latest formatting fixes as of JavaFX repository changeset 9f90359f8d24)
*** This bug has been marked as a duplicate of bug 184262 ***
verified in NetBeans IDE Dev (Build 201006170001)