I am very fond of the TextMate 2 open source editor . I use it to write posts for this blog. I also really like the ‘cobalt’ text formatting theme that is included with TextMate.
I do not like the hideous default themes that ship with Xcode, and neither does this guy . Daniel Barowy kindly supplies a cobalt emulation theme for xcode on his site, but the file format does not work with the latest version of XCode. I converted this theme and tweaked it slightly to darken the appearance console output. The screenshot below shows Xcode adjacent to TextMate.
If you like the look of this, then copy and paste the text from the code box below into the following file.
1
~/Library/Developer/Xcode/UserData/FontAndColorThemes/cobalt.dvtcolortheme
Finally, restart Xcode and select the Cobalt theme under the preferences menu.
cobalt.dvtcolortheme 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version= "1.0" >
<dict>
<key> DVTConsoleDebuggerInputTextColor</key>
<string> 0.908811 0.908811 0.908811 1</string>
<key> DVTConsoleDebuggerInputTextFont</key>
<string> Menlo-Bold - 11.0</string>
<key> DVTConsoleDebuggerOutputTextColor</key>
<string> 0.851394 0.851394 0.851394 1</string>
<key> DVTConsoleDebuggerOutputTextFont</key>
<string> Menlo-Regular - 11.0</string>
<key> DVTConsoleDebuggerPromptTextColor</key>
<string> 0.38565 0.777779 1 1</string>
<key> DVTConsoleDebuggerPromptTextFont</key>
<string> Menlo-Bold - 11.0</string>
<key> DVTConsoleExectuableInputTextColor</key>
<string> 0.971012 0.971012 0.971012 1</string>
<key> DVTConsoleExectuableInputTextFont</key>
<string> Menlo-Regular - 11.0</string>
<key> DVTConsoleExectuableOutputTextColor</key>
<string> 0.971012 0.971012 0.971012 1</string>
<key> DVTConsoleExectuableOutputTextFont</key>
<string> Menlo-Bold - 11.0</string>
<key> DVTConsoleTextBackgroundColor</key>
<string> 0 0 0 1</string>
<key> DVTConsoleTextInsertionPointColor</key>
<string> 0 0 0 1</string>
<key> DVTConsoleTextSelectionColor</key>
<string> 0.576266 0.81005 1 1</string>
<key> DVTDebuggerInstructionPointerColor</key>
<string> 0.705792 0.8 0.544 1</string>
<key> DVTSourceTextBackground</key>
<string> 0 0.133 0.251 1</string>
<key> DVTSourceTextBlockDimBackgroundColor</key>
<string> 0.5 0.5 0.5 1</string>
<key> DVTSourceTextInsertionPointColor</key>
<string> 1 1 1 1</string>
<key> DVTSourceTextInvisiblesColor</key>
<string> 0.5 0.5 0.5 1</string>
<key> DVTSourceTextSelectionColor</key>
<string> 0.702 0.396 0.224 1</string>
<key> DVTSourceTextSyntaxColors</key>
<dict>
<key> xcode.syntax.attribute</key>
<string> 0.537 0.588 0.659 1</string>
<key> xcode.syntax.character</key>
<string> 1 0.384 0.549 1</string>
<key> xcode.syntax.comment</key>
<string> 0 0.533 1 1</string>
<key> xcode.syntax.comment.doc</key>
<string> 0 0.533 1 1</string>
<key> xcode.syntax.comment.doc.keyword</key>
<string> 0 0.533 1 1</string>
<key> xcode.syntax.identifier.class</key>
<string> 0.261 0.626 0.982 1</string>
<key> xcode.syntax.identifier.class.system</key>
<string> 1 0.867 0 1</string>
<key> xcode.syntax.identifier.constant</key>
<string> 0.261 0.626 0.982 1</string>
<key> xcode.syntax.identifier.constant.system</key>
<string> 1 0.384 0.549 1</string>
<key> xcode.syntax.identifier.function</key>
<string> 0.261 0.626 0.982 1</string>
<key> xcode.syntax.identifier.function.system</key>
<string> 1 0.867 0 1</string>
<key> xcode.syntax.identifier.macro</key>
<string> 0.537 0.588 0.659 1</string>
<key> xcode.syntax.identifier.macro.system</key>
<string> 1 0.616 0 1</string>
<key> xcode.syntax.identifier.type</key>
<string> 0.261 0.626 0.982 1</string>
<key> xcode.syntax.identifier.type.system</key>
<string> 0.502 1 0.51 1</string>
<key> xcode.syntax.identifier.variable</key>
<string> 0.261 0.626 0.982 1</string>
<key> xcode.syntax.identifier.variable.system</key>
<string> 0.8 0.8 0.8 1</string>
<key> xcode.syntax.keyword</key>
<string> 1 0.616 0 1</string>
<key> xcode.syntax.number</key>
<string> 1 0.384 0.549 1</string>
<key> xcode.syntax.plain</key>
<string> 1 1 1 1</string>
<key> xcode.syntax.preprocessor</key>
<string> 0.665 0.992 0.997 1</string>
<key> xcode.syntax.string</key>
<string> 0.227 0.851 0 1</string>
<key> xcode.syntax.url</key>
<string> 0.227 0.851 0 1</string>
</dict>
<key> DVTSourceTextSyntaxFonts</key>
<dict>
<key> xcode.syntax.attribute</key>
<string> Monaco - 12.0</string>
<key> xcode.syntax.character</key>
<string> Monaco - 12.0</string>
<key> xcode.syntax.comment</key>
<string> Menlo-Italic - 12.0</string>
<key> xcode.syntax.comment.doc</key>
<string> Menlo-Italic - 12.0</string>
<key> xcode.syntax.comment.doc.keyword</key>
<string> Menlo-Italic - 12.0</string>
<key> xcode.syntax.identifier.class</key>
<string> Monaco - 12.0</string>
<key> xcode.syntax.identifier.class.system</key>
<string> Monaco - 12.0</string>
<key> xcode.syntax.identifier.constant</key>
<string> Monaco - 12.0</string>
<key> xcode.syntax.identifier.constant.system</key>
<string> Monaco - 12.0</string>
<key> xcode.syntax.identifier.function</key>
<string> Monaco - 12.0</string>
<key> xcode.syntax.identifier.function.system</key>
<string> Monaco - 12.0</string>
<key> xcode.syntax.identifier.macro</key>
<string> Monaco - 12.0</string>
<key> xcode.syntax.identifier.macro.system</key>
<string> Monaco - 12.0</string>
<key> xcode.syntax.identifier.type</key>
<string> Monaco - 12.0</string>
<key> xcode.syntax.identifier.type.system</key>
<string> Monaco - 12.0</string>
<key> xcode.syntax.identifier.variable</key>
<string> Monaco - 12.0</string>
<key> xcode.syntax.identifier.variable.system</key>
<string> Monaco - 12.0</string>
<key> xcode.syntax.keyword</key>
<string> Monaco - 12.0</string>
<key> xcode.syntax.number</key>
<string> Monaco - 12.0</string>
<key> xcode.syntax.plain</key>
<string> Monaco - 12.0</string>
<key> xcode.syntax.preprocessor</key>
<string> Monaco - 12.0</string>
<key> xcode.syntax.string</key>
<string> Monaco - 12.0</string>
<key> xcode.syntax.url</key>
<string> Monaco - 12.0</string>
</dict>
</dict>
</plist>