Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320248

Summary: Search for references is not accurate
Product: z_Archived Reporter: Seva Lapsha <seva.lapsha>
Component: PDTAssignee: PHP UI <php.ui-inbox>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: gadi, ganoro
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Seva Lapsha CLA 2010-07-19 08:26:08 EDT
Searching references (Ctrl-Shift-G) gives ambiguous results:

1. Searching for method results in the list of occurrences of all the methods of all the classes which have the same name. Should only give the actual method occurrences and occurrences of methods of overridding classes, when the method is not overridden.

1.1. Search for constructor is not usable at all. It results with list of all the declarations of constructors of all the classes. Instead it should match instantiaions of the current class only and constructors of overridding classes, when constructor is itself is not overridden.

2. Search for protected/public class field doesn't work (e.g. protected field in extending classes).

3. Search for constants doesn't work.
Comment 1 Roy Ganor CLA 2010-07-23 09:24:12 EDT
not available in PDT.

Invalid.
Comment 2 Gadi Goldbarg CLA 2010-08-23 06:50:54 EDT
Closing as 'invalid' 
1. and 1.1:
Such a filter is not available in PDT

2.
You should put $ sign as first char in Search string field (under PHP search dialog) in order to have matching result. Currently it works.

3. constants/ class constanct can be matched by ticking 'Field' button in PHP search dialog. It gives correct result.

Kalin Yanev
kalin.a@zend.com
Comment 3 Seva Lapsha CLA 2010-08-23 09:27:09 EDT
(In reply to comment #2)
> Closing as 'invalid' 
> 1. and 1.1:
> Such a filter is not available in PDT
> 
> 2.
> You should put $ sign as first char in Search string field (under PHP search
> dialog) in order to have matching result. Currently it works.
> 
> 3. constants/ class constanct can be matched by ticking 'Field' button in PHP
> search dialog. It gives correct result.

Searching references (Ctrl-Shift-G) is not related to the PHP Search dialog.