在Xcode中增加字体大小是一件痛苦的事情。
当前回答
去
Xcode menu > Preferences > Font & Color > Category
双击纯文本,弹出菜单将出现。从这里开始改变。
其他回答
更新!看Xcode 9来拯救你! 现在你可以使用cmd +来增加Xcode 9的字体。 你花了5个主要版本才得到它,苹果!但迟到总比不到好。
我算出来了,不过不是很直观。
首先是一些痛点
When You try to change the font size directly using edit -> format -> font, nothing happens! - Not a good UX ... moreover why play dumb when you can tell user that they are using default or "System-owned" theme and they cannot change it? - Bad Design and more bad UX ... Why keep this option (Cmd t) alive, which by the way is most standard way to increase font size across most well behaved mac apps, if you do not want user to change the font this way? In Xcode preferences, when you try to change the font size by clicking on "fonts and colors", thats when XCode gives a pop-up saying what needs to be done. Also making a duplicate and then changing the fonts and colors is a lot of work rather than giving a button that says "Restore to Defaults" if Apple is so worried about the user messing up the default settings!
解决方案是-你需要复制主题,然后修改你刚刚制作的副本,并应用该副本-唷!
去
Xcode menu > Preferences > Font & Color > Category
双击纯文本,弹出菜单将出现。从这里开始改变。
我发现在首选项中,没有字体和颜色选择。我猜版本不一样,下面是最新版本的
方法1
进入Xcode ->首选项 点击主题 点击字体中间的T符号 调整右下角的大小
方法2
只需调整cmd +或cmd -
以下步骤:
去xcode_preferences->然后选择字体和颜色->选择所有的文本选项->点击字体部分,改变你想要的字体
对于Xcode 12:(beta 3)
对于代码编辑窗口,请使用new
编辑器->字体大小->增加
or
编辑器->字体大小->减少
菜单项。这将全局地增加或减少所有编辑窗口的字体大小。还有一个
编辑器->字体大小->重置
选择。这些也响应⌘+或⌘-键盘快捷键。
默认情况下,左侧的文件导航器对应于
系统首选项->常规->侧栏图标大小
你也可以在Xcode中使用
Xcode -> Preferences -> General -> Navigator Size
推荐文章
- Xcode 4挂在“附加到(应用程序名称)”
- 为什么单元测试中的代码不能找到包资源?
- Xcode 10的对象库去哪了?
- Xcode 10的UI元素在哪里?
- Xcode构建失败“架构x86_64未定义的符号”
- 如何使用Xcode创建。ipa文件?
- 我可以在没有“构建和运行”的情况下启动iPhone模拟器吗?
- Xcode 4 -在新的Macintosh安装上的配置文件上“没有找到有效的签名标识”错误
- Xcode +删除所有断点
- Swift:理解// MARK
- 自定义dealloc和ARC (Objective-C)
- 你常用的Xcode快捷键有哪些?
- 确保您的项目构建设置正在生成一个dSYM文件。对于所有配置,DEBUG_INFORMATION_FORMAT都应该设置为dwarf-with-dsym
- 如何改变时间和时区在iPhone模拟器?
- 为iOS模拟器构建,但链接框架'****.framework'是为iOS构建的