Humane theme for TextMate and Xcode

My Humane theme for Visual Studio is getting a fair bit of traffic today courtesy of Scott Hanselman. Given I have been messing with Mac development lately I thought it was worth porting to TextMate and Xcode 3.

Panic Sans coding font

My Envy Code R programming font isn’t great on the Mac yet so I have configured these to use the excellent but overlooked Panic Sans in 12 point which unlike Monaco is available in bold, italic and bold italic variants. (I love my comments to be italics)

To install this font you must:

  1. Download Panic Software’s Coda application
  2. Navigate to the Coda application and choose Show Package Contents
  3. Navigate to the Contents/Resources folder
  4. Double click on the Panic Sans.dfont and press Install Font
  5. Panic Sans is now available to other applications too

TextMate

Screenshot of the Humane Theme and Panic Sans 12 point inside TextMate

Download Humane theme for TextMate (5 KB)

Launching the downloaded .tmTheme file will cause it to copy to ~/Library/Application Support/TextMate/Themes
Select Humane from the Preferences > Fonts & Colors pane in the drop-down list box

Xcode 3

Screenshot of the Humane Theme and Panic Sans 12 point inside Xcode 3

Download Humane theme for Xcode (4 KB)

Copy to ~/Library/Application Support/Xcode/Color Themes
Select Humane from the Preferences > Fonts & Colors pane in the drop-down list box

Porting themes

Until somebody comes up with an IDE-independent theme format or cool converter we’ll have to do it by hand. The easiest way I have found is:

  1. Install Hex Color Picker on the Mac to allow entering hex into the standard color picker
  2. Open the Visual Studio theme .vssettings file in a text editor
  3. Open up the Fonts & Colors preferences pane up in your Mac IDE
  4. Go through each one and choose the nearest match in the .vssettings
  5. Transcribe each color by reading the VS colour pairs backward, e.g. 00631409 becomes #091463

[)amien

9 responses  

  1. I so wish the fonts in VS 2008 editor looked like those screenshots! *sigh*

    someone – February 11th, 2008
  2. Try Inconsolata on Windows at larger sizes – 12pt with ClearType looks a bit Mac-like!

    [)amien

    Damien GuardFebruary 11th, 2008
  3. I love this theme!
    Now is the default theme in Xcode, thank you!

    Francesco – August 14th, 2008
  4. Until somebody comes up with an IDE-independent theme format or cool converter we’ll have to do it by hand.

    Hi,
    if you are interested I’ve made an application that converts TextMate themes into Xcode themes…
    Maybe in the future i’ll add the possibility to convert from VS themes

    Francesco

    Francesco – August 22nd, 2008
  5. may be a bit late to the party but it looks like that, from my quick looking, panic’s fonts is bitstream vera sans mono, the only difference I found is that the underscore is more vertically aligned.

    kainSeptember 27th, 2008
  6. This color scheme and the Consolas font is a great combination in X Code.

    Thanks.

    PaulKMay 30th, 2009
  7. pingback

    […] leaks while looking for resources on memory leaks! Damien posted a link to his color theme file in this post. I have updated the color theme file and adapted for my needs, choosing “Andale Mono” […]

    XCode color theme « Indyfromoz’s WeblogJune 20th, 2009
  8. I found the following script to convert the Xcode 3 scheme to Xcode 4:
    https://gist.github.com/488120

    It worked great on your Humane theme.

    Brannon – February 5th, 2011
  9. pingback

    […] Humane theme from Damien Guard (also available for […]

    Color Themes, Part Deux | MacIndieFebruary 6th, 2011

Respond to this