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 which is not compilable: --------------------------------------- import javafx.stage.Stage; import javafx.scene.Scene; import javafx.scene.text.Text; import javafx.scene.text.Font; import javafx.scene.CustomNode; import javafx.scene.Group; import javafx.scene.Node; class MyButton extends CustomNode { public override function create(): Node { Group { content: [] } } Stage { title: "Application title" scene: Scene { width: 250 height: 80 content: [ Text { font: Font { size: 16 } x: 10 y: 30 content: "Application content" } ] } } --------------------------------------- The result is: --------------------------------------- import javafx.stage.Stage; import javafx.scene.Scene; import javafx.scene.text.Text; import javafx.scene.text.Font; import javafx.scene.CustomNode; import javafx.scene.Group; import javafx.scene.Node; class MyButton extends CustomNode { public override function create(): Node { Group { content: [] } } Stage { title: "Application title" scene: Scene { width: 250 height: 80 content: [ Text { font: Font { size: 16 } x: 10 y : 30 content : "Application content" } ] } } ---------------------------------------
Uncompilable code can not be formatted.
Does it mean the the format code action should does nothing in case if code is uncompilable?
I don't know and I don't think this is important.
verified as unimportant issue.