Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Search for preference function does not work under some situation
Search for preference function does not work under some situation [message #250067] Thu, 06 December 2007 17:09 Go to next message
Eclipse UserFriend
Originally posted by: ku_long.hotmail.com

Hey,

I don't know if anyone has encountered the same problem as me.
Our plug-in imported a jar file to which a source jar was attached.
In my code, I refered to some class in that jar. When I used "Open
Declaration" function to open the class, I got the souce code
opened in an editor (the title is ***.class). Then, I tried to
use "Search for preferences" function to search the prefernces of
a variable; zero result was returned. But if I open the java file
of that class manually and do "Search for preferences" on the
same variable, I got the proper results. I have no idea with this
behavior.

Thanks.
Re: Search for preference function does not work under some situation [message #250098 is a reply to message #250067] Sat, 08 December 2007 14:31 Go to previous messageGo to next message
Eclipse UserFriend
Raymond wrote:
> Hey,
>
> I don't know if anyone has encountered the same problem as me.
> Our plug-in imported a jar file to which a source jar was attached.
> In my code, I refered to some class in that jar. When I used "Open
> Declaration" function to open the class, I got the souce code opened in
> an editor (the title is ***.class). Then, I tried to
> use "Search for preferences" function to search the prefernces of a
> variable; zero result was returned. But if I open the java file of that
> class manually and do "Search for preferences" on the same variable, I
> got the proper results. I have no idea with this
> behavior.
> Thanks.
>
I guess you meant "Search for References"...

What kind of variable did you search for (local variable, method
parameter or perhaps field)? How did you launch the search: using a menu
item or using the Java Search page?
Re: Search for preference function does not work under some situation [message #250138 is a reply to message #250098] Mon, 10 December 2007 15:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ku_long.hotmail.com

Frederic Fusier wrote:

> I guess you meant "Search for References"...

> What kind of variable did you search for (local variable, method
> parameter or perhaps field)? How did you launch the search: using a menu
> item or using the Java Search page?

Yes, I meant "Search for Reference". :-)
I searched for local variables, fields and method.
I launched the search by typing "Ctrl + Shift + G" to launch
the Type search dialog.

Thanks.
Re: Search for preference function does not work under some situation [message #250152 is a reply to message #250138] Tue, 11 December 2007 04:14 Go to previous message
Eclipse UserFriend
Raymond wrote:
> Frederic Fusier wrote:
>
>> I guess you meant "Search for References"...
>
>> What kind of variable did you search for (local variable, method
>> parameter or perhaps field)? How did you launch the search: using a menu
>> item or using the Java Search page?
>
> Yes, I meant "Search for Reference". :-)
> I searched for local variables, fields and method. I launched the search
> by typing "Ctrl + Shift + G" to launch the Type search dialog.
>
> Thanks.
>
Hmm, perhaps you discovered a problem in JDT/Core Search Engine. So, please
open a bug against the JDT/Core component providing a simple test case to
reproduce your problem, thanks
Previous Topic:Creating sample projects.
Next Topic:Programmatically adding projects to the standard source lookup
Goto Forum:
  


Current Time: Mon Apr 28 11:57:58 EDT 2025

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

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

Back to the top