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>

时间: 2024-08-06 00:14:12

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

Eclipse中的字体设置

Eclipse是java开发者使用最广泛的开发工具,作为一名初学者,感觉Eclipse能对java中许多不同的字段进行颜色划分的功能非常实用,于是对Eclipse中的字体稍微进行了研究. 常见进行字体调整的界面有三种,1.基本的字体设置:2.程序编写界面的颜色设置:3.java程序内特殊字的颜色设置. 1.基本的字体设置 Windous->Preferences->General->Appearance->Basic 基本字体的设置 常用Text Font->Edit(右侧)

XCode中设置字体大小

XCode中设置字体大小 1)打开Preferences,快捷键是“Command + ,”(注意,是三个键,按住command键,然后再快速地按“+”和“,”两个键即可) 2)选择“Fonts & Colors”,选中所有的“Category”,然后双击“Font”一列,在弹出的对话框中选择适合自己的字体大小即可.

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

Jenkins 集成Xcode 项目的时候在证书上遇到了问题.实际上如果在本地的话.只要Xcode工程里选择了项目就不需要重新设置证书了.jenkins会自动找到这个证书,只要在build setting 里设置的是正常的.并且在xcode 里能正常编译. Check dependencies Code Sign error: No codesigning identities found: No codesigning identities (i.e. certificate and priv

Xcode中设置类库ARC支持

Xcode中设置类库ARC支持 Xcode中导入第三方类库等文件:如果导入的文件使用ARC的机制和你的当前项目使用的ARC机制不一样,那么Xcode会给出警告或报错.解决: 1,点击项目导航文件-> Targets ->  Build Phases -> Compile Sources 2,这个时候,我们看到第二列的名称为:Compiler Flags 3,双击你所要修改ARC的文件: 未支持ARC的支持ARC输入: -fno-objc-arc 支持ARC机制的不支持ARC机制输入: -

xcode卡死问题,无论打开什么程序xcode总是在转菊花,显示应用程序无响应

很可能是因为我们上次没有正常关闭Xcode,而Xcode保留了上次错误的一些记录,而这次打开Xcode依然去加载错误的记录,所以必须完全删除这些记录Xcode才能加载正常的项目.那么也就是说,我们是不是只需要删除这部分错误记录文件就可以正常打开项目 删除错误文件的方法,关键是找到com.apple.dt.Xcode.savedState这个文件 方法1: rm -rf ~/Library/Saved Application State/com.apple.dt.Xcode.savedState/

[Xcode 7.2]Xcode菜单栏之你不知道的那点事

郝萌主倾心贡献,尊重作者的劳动成果,请勿转载. 如果文章对您有所帮助,欢迎给作者捐赠,支持郝萌主,捐赠数额随意,重在心意^_^ 我要捐赠: 点击捐赠 Cocos2d-X源码下载:点我传送 游戏官方下载:http://dwz.cn/RwTjl 游戏视频预览:http://dwz.cn/RzHHd 游戏开发博客:http://dwz.cn/RzJzI 游戏源码传送:http://dwz.cn/Nret1 本文调研Xcode的版本是 7.2,基本是探索了菜单的每一个按钮.虽然从xcode4一直用到了x

[iOS6]如何在Xcode6设置UIView的圆角显示

很多人都有把按钮做成圆角的需求,以前我们会在代码中加入如下代码实现这个功能: mainImgView.layer.cornerRadius = 6; 现在Xcode6加了 RunTime Attributes 的特性之后,我们可以直接在Xcode中设置: 这样运行之后就会显示圆角的效果了:

同时兼容 Xcode 7 和 Xcode 8

做为 iOS 开发者,你肯定会对 iOS 10 中的新特性感到无比兴奋,并迫不及待地想要在应用中进行实践.虽然你想马上就动手以便第一时间就能"上船".但 iOS 10 正式上线却是几个月以后的事情,而且在那之前,你还需要保持每几周就发布一次的频率.这个情况听起来是不是跟你现在的处境很像呢? 当然,目前你还不能用 Xcode 8 来编译需要发布的应用--因为它无法通过 App Store 的验证.所以你需要把项目拆分成两个分支,稳定分支和 iOS 10 开发分支-- 而不可避免地是,这烂

字体不同,造成的显示异常

今天在做CSS那些事的时候,发现一个有意思的现象: 不同字体设置,会显示出不同的效果或者说异常 先看代码: 1 <!DOCTYPE HTML> 2 <html> 3 <head> 4 <title>跟随标题时间的新闻列表——2</title> 5 <meta charset="utf-8"> 6 <style> 7 .news_list *{ margin:0; padding:0; list-styl