Xcode 字体 设置-- Xcode family没有显示的字体
前往文件夹 -> /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没有显示的字体的更多相关文章
- Eclipse的中文字体设置
打开eclipse中文字体很小,简直难以辨认.在网上搜索发现这是由于Eclipse 用的字体是 Consolas,显示中文的时候默认太小了.解决方式有两种:一.把字体设置为Courier New 操 ...
- WebStorm设置左侧菜单栏背景和字体设置
WebStorm左侧菜单栏 webstorm是一款前端IDE利器,个人感觉黑色的背景比较炫酷,刚开始从网上下载的主题只能修改编辑窗口的背景色,经过查询资料终于把左边菜单栏的背景色也修改了. 第一步:点 ...
- XCode中设置字体大小
XCode中设置字体大小 1)打开Preferences,快捷键是“Command + ,”(注意,是三个键,按住command键,然后再快速地按“+”和“,”两个键即可) 2)选择“Fonts &a ...
- Xcode无法设置视图的 autosizing control原因
转自:Xcode无法设置视图的 autosizing control原因 学习Xcode的iOS编程时,可能会发现Autosizing Control不见了,其原因很简单,因为你在设置中选择了Auto ...
- Jenkins Xcode 证书设置错误 Code Sign error: No matching codesigning identity found: No codesigning identities
Jenkins 集成Xcode 项目的时候在证书上遇到了问题.实际上如果在本地的话.只要Xcode工程里选择了项目就不需要重新设置证书了.jenkins会自动找到这个证书,只要在build setti ...
- 设置UIButton或者UILabel显示文字的行数
需要在UIButton的titleLabel或者UILabel的text 字符串里面添加换行符号 “\n”,并且设置 UILabel的numberOfLines属性 栗子:行数要和“\n”的个数对应, ...
- Ubuntu 14 Chrome字体设置备份
Ubuntu 14 Chrome字体设置备份 1.设置 -> 显示高级设置 -> 自定义字体 -> (1) 标准字体:YaHei Consolas Hybrid,14 (2) Ser ...
- Oracle EBS的BIP报表中显示特殊字体
http://oracleseeker.com/2009/08/25/font_mapping_setup_for_special_character_print_in_oracle_ebs_bip/ ...
- [JAVA] java仿windows 字体设置选项卡
想用java做一个像windows里一样的txt编辑软件,涉及到字体设置选项卡,在网上找了很久都没找到,就生气啦自己写一个,现在贴这里分享一下,下次再遇到这样的问题就不用自己亲自打代码啦! packa ...
随机推荐
- 设置Android studio黑色主题
设置: 如上图,点击[Theme]下拉选项,选中[Darcula]主题,点击[Apply]应用修改,弹出重启Android Studio生效修改.如图:
- 7个你可能不认识的CSS单位:rem vh vw vmin vmax ex ch
rem 我们首先介绍下和我们熟悉的很相似的货.em 被定义为相对于当前对象内文本的字体大小.炒个栗子,如果你给body小哥设置了font-size字体大小,那么body小哥的任何子元素的1em就是等于 ...
- I/O扩展篇(基于74HC164/74HC165)
在我们的单片机应用系统中,常常会遇到I/O口不够的情况.譬如说接有外部RAM而且要求有16个以上的按键,8位数码管以上的显示.而且还不包括其它的外围器件.这时整个系统的I/O资源就很吃紧了.系统的扩展 ...
- AFX_MANAGE_STATE(AfxGetStaticModuleState())DLL导出函数包含MFC资源
AFX_MANAGE_STATE(AfxGetStaticModuleState()) 先看一个例子: .创建一个动态链接到MFC DLL的规则DLL,其内部包含一个对话框资源.指定该对话框ID如下: ...
- 035. asp.netWeb用户控件之四通过用户控件实现投票和结果分析
用户控件Vote.ascx代码 <%@ Control Language="C#" AutoEventWireup="true" CodeFile=&qu ...
- 031. aps.net中数据绑定控件两种添加自动编号的方法
前端HTML代码: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Defaul ...
- Alpha版本——Postmortem会议
No Bug 031402401鲍亮 031402402曹鑫杰 031402403常松 031402412林淋 031402418汪培侨 031402426许秋鑫 设想和目标 1.我们的软件要解决什么 ...
- nova-scheduler start flow
- JAVA虚拟机垃圾回收算法原理
除了释放不再被引用的对象外,垃圾收集器还要处理堆碎块.新的对象分配了空间,不再被引用的对象被释放,所以堆内存的空闲位置介于活动的对象之间.请求分配新对象时可能不得不增大堆空间的大小,虽然可以使用的总空 ...
- 自制公众平台Web Api(微信)
最近一段时间感觉没什么东西可以分享给大家,又由于手上项目比较赶,不太更新博客了,今天趁着生病闲下来的时间分享一些项目中的东西给大家. 公众平台 提起公众平台当下最流行的莫过于腾讯的微信了,当然还有易信 ...