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 179908 - Code completion does not work for variables with interface type
Summary: Code completion does not work for variables with interface type
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Petr Nejedly
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-27 05:22 UTC by Alexandr Scherbatiy
Modified: 2010-02-15 03:55 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 Alexandr Scherbatiy 2010-01-27 05:22:15 UTC
Product Version         = NetBeans IDE 6.8 (Build 200912041610) (#ec9be6a6486c)
  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.



See http://forums.sun.com/thread.jspa?messageID=10914950

Steps to reproduce:

- Create a Java interface:
---------------  ISample.java ---------------  
public interface ISample {
    void myFunction();
}
---------------------------------------------

- Create a JavaFX file:

---------------------------------------------
var instance:ISample;
instance.
---------------------------------------------

- Invoke Code Completion (<Ctl+Space>)

'not suggestions' message appears.

The ' myFunction()' method is not sugessted.
Comment 1 Martin Krauskopf 2010-01-27 05:40:33 UTC
Alexandr, I'm not working any more for Sun. So reassigning JavaFX bugs to me does not have effect ;)
Comment 2 Anton Chechel 2010-01-27 06:06:38 UTC
:) Petr Nejedly is responsible for code completion.
Comment 3 Petr Nejedly 2010-02-12 08:18:19 UTC
Fixed, interfaces were mistakenly filtered out:
http://hg.netbeans.org/javafx/rev/20b33436db8b
Comment 4 Alexandr Scherbatiy 2010-02-15 03:55:39 UTC
verified in NetBeans-JavaFX-Soma: #154