Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320248 - Search for references is not accurate
Summary: Search for references is not accurate
Status: CLOSED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-19 08:26 EDT by Seva Lapsha CLA
Modified: 2020-05-14 11:36 EDT (History)
2 users (show)

See Also:


Attachments

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