Coda Tip: Add C++ Syntax Highlighting
Mar 4th, 2010 - 11 Comments - Posted in: tips & tutorials

Thought I should quickly post this in case it's useful to someone else...
I use Coda for just about all my web development needs. I've recently started learning C++ for some of my computer science classes, and being able to have FTP, the Terminal and file editing all in one application is incredibly useful. Unfortunately, it lacks basic C++ syntax highlighting, which is a bit of a pain.
Here are the quick steps required to add C++ syntax highlighting to Coda:
Step 1:
- Visit the SubEthaEdit site, and download the older 2.2 version of SubEthaEdit (older version is required to get this to work)
- Unzip the download, and then right click on the application and select "Show Package Contents"
- Navigate to Contents > Resources > Modes, and copy the "C++.mode" file
Step 2:
- Navigate to your applications folder, find Coda, and right click on the application and select "Show Package Contents"
- Navigate to Contents > Resources > Modes, and paste the "C++.mode" file
- Relaunch Coda if you already have it open
Step 3:
- Enjoy!
This should also work for other SubEthaEdit mode files, like C, Objective-C, Applescript, etc. You may also want to check the SubEthaEdit Modes page for additional syntax highlighting options, though they may not all be compatible with Coda.
Comments (11):
Oct 7th, 2010 3:42 AM
Jan 11th, 2011 12:13 PM
Feb 7th, 2011 9:27 AM
Mar 6th, 2011 3:36 AM
Apr 27th, 2011 8:53 AM
Jun 30th, 2011 8:59 PM
Jan 28th, 2012 4:43 PM
Feb 28th, 2012 11:50 PM
very useful for me.
Thanks.
Jul 2nd, 2012 10:35 AM
Jul 5th, 2012 8:57 AM
Mar 11th, 2013 4:14 PM
~/Library/Application Support/Coda 2/Modes