For a while now, I’ve been using Sublime Text instead of ColdFusion Builder/CFEclipse – it’s faster and just gets out of the way. (I do still use Eclipse for MXUnit plugin however)
Getting ColdFusion support wasn’t too hard – I used the great package at https://github.com/indynagpal/coldfusion-sublime-text-2. However, it felt a little too “hands-on” for me for 2011.
However, today I discovered another ColdFusion package. The folks over at sublimetext.info (as best I can tell, not connected to the official company) have a GitHub repo at http://github.com/SublimeText with a number of Sublime Text packages for various languages. ColdFusion is one, and while it doesn’t have the massive snippet support of indynagpal’s, it does do a good job of mirroring some of the most common shortcuts used in Eclipse. You can do the downloading and unzipping thing (or git clone) – uggh – but you can also use the very excellent package manager over at http://wbond.net/sublime_packages/package_control to install ColdFusion support in Sublime Text in just a few steps:
- Install Sublime Text from http://www.sublimetext.com if you haven’t already (unregistered version currently never times out, but I recommend purchasing it – the time you’ll save not waiting around for Eclipse to load will pay for itself quickly!)
- Open Sublime, press CTRL (Update: both Mac and PC – *NOT* CMD on Mac) + ` (For the confused: hold down those 2 keys at the same time – note it’s the character below ESC, not a single quote)
- Copy and paste the following into the console that comes up in Sublime Text: (from http://wbond.net/sublime_packages/package_control/installation)
import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print 'Please restart Sublime Text to finish installation' - When it finishes (“Please restart Sublime Text to finish installation” shows in the bottom line of console), close Sublime Text and reopen
- Click Preferences > Package Control
- Click “Package Control: Install Package”
- Scroll to or just type “ColdFusion” – hit Enter
- You’ll see some action in the status bar of the app – it’ll tell you when it’s installed
- Code your little ColdFusion heart out now – for into on shortcuts, etc, see the readme at https://github.com/SublimeText/ColdFusion


