I'm continually adding and editing my CFEclipse Snippets in an effort to be as productive as possible. After adding a few new ones today I thought I'd offer them up for download. The download includes snippets for several ColdFusion tags including cfcomponent and cffunction as well as snippets for comment headers, an HTML skeleton, and more. Most of them are "smart" snippets illustrating how you can provide pop-up menus allowing you to choose how the snippet will place code on your page. Pretty cool stuff. By no means are my snippets an exhaustive list and I welcome suggestions from other seasoned CFEclipse guru's.
- Download the zip file.
- Extract the contents of the zip file to your snippets directory. Your CFEclipse snippets directory is located in the CFEclipse plugin folder (com.rohanclan.cfml) which is located wherever you are storing your workspace. For your convenience, the snippets will be placed in a new folder (snippets_aaron) so you don't overwrite anything. This will allow you to play around with them and use what you like and delete what you don't like.
- Refresh the "Snip Tree View" using the menu in the Snippets panel.
- If step 3 doesn't make the "snippets_aaron" folder appear, try restarting Eclipse.
About this post:
This entry was posted by Aaron West on April 18, 2006 at 2:14 PM. It was filed in the following categories: ColdFusion. It has been viewed 20963 times and has 15 comments.