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.
Installation instructions:
- 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.














Also tried installing coldBox snippets but no luck with that either.
@Aaron - Where can I read up more on creating snippets with the dynamic data you have in your snippets as I find them extremely useful in cutting down my deveopment time? (ie. $${DATE})
Any solutions adam ?
Not a permmisions issue .
Perhaps driver , perhaps .
http://www.adobe.com/devnet/coldfusion/articles/ec...
with kudos to aaron. Thank you!
Gary suggested a great workaround. You can go into your CFEclipse preferences and change the default location of your CFEclipse snippets. This will allow you to choose a folder that's visible in Finder.
I actually went about another route. I found this small Mac utility on VersionTracker that makes all invisible files and folders visible.
Visibility
http://www.versiontracker.com/dyn/moreinfo/macosx/...
There's plenty other apps like this. This is just the first one I found.
Once you can view invisible folders, go to your Eclipse workspace folder and go to
.metadata\.plug-ins\org.cfeclipse.cfml\snippets
After I did this, I refreshed the Snip Tree in Eclipse, and Aaron's snippets showed up like cake.
@Aaron - I started to make the transition away from Dreamweaver yesterday, so this is my first time trying out your snippets (or any snippets for that matter). Can't wait to check 'em out.
I haven't tried the tool you found on VersionTracker as I wrote my own AppleScript utility that sits in the Menu bar waiting to be used. I simply run the AppleScript to toggle hidden files to "viewable" and do what I need to in hidden directories. When finished, I just toggle hidden files back to normal. For more info on this utility search my blog for "ToggleHiddenFiles."
I only discovered "snippits" tonight and figured some CF genius out there must have posted some good ones. I found yours. ;) Using yours as guides, I was able to write my own time-saving snippets and I'm oh-so-happy. Thanks again!