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 - Unused markers are wrong and misleading in JavaFX controllers
Summary: Unused markers are wrong and misleading in JavaFX controllers
Status: NEW
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-07 18:47 UTC by swpalmer
Modified: 2014-02-07 18:47 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 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.