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.
Here's a code snippet which illustrates the problem: Rectangle { fill: bind LinearGradient { endX: 0 stops: [ Stop { offset: 0, color: Color.BLACK }, Stop { offset: 1, color: Color.WHITE }, ] } } When I format this, I end up with this: Rectangle { fill: bind LinearGradient { endX: 0 stops: [ Stop { offset: 0, color: Color.BLACK }, Stop { offset: 1, color: Color.WHITE }, ] } } There are now extra spaces before all the property values in this object -- before the 0's, 1's, Colors, and even before the sequence [. I'm not sure what about this code fragment triggers this, because I haven't seen it in other similar objects in the files I've just tried formatting.
This caused by compiler issue http://javafx-jira.kenai.com/browse/JFXC-4360. Fixed by workaround though. http://hg.netbeans.org/javafx/rev/f393b6e27279
verified in NetBeans-JavaFX-Soma: #253