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 225924

Summary: javascript find usages "cannot be applied"
Product: javascript Reporter: lytles <lytles>
Component: NavigationAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal CC: chrizzly
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: minimal example of "find usages" regression
screenshot of the dialog

Description lytles 2013-02-09 02:50:15 UTC
Created attachment 131183 [details]
minimal example of "find usages" regression

using "Find Usages" in a javascript file results in a dialog stating "find usages cannot be applied in this context"

this is a regression relative to 7.2 which would perform the search and present the results

in the simple example attached, every location that i've tried "find usages" has failed. eg, with the cursor on  foo.stuff(), ie the final line
Comment 1 lytles 2013-02-09 02:51:07 UTC
Created attachment 131184 [details]
screenshot of the dialog
Comment 2 Petr Pisl 2013-02-14 12:17:12 UTC
This is right. Also is true that this is regression. Unfortunately there was not time to reimplement this feature. I will try to add it ASAP.
Comment 3 Christian Lenz 2014-11-04 10:04:46 UTC
Find usages doesn't work with inline JavaScript inside a html file or tpl. :/
Comment 4 Christian Lenz 2015-09-29 10:22:22 UTC
This feature is really needed. For angular it would be better too.