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)

  1. Copy to ~/Library/Application Support/Xcode/Color Themes
  2. 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 color pairs backward, e.g. 00631409 becomes #091463

[)amien

7 responses

  1. Avatar for someone

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

    someone 11 February 2008
  2. Avatar for Damien Guard

    Try Inconsolata on Windows at larger sizes - 12pt with ClearType looks a bit Mac-like!

    Damien Guard 11 February 2008
  3. Avatar for Francesco

    I love this theme! Now is the default theme in Xcode, thank you!

    Francesco 14 August 2008
  4. Avatar for Francesco

    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 22 August 2008
  5. Avatar for kain

    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.

    kain 27 September 2008
  6. Avatar for PaulK

    This color scheme and the Consolas font is a great combination in X Code.

    Thanks.

    PaulK 30 May 2009
  7. Avatar for Brannon

    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 5 February 2011