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: - Create a JavaFX Script file - Copy the following code to the Editor --------------------------------------------- import javafx.ui.*; Frame{ content: FlowPanel{ cont } } --------------------------------------------- - Got to the 'cont' string and press <Ctr+Space> to invoke code completion The following code will be written: --------------------------------------------- Frame{ content: FlowPanel{ content: [] } } --------------------------------------------- The square brackets are written on the next line, not after the attribute : 'content: []'
Updated source for this would be: import javafx.stage.Stage; import javafx.scene.Scene; Stage { width: 200 height: 200 scene: Scene { cont } } pressing ctrl+space after cont completes the line with content: It no longer adds the brackets which is a bug since you can't really do anything without them.
Fixed by 1609:d44678b04911
verified in 2008-10-23_03-01-09.zip