Anthony, I don't have any links, and a quick google doesn't really
give me much, besides sean corfield's page where he's taking request
for changes in a future CFEclipse version.

To search in a single text file, just hit ctrl+f. It's mostly a simple
find with extra options.

To search multiple files, I usually select a folder on the navigator
view and hit the search button (or ctrl+h) This type of search is more
like the extended find/replace of HS/CFS, where it will give you a
list of results when it finishes. Actually, in Eclipse, it gives you
that list as it's going. The search view should pop up. I usually
switch it to Flat layout, using the down arrow.

In the search box, type in your criteria and choose the selected
resources radio to search within the folder you have selected, or you
can search your entire workspace of projects, or just the enclosing
projects (not sure, i think it's the projects whose files you have
open?), or you can define a working set of folders. Working sets are
great because you can filter your navigator view to show the same
working set you want to search in, it works in both places.

Replacing is the same, but it does a search before it asks you what to
replace your searched text with. A little weird but it works.

There's no option to search just the open files, that I know of...
would be interesting, and I've used it a few times in CFS, but haven't
missed it since switching.

I understand the file formatting search and replace. It is nice, and,
to this day, I may crack open HS once in a while to format a document.

-nathan strutz

PS, it looks like I'll be doing a cfeclipse preso at the azcfug in january :)


On 12/6/05, Anthony Prato <[EMAIL PROTECTED]> wrote:
> Do you have any links or postings that give some tips on searching? Do
> you use search>search... or edit>find/replace...?
> I am very very new to eclipse and I can't seem to get it do anything I
> like. Can you show the context of the results? Can you get the search
> results window to come up for just the current file or all open files?
>
> To add a comment about multi-line search & replace, I know you can use
> the regex to handle the tabs, newlines etc but the main benefit to me
> about the multiline is being able to cut and paste. I think my most
> common task is using it to reformat a file.
>
> On 12/6/05, Nathan Strutz <[EMAIL PROTECTED]> wrote:
> > On 12/6/05, Anthony Prato <[EMAIL PROTECTED]> wrote:
> > > been said by others, but the multi line find/replace from HS is the
> > > best. Its saved me manual labor more times than I can count.
> > > The results are much better too.
> >
> > My opinion is that the multi-line facet of HS's search & replace is
> > the only thing it has going for it, against Eclipse, plus you can fake
> > it in Eclipse with a regular expression like \s (any whitespace
> > character), \n (newline), \r (carriage return) and \t (tab). Eclipse's
> > regular expression searching is a LOT more powerful and precise than
> > HS's. Eclipse can display results in a flat layout like HS or in a
> > folder tree. Eclipse will save previous searches in the current
> > session (and my sessions tend to last for days, so i can see what i
> > searched for on monday). Also, you can define a working set, or a
> > group of folders and projects, possibly spanning multiple projects,
> > and search just them. All in all, I think the searching in HS is nice,
> > maybe easier, but Eclipse is better.
> >
> > Maybe we should call Mike Dinowitz's emergency-only cell and ask him
> > what he thinks.
> >
> > -nathan strutz
> > http://www.dopefly.com/
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226348
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to