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 146836 - Completion is 1 level off
Summary: Completion is 1 level off
Status: VERIFIED WORKSFORME
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All Windows Vista
: P2 blocker (vote)
Assignee: David Strupl
URL:
Keywords:
Depends on:
Blocks: 146952
  Show dependency tree
 
Reported: 2008-09-10 19:29 UTC by Lark Fitzgerald
Modified: 2008-09-23 20:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
completion (293.34 KB, image/jpeg)
2008-09-10 19:30 UTC, Lark Fitzgerald
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lark Fitzgerald 2008-09-10 19:29:12 UTC
Tested using FX Cont trunk build 144 (Sep 10, 2008 4:20:38 PM) on NB6.5: against a local build of NB6.5

1. Open FXTestApplication1.fx (from automation)
---------------------
import javafx.application.Application;
import javafx.application.Stage;

Application {
    
    stage: Stage {
        
        content: [ 
            
        ]
    }
}

--------------------------
2. Go to the last line of the file (after the closing })
3. ctrl_space

I'm getting the completion from application (image attached):
onExit
onResume
onStart
onSuspend
stage
suspended

Should be getting the same thing I get after the import statement.
Comment 1 Lark Fitzgerald 2008-09-10 19:30:23 UTC
Created attachment 69567 [details]
completion
Comment 2 Lark Fitzgerald 2008-09-10 19:33:44 UTC
Failing test is: testFXApplication1d
To run locally, mount JavaFXEditor, expand Functional Test Packages > org.netbeans.test.javafx.editor.completion > 
right click ApplicationCCTests.java > Run File.
The results will show smushed in the JUnit Test Results window (will need to resize horizontally to see it.
Comment 3 David Strupl 2008-09-11 10:38:54 UTC
I have entered an issue for the compiler team
http://openjfx.java.sun.com/jira/browse/JFXC-1974
Comment 4 Lark Fitzgerald 2008-09-17 15:23:29 UTC
Jira issue has been fixed.  Verified that this works. Note: Had to update source changing Application to Stage.
Tested using FX Cont trunk build 178 (Sep 10, 2008 4:20:38 PM) on NB6.5:
Product Version: NetBeans IDE Dev (Build 20080916)
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)
Comment 5 Lark Fitzgerald 2008-09-23 20:15:55 UTC
Tested using FX Cont trunk build 229 with SDK:
Product: javafx-1.0dev Platform: windows-i586 Build-Number: 293 Build-ID: 2008-09-23_07-01-57  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)