在Xcode中增加字体大小是一件痛苦的事情。


当前回答

更新!看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_preferences->然后选择字体和颜色->选择所有的文本选项->点击字体部分,改变你想要的字体

我还发现,您可以更改由“打印”主题控制的打印字体。我希望打印输出与默认值相同,但是使用更大的字体。

将“打印”重命名为“printing1”(选择打印主题并单击它,它应该允许您更改名称)。 点击“+”,从“New Theme from Template”选择“Default” 重命名为“印刷” 点击字体区域的“Source Editor”和cmd-A选择所有字体 通过点击“T”图标并选择所需的字体大小,将字体大小更改为所需的值(我喜欢12点)

在此之后,打印输出应该匹配新的“打印”模板(即颜色和更大,或无论你如何制作模板),关键是打印从“打印”主题中获取其格式。

Xcode menu > Preferences > Font & Color > Category

双击纯文本,弹出菜单将出现。从这里开始改变。

Easisest解决方案:

关闭所有打开的项目。 Xcode >首选项>字体和颜色 确保按CMD+A选择所有可能的文本类型。然后从选择器中更改字体大小。

更新!看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!

解决方案是-你需要复制主题,然后修改你刚刚制作的副本,并应用该副本-唷!