Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse v3.2 Search Failure
Eclipse v3.2 Search Failure [message #179334] Fri, 10 November 2006 02:49 Go to next message
Eclipse UserFriend
Originally posted by: paulobear.comcast.net

Hi -

I'm pretty new to eclipse. I'm running Ubuntu Edgy. The Ubuntu eclipse
distribution doesn't work for me at all, so I manually downloaded 3.2
and installed it in /opt. It seems to work fine in all aspects, except
for this one thing:

When I search for a word or a phrase, it always comes back with nothing
found. I select the word or phrase to make sure that I don't misspell
it. This has me very perplexed.

Anybody have any ideas?

Thanks,

Paul
Re: Eclipse v3.2 Search Failure [message #179394 is a reply to message #179334] Fri, 10 November 2006 14:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wayne.beaton._NOSPAM_eclipse.org

Paul E Ourada wrote:
> Hi -
>
> I'm pretty new to eclipse. I'm running Ubuntu Edgy. The Ubuntu eclipse
> distribution doesn't work for me at all, so I manually downloaded 3.2
> and installed it in /opt. It seems to work fine in all aspects, except
> for this one thing:
>
> When I search for a word or a phrase, it always comes back with nothing
> found. I select the word or phrase to make sure that I don't misspell
> it. This has me very perplexed.
>
> Anybody have any ideas?
>
> Thanks,
>
> Paul
Are you searching the workspace or in a text editor?

Wayne
Re: Eclipse v3.2 Search Failure [message #179525 is a reply to message #179394] Sat, 11 November 2006 05:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: paulobear.comcast.net

Oh. Duh. :)

Thanks for getting back to me Wayne.

Searching in a file works fine. I am only having trouble when I'm
searching in a workspace, project, or working set. I set the file type
filters using the chooser: *.c, *.cpp, *.h, *.hpp. Also, I'm doing file
searches, not C++ searches.

Probably another important piece of information would be that I'm
working on a C++ project using CDT. I have had this problem right after
installing the CDT. I just now tried the same sort of file search in a
dummy java project, and got the same results.

Paul


Wayne Beaton wrote:
> Paul E Ourada wrote:
>> Hi -
>>
>> I'm pretty new to eclipse. I'm running Ubuntu Edgy. The Ubuntu
>> eclipse distribution doesn't work for me at all, so I manually
>> downloaded 3.2 and installed it in /opt. It seems to work fine in all
>> aspects, except for this one thing:
>>
>> When I search for a word or a phrase, it always comes back with
>> nothing found. I select the word or phrase to make sure that I don't
>> misspell it. This has me very perplexed.
>>
>> Anybody have any ideas?
>>
>> Thanks,
>>
>> Paul
> Are you searching the workspace or in a text editor?
>
> Wayne
Re: Eclipse v3.2 Search Failure [message #180707 is a reply to message #179525] Thu, 16 November 2006 23:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kim.belugasoftware.com

I am having what seems to be the same problem. Here's what I'm doing:

From the workbench when I have a project open, I select Search, then
File from the top menu.

On the File Search tab under "Containing text:" I enter "String" or
something else that I *know* exists in many of my files. For "File name
patterns:" I enter "*". Consider derived resources is checked. Scope is
Workspace. I click Search.

The search function runs for a *very* short time, then the Search tab
appears with the text "'String' - 0 matches in workspace"

I don't think it's actually searching anything. What setting am I
missing? File search is one of the main tools I use for navigating code,
and it's very frustrating to not have it functional.

Searching within a file with Ctrl-F works fine.

I don't have the CDT installed. I am using the standard Fedora
distribution of Eclipse 3.2. I'm only developing in Java, although there
are some XML, jsp, and other file types in my project.

thanks for your help,

Kim


Paul E Ourada wrote:
> Oh. Duh. :)
>
> Thanks for getting back to me Wayne.
>
> Searching in a file works fine. I am only having trouble when I'm
> searching in a workspace, project, or working set. I set the file type
> filters using the chooser: *.c, *.cpp, *.h, *.hpp. Also, I'm doing file
> searches, not C++ searches.
>
> Probably another important piece of information would be that I'm
> working on a C++ project using CDT. I have had this problem right after
> installing the CDT. I just now tried the same sort of file search in a
> dummy java project, and got the same results.
>
> Paul
>
>
> Wayne Beaton wrote:
>> Paul E Ourada wrote:
>>> Hi -
>>>
>>> I'm pretty new to eclipse. I'm running Ubuntu Edgy. The Ubuntu
>>> eclipse distribution doesn't work for me at all, so I manually
>>> downloaded 3.2 and installed it in /opt. It seems to work fine in
>>> all aspects, except for this one thing:
>>>
>>> When I search for a word or a phrase, it always comes back with
>>> nothing found. I select the word or phrase to make sure that I don't
>>> misspell it. This has me very perplexed.
>>>
>>> Anybody have any ideas?
>>>
>>> Thanks,
>>>
>>> Paul
>> Are you searching the workspace or in a text editor?
>>
>> Wayne
Re: Eclipse v3.2 Search Failure [message #180777 is a reply to message #180707] Fri, 17 November 2006 17:43 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse4.rizzoweb.com

Kim Rader wrote:
> I am having what seems to be the same problem. Here's what I'm doing:
>
> From the workbench when I have a project open, I select Search, then
> File from the top menu.
>
> On the File Search tab under "Containing text:" I enter "String" or
> something else that I *know* exists in many of my files. For "File name
> patterns:" I enter "*". Consider derived resources is checked. Scope is
> Workspace. I click Search.
>
> The search function runs for a *very* short time, then the Search tab
> appears with the text "'String' - 0 matches in workspace"
>
> I don't think it's actually searching anything. What setting am I
> missing? File search is one of the main tools I use for navigating code,
> and it's very frustrating to not have it functional.

That is odd behavior. Would it be possible for you to capture a
screen-cast of your search attempt and post it somewhere. Something like
what is here: http://www.rizzoweb.com/Eclipse/JDKSourceAttachment.html
I know it is a bit of effort, but that would probably help understand
exactly what you are doing and seeing.

Secondly, File text search is useful, but it sounds like you may not be
taking advantage of Eclipse's code navigation features if you are
relying heavily on text search. For example, put the cursor on a class,
method, or variable name and hit F3 - it will open the declaration of
that class/method/variable. You can also right-click on a class or
method and choose the References or Declarations menu to search your
workspace or Working Set for that particular class/method.
Finally, you can use Ctrl+Shift+T to get the Open Type dialog to easily
jump to any class in your workspace (similarly, Ctrl+Shift+R for
non-Java files).
There are lots of ways to efficiently navigate your Java code; text
search is the most primitive.

Hope this helps,
Eric
Previous Topic:How to access to a plugin template files ?
Next Topic:Debugging
Goto Forum:
  


Current Time: Thu Apr 18 23:29:35 GMT 2024

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

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

Back to the top