Tommy B.
Tommy B.

Reputation: 3659

Xcode's theme for TextMate

I'd like the default theme of Xcode but for TextMate.

Is there anyone who knows where I could find this?

Upvotes: 3

Views: 4780

Answers (3)

user2975337
user2975337

Reputation:

Since I couldn't get Paolino or El's themes to install in TextMate 2.0, I've created a new Xcode Default theme from scratch here:

https://github.com/jrodatus/xcodedefault-tmtheme-ng

Xcode-syntaxTextMate-syntax

Installation

  • Theme extension must be ".tmTheme" (exactly)
  • Double-click to install in TextMate, select "Themes" bundle when prompted
  • View->Theme->Xcode Default
  • View->Font->Show Fonts...: Menlo Regular 10.3 or 10.5
  • TextMate->Preferences->Projects->Open files on single click
  • Show file browser on: Left side

Extra

To change the selection color from orange, change the hex color code after the "selection" key in the tmTheme file.

To suppress tab creation when clicking on a file in the browser:

  • Method 1) Hold the Option key every time you click on a file.

  • Method 2) Clone the TextMate repository and edit textmate/Frameworks/DocumentWindow/src/DocumentWindowController.mm, replacing the occurences of OakIsAlternateKeyOrMouseEvent() with YES, and rebuild.

  • Method 3) If you don't want to install the build prerequisites, you can patch the binary directly. See GitHub README.

Upvotes: 0

Carmine Paolino
Carmine Paolino

Reputation: 2849

I just created it, check it out.

Upvotes: 9

James
James

Reputation: 5820

You could always just make it yourself, duplicate one of the TextMate themes and then apply the font styles from Xcode to the textmate theme. It won't take too long and will let you fix the bits that you think are broken!

Upvotes: 3

Related Questions