The Dopefly Tech Blog

« The Dopefly Tech Blog Main page

My CFEclipse Snippets

posted under category: CFEclipse on February 23, 2006 by Nathan

The coolest thing that I demo'd for CFEclipse last night was probably the snippets. These things can be killer if you know how to use them. They are a serious WOW feature. So, without further ado:

Nathan's CFEclipse Snippets

Download them, unzip them, and put them in your snippets folder. The default location is in your workspace plugins CFEclipse folder. As an example, here's where mine is:

C:\Documents and Settings\Nathan\workspace\.metadata\.plugins\com.rohanclan.cfml\snippets\

Watch out for that keyCombos.properties file, it keeps the key shortcuts. If you already have one, just merge mine into yours when you copy the folders, it's just a simple text file.

Most of my snippets have a shortcut key. Follow them by [ctrl]+[shift]+[period] (on windows, sorry, don't know the mac combo) to insert the snippet. Here's some of my favorites:

fun = cffunction tags
arg = cfargument
q = cfquery
r = cfreturn
d = cfdump
a = cfabort
p = cfparam
getset = getter and setter functions
todo = a todo comment

Provide feedback in the comments!

Nathan is a software developer at The Boeing Company in Charleston, SC. He is essentially a big programming nerd. Really, you could say that makes him a nerd among nerds. Aside from making software for the web, he plays with tech toys and likes to think about programming's big picture while speaking at conferences and generally impressing people with massive nerdiness and straight-faced sarcastic humor. Nathan got his programming start writing batch files in DOS. It should go without saying, but these thought and opinions have nothing to do with Boeing in any way.
This blog is also available as an RSS 2.0 feed. Click your heels together and click here to contact Nathan.