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.
NetBeans-JavaFX-Soma: #217 Product Version = NetBeans IDE Dev (Build 201004110201) (#ca66f5e3f93f) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02; Sun Microsystems Inc. Steps to reproduce: - Format the code ----------------------------------------- var t = Text { font: Font { size: 16 } }; ----------------------------------------- The result is: ----------------------------------------- var t = Text {font: Font {size: 16 } }; ----------------------------------------- There are no spaces: {font {size
It was marked as P2 because it is the regression from the NetBeans 6.8 (and from the last week). The code formatting is one of the JavaFX plugin features that should be in the stable state.
fixed http://hg.netbeans.org/javafx/rev/35f04a1850be PS: User can change behavior in menu - editor settings - formatting - java fx - spaces - spaces between braces.
verified in NetBeans-JavaFX-Soma: #219.