08
Feb
2008

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

Share with others
  • Digg
  • description
  • StumbleUpon
  • description
  • Reddit
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Live
  • Technorati
  • E-mail this story to a friend!

6 responses to “Humane theme for TextMate and Xcode”


  1. Gravatar 1 someone Feb 11th, 2008 at 13:02

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

  2. Gravatar 2 Damien Guard Feb 11th, 2008 at 14:02

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

    [)amien

  3. Gravatar 3 Francesco Aug 14th, 2008 at 16:08

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

  4. Gravatar 4 Francesco Aug 22nd, 2008 at 17:08

    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

  5. Gravatar 5 kain Sep 27th, 2008 at 06:09

    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.

  1. 1 Colour schemes for Visual Studio » DamienG Pingback on Feb 9th, 2008 at 00:02

Leave a reply