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 187076

Summary: Code completion does not suggest instanceof keyword
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: EditorAssignee: Adam Sotona <asotona>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 154422    

Description Alexandr Scherbatiy 2010-06-02 08:41:28 UTC
Product Version         = NetBeans IDE Dev (Build 201006020001) (#a248a947c9e8)
  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:

- Type in the editor:
-------------------------------------
var a:Object;

if( a inst
-------------------------------------
- Invoke code completion
 No Suggestions

The instanceof is not suggested for the case:

-------------------------------------
if( a instanceof String) {}
-------------------------------------
Comment 1 Petr Nejedly 2010-09-24 11:45:41 UTC
Reassigning javafx bugs to Adam.
Comment 2 David Strupl 2011-05-16 13:52:16 UTC
Closing all bugs filed against JavaFX 1.x as wontfix. We will support JavaFX 2.0 - please keep opened only bugs against the new release. Thanks.