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.

Bug 146711 - completion: typed imports fail to expand
Summary: completion: typed imports fail to expand
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All Windows Vista
: P1 blocker (vote)
Assignee: David Strupl
URL:
Keywords:
: 146358 (view as bug list)
Depends on:
Blocks: 146952
  Show dependency tree
 
Reported: 2008-09-09 22:19 UTC by Lark Fitzgerald
Modified: 2008-09-23 20:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lark Fitzgerald 2008-09-09 22:19:55 UTC
Tested using FX Cont trunk build 130 (Sep 9, 2008 4:49:22 PM) on NB6.5:
Product Version: NetBeans IDE Dev (Build 200809081401)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)

All manually typed imports fail to expand (automation fails)
1. open .fx file
2. type:
import javafx.

The editor has the red box in the top right corner.
Comment 1 Lark Fitzgerald 2008-09-10 19:58:48 UTC
Note: issue affects 23 ImportCCTEsts also.
Comment 2 David Strupl 2008-09-11 12:39:38 UTC
Caused by 
http://openjfx.java.sun.com/jira/browse/JFXC-1974
Comment 3 Lark Fitzgerald 2008-09-18 21:07:32 UTC
*** Issue 146358 has been marked as a duplicate of this issue. ***
Comment 4 David Strupl 2008-09-19 09:43:37 UTC
What do you mean by "fail to expand". If the bug is in the fact that after you select something in the completion the
result is not entered into the editor then I agree that it is a bug.

It is no longer caused by the compiler bug. It is on our side now ...
Comment 5 Lark Fitzgerald 2008-09-19 22:16:22 UTC
I no longer get a completion list for incomplete import statements.
so, when I type:
import javafx.
and press ctrl+space, I get 'No Suggestions'.

If I type import javafx.*; and position the cursor after the . and press ctrl+space, then I get a list.
Comment 6 David Strupl 2008-09-22 13:50:15 UTC
I have entered 
http://openjfx.java.sun.com/jira/browse/JFXC-2049
after that one is fixed or rejected I will update our code that should fix this ....
Comment 7 David Strupl 2008-09-23 09:02:53 UTC
After Jim fixed JFXC-2049 this issue fixed itself automagically ;-)
Comment 8 Lark Fitzgerald 2008-09-23 20:13:11 UTC
Tested using FX Cont trunk build 229 with SDK:
Product: javafx-1.0dev Platform: windows-i586 Build-Number: 268 Build-ID: 2008-09-22_08-48-19 on NB6.5:
Product Version: NetBeans IDE Dev (Build 20080922)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)