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.
Product Version: NetBeans IDE 6.1 (Build 200804211638) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) fx NB61 nighly plugin: 269 1. in editor type: import javafx.gui.*; class Box extends Rectangle { 2. press enter to get closing } 3. type attribute 4. press ctrl+space This fails because ast is empty. Expected a list of attributes available on the Rectangle class.
Created attachment 63040 [details] screen shot
Logged Jira issue: http://openjfx.java.sun.com/jira/browse/JFXC-1376
I actually don't understand what exactly do you expect to see there. If I understand correctly after "attribute" the user is to define a new attribute. Only if there would be "override" keyword before the "attribute" there should be the attributes listed, right?
Actually, I expected that ctrl+space after attribute would give me a list of all the inherited public attributes that I could override.
AFAIK you cannot override an attribute without the keyword. The code completion would have to insert the keyword for you or it should not show the inherited attributes. I suggest to downgrade this to P3 as IMHO it is not that serious, what do you think?
Agreed, Downgrading to P3. Will leave the companion issue: 137628 as P2.
Downgrading to P4. I don't think this case is that very important. Also this no longer depends on the compiler issue. And also it is not a bug IMHO not to show them. Making it ENH.
Since Oracle has discontinued further development of JavaFX Script, JavaFX support has been temporarily removed from NetBeans 7.0. http://wiki.netbeans.org/NewAndNoteworthyNB70#JavaFX