Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Any ways to configure "Search" and "Replace"?
Any ways to configure "Search" and "Replace"? [message #1057744] Wed, 08 May 2013 14:17 Go to next message
Billy Boy is currently offline Billy Boy
Messages: 1
Registered: May 2013
Junior Member
I am having a really hard time getting use to the search function in eclipse.

I try to search the "Workspace", which I would consider all the open files, not the whole project. But when I do this, it starts to search through the 2,900 files I have in my whole project.

Maybe it's just me. Maybe I am doing something wrong. Maybe there's some setting I can change to make the workspace choice work with the actual workspace or Maybe it's a bug. But I use the search feature the most, and it's frustrating me.

If there's no way to change it, then I really think that whole search selection box needs an overhaul. I like the ability to set up a working set, but other than that, and searching the whole project and search seems to BE a project.

I think it should have the functionality like this;

Project (all files in a project, ie: Full CMS I have)
Working Set (I have some of these - Works awesome for plugins)
WorkSpace (Files in the actual workspace, not searching whole project)
File(s) (Called Selected Resources now.Seems ok for an individual file)

The current search set up for individual or open files seems difficult, inconsistent and it's not very intuitive. Even with a file selected, the "Selected Resources" option button is not always selectable.

I remember getting frustrated with this last time I tried eclipse as well. I was coming from (and went back to) a nice text/source code editor with a simple to understand and use search. Sometimes I can select "Selected Resources", sometimes I can't.

The "REPLACE" isn't easy to work with either. It doesn't seem like there's some sort of stepping to make the changes, It's all or nothing.

It's been about 5 years, so I am trying eclipse again for a large project, but it's a pain having to go back and forth to a more user-friendly editor just because it has a few things it does better. Mainly simple search and replace. Then having to switch back to eclipse and reloading files.

Any helpful suggestions (other than, "If I don't like it, don't use it?").

Thanks in advance!
Re: Any ways to configure "Search" and "Replace"? [message #1058067 is a reply to message #1057744] Fri, 10 May 2013 18:13 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2281
Registered: July 2009
Senior Member
I think you're running into nomenclature issues for the most part. The Workspace is not the files you have open in editors, it's everything you have in all of your Projects, in the Eclipse sense where you created them with the wizards or checked them out of source control.

http://help.eclipse.org/juno/topic/org.eclipse.platform.doc.user/concepts/concepts-12.htm

Can you clarify, "It doesn't seem like there's some sort of stepping to make the changes, It's all or nothing"?


---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: Any ways to configure "Search" and "Replace"? [message #1058117 is a reply to message #1057744] Sat, 11 May 2013 15:18 Go to previous message
David Wegener is currently offline David Wegener
Messages: 1341
Registered: July 2009
Senior Member
On 05/08/2013 10:17 AM, Billy Boy wrote:
> I am having a really hard time getting use to the search function in
> eclipse.
> I try to search the "Workspace", which I would consider all the open
> files, not the whole project. But when I do this, it starts to search
> through the 2,900 files I have in my whole project.
> Maybe it's just me. Maybe I am doing something wrong. Maybe there's some
> setting I can change to make the workspace choice work with the actual
> workspace or Maybe it's a bug. But I use the search feature the most,
> and it's frustrating me.
> If there's no way to change it, then I really think that whole search
> selection box needs an overhaul. I like the ability to set up a working
> set, but other than that, and searching the whole project and search
> seems to BE a project.
> I think it should have the functionality like this;
>
> Project (all files in a project, ie: Full CMS I have)
> Working Set (I have some of these - Works awesome for plugins)
> WorkSpace (Files in the actual workspace, not searching whole project)
> File(s) (Called Selected Resources now.Seems ok for an individual file)
>
> The current search set up for individual or open files seems difficult,
> inconsistent and it's not very intuitive. Even with a file selected,
> the "Selected Resources" option button is not always selectable.
>
> I remember getting frustrated with this last time I tried eclipse as
> well. I was coming from (and went back to) a nice text/source code
> editor with a simple to understand and use search. Sometimes I can
> select "Selected Resources", sometimes I can't.
> The "REPLACE" isn't easy to work with either. It doesn't seem like
> there's some sort of stepping to make the changes, It's all or nothing.
> It's been about 5 years, so I am trying eclipse again for a large
> project, but it's a pain having to go back and forth to a more
> user-friendly editor just because it has a few things it does better.
> Mainly simple search and replace. Then having to switch back to eclipse
> and reloading files.
> Any helpful suggestions (other than, "If I don't like it, don't use it?").
>
> Thanks in advance!
Do you really need to perform that many plain text searches? Normally
my searches involve searching for methods, classes, variables or other
semantic parts of the code. The Eclipse Java search makes this quite
easy. For example, you can select a method definition/reference in your
code, right click and select Show call hierarchy to see everywhere that
the method is called. There is a similar feature for finding the
definition of a method/variable as well as all references to the
method/variable.
Previous Topic:copy/paste or screenshot in eclipse
Next Topic:Android Development Tool-Kit
Goto Forum:
  


Current Time: Tue Sep 30 16:02:10 GMT 2014

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

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