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 - javascript find usages "cannot be applied"
Summary: javascript find usages "cannot be applied"
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal with 5 votes (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-09 02:50 UTC by lytles
Modified: 2015-09-29 10:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
minimal example of "find usages" regression (502 bytes, application/javascript)
2013-02-09 02:50 UTC, lytles
Details
screenshot of the dialog (16.98 KB, image/png)
2013-02-09 02:51 UTC, lytles
Details

Note You need to log in before you can comment on or make changes to this bug.
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.