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 213436 - find usages php
Summary: find usages php
Status: RESOLVED DUPLICATE of bug 189267
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-02 22:51 UTC by rwilson352
Modified: 2012-06-04 07:32 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 rwilson352 2012-06-02 22:51:57 UTC
Using "find usages" while editing PHP code is, from what I can tell, nothing more than a text search. We have a project where (unfortunately) people declared functions with the same name on multiple pages. So, a find usages search yields two results: 1) function declarations of the same name, and 2) any time a function with that name is called.

But, the results of find usages should be any time -that specific- function is called, not any time a function with the same name is called.

I hope I'm being clear.
Comment 1 schkovich 2012-06-03 09:11:52 UTC
Product Version: NetBeans IDE Dev (Build 201206020001)
Java: 1.7.0; Java HotSpot(TM) 64-Bit Server VM 21.0-b17
System: Linux version 3.2.0-24-generic running on amd64; UTF-8; en_US (nb)

It appears that the problem is not OS related. I am experiencing exactly the same problem on Linux.

I have a class that defines method setActor. Find usages will not return only usages of MyClass::setActor() but AnyClass::setActor. In my case Zend_Soap_Server::setActor().

Find usages of method having common name like "setBody" might return large number of entries making result set unusable.
Comment 2 Ondrej Brejla 2012-06-04 07:32:46 UTC

*** This bug has been marked as a duplicate of bug 189267 ***