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 241549

Summary: Unused markers are wrong and misleading in JavaFX controllers
Product: javafx Reporter: swpalmer <swpalmer>
Component: EditorAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description swpalmer 2014-02-07 18:47:31 UTC
Product Version = NetBeans IDE Dev (Build 201402040001)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.0-b69

JavaFX controllers can contain private fields and methods that are only referenced from the FXML file.  The editor highlights these as "unused" which is misleading.  It should be made aware of references in FXML files.
This might be considered a duplicate of Issue #234322, but that referred specifically to the "Find Usages" action.  I wanted to make sure the erroneous highlighting was covered.