Quick CFEclipse/Frameworks Explorer Tip
I'm working on a rather large Model-Glue site. The main ModelGlue.xml file contains many includes to break out the functionality.
While this makes the XML a lot easier to read, it confuses the framework explorer a bit. The framework explorer does correctly notice the include. But it doesn't let me explorer the XML and see the controllers and event handlers.
Turns out there is a simple solution. I just needed to right click on my included XML file, select CF Frameworks, and then Set/Unset as Configuration file:

In the drop down, select Model-Glue. Then in the frameworks explorer window, hit the Refresh button. Your XML file will now show up as a Model-Glue config file you can browse.
I want to say I'm very disappointed in CFEclipse. The fact that it can't read my mind and understand what I mean by telepathy is truly a shortcoming of the product. I may have to switch to Visual Studio I suppose. (Hmm, may be a bit hard on the Mac.)
CFSnippets.org Launches
Todd Sharp just launched a new project, CFSnippets.org. Let me "innovate" some text from his blog entry:
I'm proud to announce the launch of my latest project, cfsnippets.org. The site is the first public SnipEx repository open to all snippet types for CFEclipse. If you're not familiar with Snippets in Eclipse, they're basically simple chunks of code - typically repetitive type tasks - that you can quickly and easily insert into your code by point/click or keyboard shortcut combinations. Jared Rypka-Hauer has already started a library on the site - check it out to get a feeling for how the site works. If you have snippets to add just register, verify your account and start adding snippets to the existing library or create your own. To use the SnipEx repository, click on 'SnipEx Server(s)' and copy the URL shown on that page and paste it into CFEclipse. For more on how to set that up see this post from Mark Drew.
I'm pretty happy to see this as I think SnipEx is one of the coolest IDE features I've ever seen.
Clearing your SnipEx Cache - and CFLib SnipEx Update
While working on some bugs in the CFLib SnipEx server, Mark Drew sent me a great tip on how to clear the cache in CFEclipse. Right now it is a manual process, but Mark will be adding a refresh option to the UI soon. So to clear your SnipEx cache, drop down to the command line and....
- Change to your Eclipse workspace. Mine was at /Users/ray/Documents/workspace
- Change to .metadata/.plugins/org.cfeclipse.cfml/snipex
- Delete all XML files
- Restart Eclipse
That's it. During development it makes sense to just keep a window open there so you can do this a bit more quicker. (By development I mean if you are working on your own SnipEx server.)
So CFLib has had some issues with SnipEx, mainly with UDFs that don't work well in the XML feed. I've been removing the UDFs temporarily and this morning I just removed another another one. If you have trouble loading a library, please clear your cache first, then try again, and let me know.
p.s. Now that I've got a nice XML version of CFLib, my next "for fun" project will be an AIR client for CFLib!
Snipex Code Released - CFLib Available in Eclipse
Mark Drew has released the code for SnipEx. This allows anyone to setup a Snippets server for Eclipse. How is this useful? You can now browse the entire CFLib library directly from Eclipse. No more need to ignore my annoying ads. Just add:
http://www.cflib.org/snipex/snipex.cfc
As a SnipEx server. I noticed that the node shows up blank, but when you expand it, you will see all the CFEclipse Libraries and UDFs. You can then click for a description or double click to insert a UDF. How freaking cool is that?
I'm going to be doing a bit of work on the XML when I can. I noticed the libraries are not sorted so I'll try to fix that.

CFEclipse adds Eclipse 3.3 Support
Mark Drew has updated CFEclipse to support Eclipse 3.3. See his announcement. I'm using it right now and it seems to be working fine. I installed Aptana, and AIR, but have only tested basic HTML work.
ColdFusion 8 Dictionary for CFEclipse
Mark Drew just announced an earlier version of the ColdFusion 8 dictionary for CFEclipse. Grab it now.
One thing that may not be obvious - or maybe you didn't know about CFEclipse, but Mark has set it up so you can set the version of ColdFusion you are running. That way if you are using ColdFusion 6, or Blue Dragon, or Railo, and use a function that only exists in ColdFusion 7, you will get immediate feedback of the problem. This is per project - so if you work in various versions of ColdFusion, you can set each project to the one being used.
Mark Drew announces SnipEx
Forgive the simple cross post - but I wanted to point out Mark Drew's latest blog post:
Project X unveiled: Say a big hello to SnipEx
This is an uber-cool new feature coming to CFEclipse - remote snippets. This even includes integration with CFLib. You will be able to insert a UDF right into your document all via CFEclipse. (Hey Mark, you going to reimburse my Adsense loss?? ;)
Tip for CFEclipse/CF Frameworks Explorer
As I mentioned earlier today, Mark Drew has released the CF Frameworks Explorer for CFEclipse. One feature I couldn't get working right was the "Open Include" option for my views in my ModelGlue XML.
The problem was that the explorer couldn't translate my ColdSpring view mapping (/adobeopen/views) to a proper folder.
All it took was right clicking on my project in Eclipse, selecting Set CF Mapping, and naming it adobeopen.
I was then able to immediately open my views from the explorer. It's amazing how easy it is to get support when you can walk up to Mark and bug him. ;)
Framework explorer ready for CFEclipse
I blogged about the new frameworks support in CFEclipse two days ago, and now it is ready for download. It is still in development so use it with care, but if you want to play with it, grab it from the site. Check out the screen shot below:

This is what the tool automatically picked up from my RIAForge project.
cfObjective - Mark Drew and CFEclipse
Mark Drew has announced frameworks support for CFEclipse and let me say - it looks incredibly sexy. He demonstrated support for Fusebox, Reactor, Model-Glue, and other frameworks. The plugin is even able to automatically determine your framework automatically, which is just incredible. Mark says the frameworks are configured by XML, and that Transfer support, for example, was added in about 5 minutes.

