Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Java Search Suggestion
Java Search Suggestion [message #331033] Thu, 21 August 2008 16:53 Go to next message
Michael Giroux is currently offline Michael GirouxFriend
Messages: 287
Registered: July 2009
Senior Member
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 #331036 is a reply to message #331033] Thu, 21 August 2008 18:33 Go to previous messageGo to next message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
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
>
>


--
*new* Common Navigator Framework section in:
3.4RC4 Platform Plugin Developer Guide (Programmer's Guide)
http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/guide/cnf.htm
http://dev.eclipse.org/blogs/francis
http://wiki.eclipse.org/Common_Navigator_Framework
http://wiki.eclipse.org/Common_Navigator_Framework_Use_Cases


You have brains in your head.
You have feet in your shoes.
- Dr Seuss, Oh the Places You'll Go


Re: Java Search Suggestion [message #331049 is a reply to message #331036] Fri, 22 August 2008 04:16 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
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 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
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 Go to previous message
Michael Giroux is currently offline Michael GirouxFriend
Messages: 287
Registered: July 2009
Senior Member
> 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
Previous Topic:scanning for task for the tasks view.
Next Topic:Support for labelAttribute metadata
Goto Forum:
  


Current Time: Fri Dec 27 14:20:22 GMT 2024

Powered by FUDForum. Page generated in 0.02930 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top