Wednesday, May 28, 2014

Sublime Text 3 and ColdFusion

The instructions on the git site for the Sublime Text 3 ColdFusion plugin says that the only way to install the plugin is to use Git. https://github.com/SublimeText/ColdFusion

I had trouble getting it to work on a fresh build of Sublime Text 3 because the build from 22 Sep 2013 appears to be broken. The previous build from 17 Sep 2013 works fine, but after installing the broken build, I had to wipe out the Sublime Text 3 settings entirely to get the previous build to work.

Install Git
Download and install the latest version of Git.

Choose the middle option: "Use Git from the Windows Command Prompt"
(By default, "Use Git from Git Bash only" is checked.)


Accept the defaults for the rest.

Download and Install Sublime Text 3
http://www.sublimetext.com/3

Install the ColdFusion plugin
run CMD.EXE and type the following commands:
The git checkout line above reverts your clone to the Sept 17, 2013 build.

Run Sublime Text 3 and open a ColdFusion page...



The familiar syntax coloring should be there.

Wiping out Sublime Text 3 settings
If you are still having trouble, wipe out the sublime text 3 settings by deleting this folder:
%APPDATA%\Sublime Text 3
It will be recreated the next time you run Sublime Text 3, but be prepared to reinstall all plugins.


12 comments:

  1. It works perfect, thanks for the guidance.

    ReplyDelete
  2. Thanks, this was helpful. Worked perfectly.

    ReplyDelete
  3. But I could not get it to work on my laptop with OS X 10.7.5 following exactly the same procedure

    ReplyDelete
  4. Thanks a lot Brien, any way to connect to remote server through any plugin with Sublime or is it only for saving locally and transferring via FTP etc.?

    ReplyDelete
    Replies
    1. I'm afraid I don't know! Truth is, I still use CFB2 with Mylyn as my IDE for most things. I posted this when exploring ST as an alternative. It never really took root, though I do keep it around.

      Delete
    2. Try SFTP. From Package Control, Install Package, SFTP.

      Delete
  5. I followed all these instructions on my Win8 machine and it worked perfectly. However, on my Win10 it's telling me: http://screencast.com/t/u87qCfara7iW
    Any ideas? (Git is totally installed btw.)

    ReplyDelete
    Replies
    1. Are you using 2.6.x? I know 1.9.5 doesn't play well with Windows 10. I'm surprised this blog post is still relevant. I thought for sure newer versions of SublimeText would render this obsolete.

      Delete