How to use snippets in CF Eclipse (Coldfusion for eclipse)

Snippets in Cf Eclipse can be a powerful way of both reducing the typing you do, and also making sure that code you produce is consistent, and error free.

Not just a collection of bits of code, the dynamic snippets in cfeclipse allow you to speed up repetitious tasks while ensuring accuracy and minimising test time.

Taken from http://www.cfeclipse.org/features.cfm

“The CFEclipse snippets implementation allows you to use dynamic Homesite-style snippet variables of the form $${variable:default} within the snippets. When you insert a snippet of this type you are prompted for the values you would like to use.”#

Used well this can save you an enormous amount of time and effort. 

To load snippets to your CFEclipse perspective go to:

“Window -> Show View -> Aptana standard views”.

Select “Snip Tree View” and click OK.

A full resource on the power of CFEclipse snippets can be found here:

http://trac.cfeclipse.org/wiki/CFSnippets

If you use Aptana for Eclipse a guide on how to use snippets in Aptana for Eclipse can be found here.

Bookmark and Share

Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.

Comments

No comments yet.

Leave a comment

(required)

(required)