Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » smart searching in code(trying to find a needle )
icon5.gif  smart searching in code [message #526630] Mon, 12 April 2010 09:26 Go to next message
Eclipse UserFriend
hi..

is there a plugin i can use that would allow me to specify every place that a certain class maybe place in a set?

a very smart search, i'm changing the implementation of equals and hashcode and i would like to find the side-effects
Re: smart searching in code [message #526634 is a reply to message #526630] Mon, 12 April 2010 09:31 Go to previous messageGo to next message
Eclipse UserFriend
You could right-click over the method you're trying to check and select "References" > "Project" (or "Workspace").
That will search for all references in a project or workspace.

That also works for classes and variables.
Re: smart searching in code [message #526693 is a reply to message #526634] Mon, 12 April 2010 11:40 Go to previous messageGo to next message
Eclipse UserFriend
yea i know about that, but would yield a rather large amount of results, i would like to know if i can search for a class which is used with another classes, let's say i would like to see if a certain type of class is placed inside a set. essentially the JDT tree, has this data. so far i've only found something like codechase.
Re: smart searching in code [message #528551 is a reply to message #526693] Tue, 20 April 2010 18:32 Go to previous messageGo to next message
Eclipse UserFriend
"inside a set" a little bit vague... a sample of the code pattern you're searching for would be helpful...
If you are lucky, may be it will be already handle by the Match locations dialog (open the Java Search dialog and click on the 'Match locations' in the 'Limit to' group)
HTH
Re: smart searching in code [message #528588 is a reply to message #528551] Wed, 21 April 2010 04:10 Go to previous messageGo to next message
Eclipse UserFriend
actually the closes thing i could find was cool http://browsebyquery.sourceforge.net/
plugin, however it only results in method signatures not, the actuall paramters.
Re: smart searching in code [message #528821 is a reply to message #528588] Wed, 21 April 2010 17:27 Go to previous message
Eclipse UserFriend
Hi Elhanan,

I guess Intellij IDEA structural search and replace it what you are
looking for: http://www.jetbrains.com/idea/documentation/ssr.html

However, I'm afraid it is not available in the community edition.

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

Am 21.04.10 10:10, schrieb elhanan:
> actually the closes thing i could find was cool
> http://browsebyquery.sourceforge.net/
> plugin, however it only results in method signatures not, the actuall
> paramters.
>
Previous Topic:Warning about fix for bug 59891: [formatter] improve lines wrapping in nested method calls
Next Topic:Problem with text editor going blank. Restart doesn't fix.
Goto Forum:
  


Current Time: Fri Mar 21 17:33:58 EDT 2025

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

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

Back to the top