Fork me on GitHub

article

Add Bash syntax highlighting to Coda

May 27, 2010 | Computers | 6 Comments

Coda LogoJust a quick tip here. Panic’s web-focused IDE Coda uses SubEthaEdit’s rendering engine. Coda uses an OLDER version of SubEthaEdit’s rendering engine. So if you want to add syntax highlighting modes to Coda they have to be older versions.

I wanted to add the Bash syntax mode from SubEthaEdit to Coda, but had to go back a few versions in SubEthaEdit to get one that would load. Fortunately SubEthaEdit 2.2 is still available for download and contains a compatible Bash mode.

To extract it you need to download the SubEthaEdit 2.2 version and mount the .dmg file. Right click on the SubEthaEdit icon and select “Show Package Contents”. Navigate to the Resources/modes folder and copy the bash.mode to your “~/Library/Application Support/Coda/Modes” folder. Restart Coda if it was open.

I’m not sure how to identify the newer versions of modes other than to just let Coda tell me that it won’t work after I add the mode, and I’m not sure what it is about the newer modes that invalidates them for the older rendering engine in Coda. At least we’re not left out in the cold, though.

It’s no TextMate, but it’ll work ;)

6 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  • Great thanks a lot! Thats what I have just been lookin for!

    Marius, August 10, 2010 3:02 pm | permalink

  • This is fantastic! absolutely what I was looking for…;-D I really appreciate that you riddled this out.

    cheers,
    m!

    Mikel King, September 3, 2010 10:07 am | permalink

  • Great solution. Works like a charm for me.
    Thanks a lot!

    mau, November 26, 2010 1:20 pm | permalink

  • super cool. thnx!

    thinbegin, September 13, 2011 12:24 am | permalink

  • Thank you SO much… I’ve messed up my Coda install pretty good in the past when trying to fix this!

    zigmoo, October 21, 2011 2:33 pm | permalink

  • Thank you ! Great solution ! It work very well !

    StephVM, January 26, 2012 2:26 pm | permalink

Have your say:

Some HTML is OK

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

or, reply to this post via trackback.