CFEclipse Tip: Find next

One thing I've always been annoyed about with CFEclipse, even though I love it in general, is that I couldn't start a search and then just hit F3 to search again for the next occurrence of the search term, which is common in most editors I've used. Well, I found out today I was wrong (thanks to Teddy Payne on CF-Talk), you can do that. Just hit Ctrl+F to bring up the find box, type in your term, and search, close the find box (if you wish), and then hit Ctrl+k. Works the same as F3 in other editors, and you can remap it to F3 if you want (which is what I did).

If you didn't know already, CFEclipse is an open source ColdFusion IDE based on Eclipse that is becomming more and more popular in the ColdFusion community.

Related Blog Entries

Comments
Yaco,
No worries about the searching next. I pinged Mark Drew about the other part of that email on CF-Talk. CFEclipse does not support some sort of view that shows the white space characters. In short, CFEclipse is an Internet Developement Environment (IDE) and not plain text editor. If you need to see the exact white space, it is probably recommended to view the document in an editor that supports some sort of master view.

In my normal day-to-day development, the white space issue really does not come up. I am not discrediting the user's desire to see white space, but it may be such an uncommon event that loading an external tool or researching another Eclipse plugin would be pertinent.

Glad to help!

Cheers,
Teddy
# Posted By Teddy R Payne | 1/10/07 11:36 AM
Hmm, how do you go about mapping ctrl+k to F3? Not familiar with how to do that in CF Eclipse.
# Posted By Adam Fortuna | 1/10/07 11:43 AM
Adam,

I was afraid someone would ask that...it's kind of a pain. :)

You go to Window->Preferences->General->Keys. Click "Edit Find Next" in the list under View, and then click Edit. Near the bottom under "Key Sequence", delete the Ctrl+K from the "Name" field, and then push F3 to assign the new key. Then click Add. You might want to delete the old assignment by highlighting it above under "Command" and clicking Remove. Sometimes it's a little quirky, and I have to play with it a bit to get my changes to stick. But you can blame the Eclipse folks for that, the the CFEclipse crew. HTH
# Posted By yacoubean | 1/10/07 12:25 PM
Ah very slick. Thanks.
# Posted By Adam Fortuna | 1/11/07 6:02 AM
Based on my experience with Eclipse / CFEclipse, you must remove the old key mapping. Otherwise It thinks you need to press Ctrl+K followed by the F3 key sequence. Annoying - until you consider the power of having the chained commands. Now to find a "real" need. ;)
# Posted By Jason Troy | 1/14/07 5:18 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.9. Contact Blog Owner