Apache Configuration Language Module for Coda
After my last post on FTP in Eclipse, I started using Coda as an alternative editor for CFML. Must say that it is one of the nicest applications that I've used (sorry Windows users, it is a Mac only app).
It support CFML code completion, snippets and syntax highlighting. Very quick and easy to use.
In fact, I switched all text files to open in Coda. It is quite extensible and provides quite a few language modules for syntax highlighting and code completion.
Since I'm usually twiddling with Apache conf files, I found an Apache language module (http://www.codingmonkeys.de/subethaedit/modes.html). However, that module is quite old... it was last updated in 2004.
So, I decided to spend a little time and bring it up to date. It now supports all directives and keywords up to Apache 2.2.
Here is the updated version of the Apache language module. Simply unzip it in ~/Library/Application Support/Coda/Modes/ folder and restart Coda.

I find it really useful as you can immediately see syntax errors. It really helps in cutting down the number of times you to test Apache configuration file changes, and even number of Apache restarts.
Comments
Indy Nagpal wrote on 06/14/09 1:11 PM
Woah. That was quick! I just about posted this entry! You have set a record for this blog for the quickest comment!Jules wrote on 06/14/09 2:56 PM
You make me want to share. Next week I will export and share my Coldfusion Clips.Indy Nagpal wrote on 06/14/09 3:41 PM
That'll be great Jules! Look forward to it.Jules wrote on 06/17/09 7:24 AM
Here ya go: http://www.webveteran.com/blog/index.php/web-coding/coldfusion/coldfusion-clips-for-coda/unclespeedo wrote on 06/20/09 6:09 AM
thanks, this is excellent!theipdc wrote on 07/02/09 1:07 AM
Great Module! Thanks!But it should be installed in:
~/Library/Application Support/Code/Modes/
Indy Nagpal wrote on 07/02/09 8:17 AM
Thanks theipdc... You are right about the path. I'm changing the blog entry to reflect that.Glad that the module is helpful.
Billy wrote on 01/21/10 10:28 AM
Not to bump an old post, but thanks for this! I was thrilled to find it. I added a file, CodaCompletion.plist in the contents/resources dir of the apache.mode directory, providing access to the autocomplete keystroke (apple+question mark) for commenting out/uncommenting lines of code. The file contents are as follows (probably messed up in posting the comment):<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Comments</key>
<dict>
<key>StartTag</key>
<string>#</string>
</dict>
</dict>
</plist>
Might be useful to add other keys as well!
k1z oyunlar1 wrote on 02/28/10 10:47 AM
I find it really useful as you can immediately see syntax errors. It really helps in cutting down the number of times you to test Apache configuration file changes, and even number of Apache restarts.Giochidibarbie wrote on 03/15/10 12:52 PM
There are many shades to open social implementations. Twitter's OAuth requires the third-party applications to sit on their server. We do not want the over-capacity complication and decide on the say-hi-and-bye method to let Twitter users sign into isayusay.net as guests, create live social mail in a snap, and post them to Twitter with custom messages.
Chris Mallinson wrote on 06/14/09 1:03 PM
I made an embarrassingly loud shriek of glee when I read this post title. This is awesome, and I can't wait to use it.