0

CFEclipse and Eclipse Tips and Tricks

CFEclipse

I've been working off, and mostly on, with CFEclipse over the past two years. In the last week or so, though, I've found three cool new (to me) shortcuts and thought I would share them.

"Firefox like Find"

In the Find dialog click the Incremental option and Eclipse will do a Firefox like Find, searching as you type, of the currently open file. I love the way Firefox searches and the added bonus in CFEclipse is that it will expand collapsed code as this screen shot shows:

Incremental Find in Eclipse

Removing Comments

Adding comments in CFEclipse is easy, either (Ctrl/Command-Shift-M) or click on the comment icon, and if text is selected the comment will surround it. Removing comments can be done the same way, either select the whole comment or place the cursor to the left of the open comment and either (Ctrl/Command-Shift-M) or click on the comment icon.

Go to Line

Ctrl/Command-L brings up a dialog asking which line you would like to go to. Very useful when debugging an error and you know the line the error occurs on.

What keyboard shortcuts do you use?

tags:
cfeclipse
 
To go along with CFEclipse I highly recommend the Eclipse plugin AnyEdit:

http://andrei.gmxhome.de/anyedit/

This allows you to open a referenced file by a keyboard shortcut (i.e., CTRL+ALT+R), convert HTML code to escaped characters and reverse, under_scores to CamelCase and reverse, and other useful actions.

For me, it's functionality that I find makes working within CF/Eclipse much faster and more convenient.
 
posted 410 days ago
Add Comment Reply to: this comment OR this thread
 
 
Cool, I didn't know about the FF like find. Nice find. ;-)

I also use (on Windows now, but my new job starts next week, and I'll be on a MacBook Pro, woo-hoo):

Ctrl-H: search Workspace or Working set
Ctrl-Shift-O: cfoutput
Ctrl-Shift-A: cfabort
Ctrl-Shift-D: cfdump
Ctrl-W: close file
Ctrl-Shift-W: close all files
Ctrl-3: surround with pound signs
 
posted 410 days ago
Add Comment Reply to: this comment OR this thread
 
 
@orangepips: Thanks for the tip -- I'll take a look at that.

@Aaron: Congrats on the new job. And nice on a Mac, are you on a Mac at home?

I've re-mapped Ctrl-Shift-A to 'Maximize Active View or Editor' which is a preference I have going back to my CF Studio days to hide the file explorer view.
 
posted 410 days ago
Add Comment Reply to: this comment OR this thread
 
 
nope, I only have about 4 months experience with Mac from a job I had 2 years ago. New adventures for me!
 
posted 410 days ago
Add Comment Reply to: this comment OR this thread
 

Search

Sam  Farmer