Java Search Suggestion [message #331033] |
Thu, 21 August 2008 16:53  |
Eclipse User |
|
|
|
Using Ganemede --
The search menu provides some nice options for locating references,
declarations, implementors, read access and write access.
When the current selection is a class, it would be handy to have an option
to search for 'new' operations. For example, if I try to find all the
places that throw an exception, I search for references and get hundreds of
locations including throw and catch statements. It would really be handy if
the search could be reduced to throws.
Am I overlooking an option somewhere, or is this candidate for a feature
request?
Michael
|
|
|
|
Re: Java Search Suggestion [message #331049 is a reply to message #331036] |
Fri, 22 August 2008 04:16   |
Eclipse User |
|
|
|
I guess you are searching for the references of the class. Try searching
for the references of the constructor. You will find only the 'new'
operations. Only issue would be if there are multiple constructors, you
need to do multiple searches - one for each constructor.
- Prakash
www.eclipse-tips.com
Francis Upton (News) wrote:
> Moving to JDT tools.
>
>
> Michael Giroux wrote:
>> Using Ganemede --
>>
>> The search menu provides some nice options for locating references,
>> declarations, implementors, read access and write access.
>>
>> When the current selection is a class, it would be handy to have an
>> option to search for 'new' operations. For example, if I try to find
>> all the places that throw an exception, I search for references and
>> get hundreds of locations including throw and catch statements. It
>> would really be handy if the search could be reduced to throws.
>>
>> Am I overlooking an option somewhere, or is this candidate for a
>> feature request?
>>
>> Michael
>>
>
>
|
|
|
Re: Java Search Suggestion [message #331053 is a reply to message #331036] |
Fri, 22 August 2008 07:37   |
Eclipse User |
|
|
|
Francis Upton (News) wrote:
> Moving to JDT tools.
>
>
> Michael Giroux wrote:
>> Using Ganemede --
>>
>> The search menu provides some nice options for locating references,
>> declarations, implementors, read access and write access.
>>
>> When the current selection is a class, it would be handy to have an
>> option to search for 'new' operations. For example, if I try to find
>> all the places that throw an exception, I search for references and
>> get hundreds of locations including throw and catch statements. It
>> would really be handy if the search could be reduced to throws.
>>
>> Am I overlooking an option somewhere, or is this candidate for a
>> feature request?
To do fine-grained searches on a type open the Search dialog (Ctrl+H)
and then click on select 'Match locations' and configure them by
clicking on the link on the right.
Dani
>>
>> Michael
>>
>
>
|
|
|
Re: Java Search Suggestion [message #331187 is a reply to message #331053] |
Wed, 27 August 2008 17:50  |
Eclipse User |
|
|
|
> To do fine-grained searches on a type open the Search dialog (Ctrl+H) and
> then click on select 'Match locations' and configure them by clicking on
> the link on the right.
>
> Dani
Excellent. A few more clicks but it gives the desired result.
Thanks
Michael
|
|
|
Powered by
FUDForum. Page generated in 0.03194 seconds