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.
Steps to reproduce: - Copy the code to the editor: ----------------------------------------- class A { var a: Integer; } var a = A{ a: 10 }; ----------------------------------------- - Format the code The result is: ----------------------------------------- var a = A{ a: 10 }; -----------------------------------------
JavaFX_NB_Plugin_Franca_NB_65_fixes_latest_SDK_installer: #3 19-Dec-2008 00:46:48 Product Version = NetBeans IDE 6.5 (Build 200812180656) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.6.0_11; Java HotSpot(TM) Client VM 11.0-b16; Sun Microsystems Inc.
One more sample: - Format the code: ---------------------------------------------------------- import javafx.stage.Stage; import javafx.scene.Scene; import javafx.scene.text.Text; import javafx.scene.text.Font; import javafx.scene.shape.Circle; import javafx.scene.paint.Color; Stage { title: "MyApp" scene: Scene { width: 200 height: 200 content: [ Circle { centerX: 100, centerY: 100 radius: 40 fill: Color.BLACK } ] } } ----------------------------------------------------------
.
verified in JavaFX_NB_Plugin_Franca_NB_65_fixes_cont: #20 12-Jan-2009 13:26:24