Coda 1.5 is the bee’s knees

August 27, 2008, 1:11 pm · Filed under: Coda, JavaScript, Web Development

A long time ago, in a country far, far away, I wrote a blog post where I called skEdit The (Mostly) Perfect Text Editor. Coda, while itself not perfect, is even better.

andrew.hedges.name



I am a web developer, living and working in New Zealand. I’m into my family, photography and frisbee sports.

Never trust a computer you can’t throw out a window.
Steve Wozniak


Meta Me

LinkedIn
Twitter
Facebook
Ma.gnolia
Zooomr


Topics

Apple · Business · Coda · Design · Google · JavaScript · jQuery · Life · Marketing · New Mexico · New Zealand · PHP · Politics · Ruby on Rails · Twitter · Usability · Web Development · Widgets


Archives


Most Popular

Defeat comment spam? Yes we can! · The first 48 hours of PHP Function Reference, by the numbers · There is too much. Let me sum up. · What will be your legacy? · Make long URLs short with tr.im.it · On the value of Twitter · Coda 1.5 is the bee’s knees · Series on hold: What a surprise… · Radiant JavaScript Singletons Freelance Down Under · innerHTML versus the DOM: Can’t we all just get along?


Most Recent

Defeat comment spam? Yes we can! · There is too much. Let me sum up. · What will be your legacy? · Make long URLs short with tr.im.it · On the value of Twitter · Ego-surfing, 2001 style! · Stack Overflow: I’m sold! · V8: neither all that nor a bag of chips · Playing to a browser’s strengths: Simple Templates 1.1 · Introducing jQuery Simple Templates


Recent Reads

Encouraged Commentary · Google Weather API informal documentation · html5.org - HTML revisited · Introduction to WAI ARIA · bookoutlines / Predictably Irrational · The Rise of HTML5 · Five CSS design browser differences I can live with · HTML 5: The Markup Language · Avoiding Silos: “link” as a first-class object · The facade design pattern in JavaScript

See more @ Ma.gnolia


Friends

80/20 · 90 Seven Design · Alyson Hurt · Brian Warren · Daniel Lyons · Daniel Schwartz · David Hedges · Joshua Sallach · Kelly Green · Mark Bixby · Method Arts · Morgan Pyne · Piers Harding · Rob Pongsajapan · Ryan Park · seven-gen · Vaughan Rowsell · Vincent Thomé · Voom Studio


Recommended Books on
Web Development

My bias is for references over “cookbooks.” I want to know all of my options, not just one way to do something. Show me the why as well as the how and I am happy.

JavaScript: The Good Parts · JavaScript: The Definitive Guide · Designing with Web Standards · CSS: The Definitive Guide · Prioritizing Web Usability · The Elements of User Experience · Don't Make Me Think: A Common Sense Approach to Web Usability


Subscribe

Atom · RSS 2.0


I’ve hosted this website with pair Networks since 1997. They rock.

This blog is powered by software I wrote. Want some of that? Hire me.

Panic have just released version 1.5 of Coda, a free-to-current-users upgrade to their one-window web development application. It’s sweet as.

I was once smitten with skEdit because it didn’t do everything. I had used BBEdit for a long time before that. While BBEdit had some really fine points to it, it just felt clunky and over-featured compared to skEdit.

Coda takes this elegance a step further by combining an excellent text editor with other commonly needed features for web designers and developers. It’s big selling point is the one-window thing. I was wary at first, but have come to love it.

Now, Coda 1.5 is here. It fixes a couple of niggles I had with previous versions and adds some new features that make it even more useful. The #1 feature everyone is talking about is integrated support for SVN.

Coda's SVN support Coda’s SVN support

I used to develop in Eclipse. One of the things I liked most about it was the visual integration of SVN functionality. I like Coda’s approach way better. It’s simple, elegant, and easy-to-use; everything you’d expect from great Mac software.

I was glad to see that Coda 1.5 fixed some issues I’d been seeing with JavaScript syntax highlighting. Specifically, older versions of Coda would incorrectly colour keywords (such as for and in) in comments. It was annoying, but not that big of a deal in the scheme of things.

There is, however, one problem I’d like to humbly ask the Coda gods to address. It keeps me from being able to use what could be a killer feature. I’m talking about the Code Navigator and it’s lack of understanding of the module pattern.

I spend almost every working hour writing JavaScript. As I’ve written about before, I am a consistent user of the module pattern popularised by Douglas Crockford of Yahoo! Coda’s Code Navigator does a really poor job of recognising important symbols in JavaScript written this way. Here’s an example from the jQuery widget I’m currently building:

var DOCS = (function () {
    // private members
    var _urls, _callback;
    _urls = {
        xml : MAIN.base + '/Assets/xml/api-docs.xml',
        xsl : MAIN.base + '/Assets/xsl/main.xsl'
    };
    _callback = function (obj) {
        if (obj.outputString.indexOf('SUCCESS') > -1) {
            // success
        } else {
            // error
        }
    };
    // public members
    return {
        load: function () {
            $('#front .content').xslt(_urls.xml, _urls.xsl);
        },
        update: function () {
            WW.system(MAIN.base + '/Assets/php/update-docs.php', 
                _callback);
        }
    };
})();

This is typical stuff. It creates a global object with a private variable, a private method, and a couple of public methods.

Unfortunately, the only symbol that shows up in Coda’s Code Navigator is _callback. I assume the reason for this is that for the public methods to be recognised, Coda would have to actually evaluate the JavaScript, rather than just doing syntax matching. It’s understandable, but I hope the good people at Panic find a way to make the Code Navigator smarter in a future release.

Fin

Comments close automatically after 15 days.
Still have something to say? Drop me a line!