前往文件夹 -> /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. 新冲刺Sprint3(第三天)

    一.Sprint会议 更新商品价格.商品描述功能已经完成了,搜索商品功能也正在准备了. 以下是部分功能真机测试下的效果图:     二.Sprint周期 看板: 燃尽图:

  2. CI框架 CodeIgniter 伪静态 htaccess设置和Nginx伪静态方法

    众所周知,LAMP代表Linux下Apache.MySQL.PHP这种网站服务器架构:而LNMP指的是Linux下Nginx.MySQL.PHP这种网站服务器架构.LNMP一键安装包可以从网上下载使用 ...

  3. linux之tmpwatch命令

    系统使用时间长后会产生临时文件(/tmp下),需要清理.但清理的时候不推荐使用rm -rf.这样有时会引起程序的僵死. tmpwatch的说明: [root@AY121231034820cd91077 ...

  4. iwork 09 可以用的序列号

    E4RJ-YKHP-9ER4-WK9Y-H4UM-5S2G9MU-9U9J-KN4M-4PAE-DYNA-5S2EGMU-3PKP-NN9G-3JW4-3RAD-5S2

  5. 关于 MAXScript 如何剪切文件夹

    MAXScript 中可以对文件进行创建删除复制等操作但是唯独不能删除文件夹... 网上搜了一下批处理的剪切方法,在 MAXScript 里调用一下就好了 fn xcopy oldfile newfi ...

  6. JSR 303 - Bean Validation 介绍及最佳实践

    JSR 303 - Bean Validation 介绍及最佳实践 JSR 303 – Bean Validation 是一个数据验证的规范,2009 年 11 月确定最终方案.2009 年 12 月 ...

  7. IOS开发-CAlayer-锚点小结

    CAlayer层的属性:anchorPoint(锚点)   CAlayer *view; 1.决定着CALayer上的哪个点会在position属性所指的位置(设置以后旋转动画,就是以锚点为中心旋转) ...

  8. Swagger+Spring mvc生成Restful接口文档

    简介 Swagger 是一个规范和完整的框架,用于生成.描述.调用和可视化 RESTful 风格的 Web 服务.总体目标是使客户端和文件系统作为服务器以同样的速度来更新.文件的方法,参数和模型紧密集 ...

  9. canvas draw a image

    var c = context.getContext("2d"); var cimg = new Image(); cimg.src = "img path"; ...

  10. 根据 MySQL 状态优化 ---- 2. 连接数

    查看 MySQL 服务器运行的各种状态值: mysql> show global status: 2. 连接数 查看设置的最大连接数: mysql> show variables like ...