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.
Summary: | palette: imports are not automatically added | ||
---|---|---|---|
Product: | javafx | Reporter: | Alexandr Scherbatiy <sunflower> |
Component: | Editor | Assignee: | Michal Skvor <misk> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | dstrupl |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Alexandr Scherbatiy
2008-06-16 14:55:55 UTC
JavaFXApplication2\src\javafxapplication2\Main.fx:9: cannot find symbol symbol : class Frame location: class javafxapplication2.Main Frame { JavaFXApplication2\src\javafxapplication2\Main.fx:18: cannot find symbol symbol : class Canvas location: class javafxapplication2.Main content: Canvas { 2 errors BUILD FAILED (total time: 1 second) adding David to cc and my question is - can this be fixed any time soon? If I correctly remember fix import in general is not easy but in this case, we know in advance what import we know for the snippets, for instance when adding Label: Label { text: "Label" } we know that javafx.gui.Label or javafx.gui.* is required. I would like to implement it till the end of this week. Implemented. Automatic addition of imports should be working now. Verified using: 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: 271 But there is also a new issue: http://www.netbeans.org/issues/show_bug.cgi?id=137841 |