Posts tagged "coda"

Solarized

Earlier this week I discovered Solarized, "a sixteen color palette […] designed for use with terminal and gui applications".

Bundles are available for all the popular editors; I went ahead and cloned the Coda bundle. While the code on my screen immediately looked very nice, a few of Justin's colour choices didn't sit well with me.* I spent an hour or two trying a large number of different combinations until my JavaScript file was harmoniously highlighted.

Solarized code snippet
Solarized code snippet

I wanted an even intensity, but didn't allow myself to deviate from Ethan's prescribed colours. I'm happy with the result: the soft highlighting makes the code easier to understand without being a distraction. Only regular expression literals leap forward, but these tend to occur infrequently.

Coda users may be surprised to see method invocations highlighted. That's one of the minor enhancements I've made to the default mode. If you're interested, have a look at Javascript.mode on Bitbucket.

* Blue escape sequences within red regular expression literals are too striking for my liking!

Coda theme for SyntaxHighlighter

It's no secret – I love Coda! It's a pleasure to use. It looks so damn good. When I started using SyntaxHighlighter I set out to create a Coda theme. Thankfully, the good folks at Panic had done the ground work for me. All I had to do was create a style sheet that would make my code snippets look as sexy online as they do in my text editor.

Or so I thought.

Django syntax highlighting for Coda

I love Coda. It's just so… sexy, somehow. I've just discovered Django, with which I'm fast falling in love as well. Naturally, when I came to write my first Django template I opened Coda.app and started coding.

It soon became apparent, however, that Coda does not apply syntax highlighting to Django. The solution? Juan Pablo Claude's Django and Django-template bundles for Coda.

Django syntax highlighting in Coda
Django syntax highlighting in Coda

Update —

I've since discovered an alternative mode which is actively maintained over on GitHub. I now use jbergantine's Django-Template.