For Xcode 4.1
Still a huge pain. Poor UI design (But my mindset does not seem to match the mindset of software engineers that make 100+ character variable and method names. Enough of my complaining)
I'll modify a previous post for the current version.
- Close any projects you have open in Xcode (Otherwise the Font window will be inaccessible while a project is open.)
- Go to XCode > Preferences > Fonts & Color
- From the 'Theme' box select the theme you want to modify (or select the theme you want to modify and click the "+" button at the bottom of the theme list to clone it first for backup, for there is no undo option)
In the source editor box there is a list of types of text that you may set the font for:
Plain text
Comments
Documentation Comments
.
.
.
Select any or all items from the source editor list and the name and size of the font for
that particular text will show up in the 'Font' window below the 'Source Editor' window.
(If you happen to skip highlighting one of these, you will be able to get to the Font
Inspector and select new sizes, but will wonder why the changes you make are not being
applied!)
- In the 'Font' window, click the small, almost hidden, and surely poorly design 'T' icon
to the right of the font name and size.
- Voila! In only 14 keystrokes you are able to get the Font inspector window!
- Your existing font will be preselected in the font inspector. Whatever changes you make now
will be applied to the text types you selected in the 'Source Editor' window.
e.g. All Fonts > Menlo > Regular > 14
- Close the windows you opened on this hunt for the holy grail.
Congratulations. Your may now read your code.
Wasn't that painless?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…