前往文件夹 -> /Users/user/Library/Developer/Xcode/UserData/FontAndColorThemes/  (user改为自己的用户名)

-----如果是刚安装的Xcode 可能没有FontAndColorThemes 文件夹,自行新建

打开文件夹后,如下图

找到需要修改的 字体主题,导入Xcode中修改,如下图

打开后,修改对应的字体

备份一份,我修改好的字体,(已修改模板中多个不同类型代码显示颜色,方便阅读)

<?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>1 1 1 1</string>
<key>DVTConsoleDebuggerInputTextFont</key>
<string>Menlo-Bold - 11.0</string>
<key>DVTConsoleDebuggerOutputTextColor</key>
<string>1 1 1 1</string>
<key>DVTConsoleDebuggerOutputTextFont</key>
<string>Menlo-Regular - 11.0</string>
<key>DVTConsoleDebuggerPromptTextColor</key>
<string>0.255 0.714 0.27 1</string>
<key>DVTConsoleDebuggerPromptTextFont</key>
<string>Menlo-Bold - 11.0</string>
<key>DVTConsoleExectuableInputTextColor</key>
<string>1 1 1 1</string>
<key>DVTConsoleExectuableInputTextFont</key>
<string>Menlo-Regular - 11.0</string>
<key>DVTConsoleExectuableOutputTextColor</key>
<string>1 1 1 1</string>
<key>DVTConsoleExectuableOutputTextFont</key>
<string>Menlo-Bold - 11.0</string>
<key>DVTConsoleTextBackgroundColor</key>
<string>0.118 0.125 0.157 1</string>
<key>DVTConsoleTextInsertionPointColor</key>
<string>1 1 1 1</string>
<key>DVTConsoleTextSelectionColor</key>
<string>0.397 0.397 0.302 1</string>
<key>DVTDebuggerInstructionPointerColor</key>
<string>0.12 0.31 0.34 1</string>
<key>DVTMarkupTextBackgroundColor</key>
<string>0.18856 0.195 0.22444 1</string>
<key>DVTMarkupTextBorderColor</key>
<string>0.253475 0.2594 0.286485 1</string>
<key>DVTMarkupTextCodeFont</key>
<string>Menlo-Regular - 10.0</string>
<key>DVTMarkupTextEmphasisColor</key>
<string>1 1 1 1</string>
<key>DVTMarkupTextEmphasisFont</key>
<string>.SFNSText-Italic - 10.0</string>
<key>DVTMarkupTextLinkColor</key>
<string>0.255 0.333 0.819 1</string>
<key>DVTMarkupTextLinkFont</key>
<string>.SFNSText-Regular - 10.0</string>
<key>DVTMarkupTextNormalColor</key>
<string>1 1 1 1</string>
<key>DVTMarkupTextNormalFont</key>
<string>.SFNSText-Regular - 10.0</string>
<key>DVTMarkupTextOtherHeadingColor</key>
<string>1 1 1 0.5</string>
<key>DVTMarkupTextOtherHeadingFont</key>
<string>.SFNSText-Regular - 14.0</string>
<key>DVTMarkupTextPrimaryHeadingColor</key>
<string>1 1 1 1</string>
<key>DVTMarkupTextPrimaryHeadingFont</key>
<string>.SFNSDisplay-Regular - 24.0</string>
<key>DVTMarkupTextSecondaryHeadingColor</key>
<string>1 1 1 1</string>
<key>DVTMarkupTextSecondaryHeadingFont</key>
<string>.SFNSText-Regular - 18.0</string>
<key>DVTMarkupTextStrongColor</key>
<string>1 1 1 1</string>
<key>DVTMarkupTextStrongFont</key>
<string>.SFNSText-Bold - 10.0</string>
<key>DVTSourceTextBackground</key>
<string>0.0347313 0.0370846 0.0468683 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.536854 0.536854 0.536854 1</string>
<key>DVTSourceTextSelectionColor</key>
<string>0.397 0.397 0.302 1</string>
<key>DVTSourceTextSyntaxColors</key>
<dict>
<key>xcode.syntax.attribute</key>
<string>0.335 0.456 0.488 1</string>
<key>xcode.syntax.character</key>
<string>0.469 0.426 0.77 1</string>
<key>xcode.syntax.comment</key>
<string>0.255 0.714 0.27 1</string>
<key>xcode.syntax.comment.doc</key>
<string>0.255 0.714 0.27 1</string>
<key>xcode.syntax.comment.doc.keyword</key>
<string>0.255 0.714 0.27 1</string>
<key>xcode.syntax.identifier.class</key>
<string>0.985121 0.0467123 0.0291477 1</string>
<key>xcode.syntax.identifier.class.system</key>
<string>0.0976965 0.496566 0.705882 1</string>
<key>xcode.syntax.identifier.constant</key>
<string>0.892402 0.792808 0.253131 1</string>
<key>xcode.syntax.identifier.constant.system</key>
<string>0.0976965 0.496566 0.705882 1</string>
<key>xcode.syntax.identifier.function</key>
<string>0.350311 0.416865 0.754 1</string>
<key>xcode.syntax.identifier.function.system</key>
<string>0.129075 0.926391 0.0512131 1</string>
<key>xcode.syntax.identifier.macro</key>
<string>0.778 0.488 0.284 1</string>
<key>xcode.syntax.identifier.macro.system</key>
<string>0.778 0.488 0.284 1</string>
<key>xcode.syntax.identifier.type</key>
<string>0.926271 0.931258 0.700537 1</string>
<key>xcode.syntax.identifier.type.system</key>
<string>0.0976965 0.496566 0.705882 1</string>
<key>xcode.syntax.identifier.variable</key>
<string>0.955575 0.70068 0.0466059 1</string>
<key>xcode.syntax.identifier.variable.system</key>
<string>0.0976965 0.496566 0.705882 1</string>
<key>xcode.syntax.keyword</key>
<string>0.698 0.134252 0.568962 1</string>
<key>xcode.syntax.number</key>
<string>0.469 0.426 0.77 1</string>
<key>xcode.syntax.plain</key>
<string>1 1 1 1</string>
<key>xcode.syntax.preprocessor</key>
<string>0.778 0.488 0.284 1</string>
<key>xcode.syntax.string</key>
<string>0.859 0.171 0.219 1</string>
<key>xcode.syntax.url</key>
<string>0.255 0.333 0.819 1</string>
</dict>
<key>DVTSourceTextSyntaxFonts</key>
<dict>
<key>xcode.syntax.attribute</key>
<string>Times-Roman - 14.0</string>
<key>xcode.syntax.character</key>
<string>Times-Roman - 14.0</string>
<key>xcode.syntax.comment</key>
<string>Times-Roman - 14.0</string>
<key>xcode.syntax.comment.doc</key>
<string>Times-Roman - 14.0</string>
<key>xcode.syntax.comment.doc.keyword</key>
<string>Times-Roman - 14.0</string>
<key>xcode.syntax.identifier.class</key>
<string>Times-Roman - 14.0</string>
<key>xcode.syntax.identifier.class.system</key>
<string>Times-Roman - 14.0</string>
<key>xcode.syntax.identifier.constant</key>
<string>Times-Roman - 14.0</string>
<key>xcode.syntax.identifier.constant.system</key>
<string>Times-Roman - 14.0</string>
<key>xcode.syntax.identifier.function</key>
<string>Times-Roman - 14.0</string>
<key>xcode.syntax.identifier.function.system</key>
<string>Times-Roman - 14.0</string>
<key>xcode.syntax.identifier.macro</key>
<string>Times-Roman - 14.0</string>
<key>xcode.syntax.identifier.macro.system</key>
<string>Times-Roman - 14.0</string>
<key>xcode.syntax.identifier.type</key>
<string>Times-Roman - 14.0</string>
<key>xcode.syntax.identifier.type.system</key>
<string>Times-Roman - 14.0</string>
<key>xcode.syntax.identifier.variable</key>
<string>Times-Roman - 14.0</string>
<key>xcode.syntax.identifier.variable.system</key>
<string>Times-Roman - 14.0</string>
<key>xcode.syntax.keyword</key>
<string>Times-Roman - 14.0</string>
<key>xcode.syntax.number</key>
<string>Times-Roman - 14.0</string>
<key>xcode.syntax.plain</key>
<string>Times-Roman - 14.0</string>
<key>xcode.syntax.preprocessor</key>
<string>Times-Roman - 14.0</string>
<key>xcode.syntax.string</key>
<string>Times-Roman - 14.0</string>
<key>xcode.syntax.url</key>
<string>Times-Roman - 14.0</string>
</dict>
</dict>
</plist>

Xcode 字体 设置-- Xcode family没有显示的字体的更多相关文章

  1. Eclipse的中文字体设置

    打开eclipse中文字体很小,简直难以辨认.在网上搜索发现这是由于Eclipse 用的字体是 Consolas,显示中文的时候默认太小了.解决方式有两种:一.把字体设置为Courier New  操 ...

  2. WebStorm设置左侧菜单栏背景和字体设置

    WebStorm左侧菜单栏 webstorm是一款前端IDE利器,个人感觉黑色的背景比较炫酷,刚开始从网上下载的主题只能修改编辑窗口的背景色,经过查询资料终于把左边菜单栏的背景色也修改了. 第一步:点 ...

  3. XCode中设置字体大小

    XCode中设置字体大小 1)打开Preferences,快捷键是“Command + ,”(注意,是三个键,按住command键,然后再快速地按“+”和“,”两个键即可) 2)选择“Fonts &a ...

  4. Xcode无法设置视图的 autosizing control原因

    转自:Xcode无法设置视图的 autosizing control原因 学习Xcode的iOS编程时,可能会发现Autosizing Control不见了,其原因很简单,因为你在设置中选择了Auto ...

  5. Jenkins Xcode 证书设置错误 Code Sign error: No matching codesigning identity found: No codesigning identities

    Jenkins 集成Xcode 项目的时候在证书上遇到了问题.实际上如果在本地的话.只要Xcode工程里选择了项目就不需要重新设置证书了.jenkins会自动找到这个证书,只要在build setti ...

  6. 设置UIButton或者UILabel显示文字的行数

    需要在UIButton的titleLabel或者UILabel的text 字符串里面添加换行符号 “\n”,并且设置 UILabel的numberOfLines属性 栗子:行数要和“\n”的个数对应, ...

  7. Ubuntu 14 Chrome字体设置备份

    Ubuntu 14 Chrome字体设置备份 1.设置 -> 显示高级设置 -> 自定义字体 -> (1) 标准字体:YaHei Consolas Hybrid,14 (2) Ser ...

  8. Oracle EBS的BIP报表中显示特殊字体

    http://oracleseeker.com/2009/08/25/font_mapping_setup_for_special_character_print_in_oracle_ebs_bip/ ...

  9. [JAVA] java仿windows 字体设置选项卡

    想用java做一个像windows里一样的txt编辑软件,涉及到字体设置选项卡,在网上找了很久都没找到,就生气啦自己写一个,现在贴这里分享一下,下次再遇到这样的问题就不用自己亲自打代码啦! packa ...

随机推荐

  1. js实现cookie记住密码

    近来做记住密码时,用js的实现方式做了一下. login.jsp页面代码 <%@ page language="java" import="java.util.*& ...

  2. js事件处理机制

    一.事件处理程序 a.     DOM0级事件处理程序,被认为是元素的方法. var btn=document.getElementById('myBtn'); btn.onclick=functio ...

  3. C++ Pirmer : 第十四章 : 重载运算符与类型转换之函数调用运算符与标准库的定义的函数对象

    函数调用运算符 struct test { int operator()(int val) const { return (i > 0 ? i : -i); } }; 所谓的函数调用就是一个类重 ...

  4. codeforces194a

    link:http://codeforces.com/contest/334/problem/A 很有意思的一道构造题.发现CF上经常出这种不难但是很不错的构造题. #include <iost ...

  5. codeforces 381 D Alyona and a tree(倍增)(前缀数组)

    Alyona and a tree time limit per test 2 seconds memory limit per test 256 megabytes input standard i ...

  6. python 简介

    python简史 python的创始人:Guido van Rossum Guido 在1989年12月时,寻找一门“课余”编程项目来打发圣诞节前后的时间.Guido决定为当时正构思的一个新的脚本语言 ...

  7. js 添加广告

    需要调用广告的页面 <script type="text/javascript">    var xzname="巨蟹座";</script& ...

  8. Android控件之SlidingDrawer(滑动式抽屉)详解与实例

    SlidingDrawer效果想必大家也见到过,它就是1.5模拟器上进入应用程序列表的效果.下面是截图 一.简介 SlidingDrawer隐藏屏外的内容,并允许用户通过handle以显示隐藏内容.它 ...

  9. [Java] - 格式字符串替换方法

    Java 字符串格式替换方法有两种,一种是使用String.format(...),另一种是使用MessageFormat.format(...) 如下: import java.text.Messa ...

  10. [zz] Pixar’s OpenSubdiv V2: A detailed look

    http://www.fxguide.com/featured/pixars-opensubdiv-v2-a-detailed-look/ Pixar’s OpenSubdiv V2: A detai ...