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: - Drag an drop the Basic Shapes-> Text item to the editor -------------------------------------------- import javafx.scene.text.Text; import javafx.scene.text.Font; Text { font : Font { size: 24 } x: 10, y: 30 content: "HelloWorld" } -------------------------------------------- 1. There is a space between font property and the colon font : Font { 2. There are two tabs before attributes instead of one: Text { font : Font { size: 24 } x: 10, y: 30 content: "HelloWorld" } Should be: Text { font: Font { size: 24 } x: 10, y: 30 content: "HelloWorld" } The same is for other palette items
User should invoke reformat action after dropping palette item I suppose. Or we can invoke it automatically. But we can't preformat palette items for all platforms, because they could have different tab size for example.
verified. see also issue 178667 Format code after dropping an item from palette