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.8 Beta (Build 200909281634) (#066b555e5ecf) 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: - Copy the code to the editor: ----------------------------------------------- import javafx.scene.shape.Circle; Circle { } ----------------------------------------------- - Position cursor in scope of the Circle - Press <Ctrl+Space> The Circle attributes are not shown
One more case. - Copy the code to the editor: ----------------------------------------- import javafx.scene.control.Button; Button { text: "Button" action: function() { } } ----------------------------------------- - Position cursor in the body of the action function - Type 'print' ----------------------------------------- import javafx.scene.control.Button; Button { text: "Button" action: function() { print } } ----------------------------------------- - Press <Ctrl+Space> The code completion does not suggest the 'prinntln()' method
It looks like a huge regression. I don't know what has caused it yet, but there are problems offering identifiers in many cases.
It seems that many problems are caused by the fact that things performed at the script level are considered synthetic by the IDE (TreeUtilities.isSynthetic()) as they descend from a synthetic main method. I have to find out the reason for a changeset that may have caused such behavior to solve this correctly.
Fixed, I'll provide a test case.
verified in Build 200911091156
The promised test case for this is: http://hg.netbeans.org/javafx/rev/7a63812ce909 but I had to disable it for now as there are more results than should be there.