增加 Xcode 中的字体大小
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/6190052/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Increase font size in Xcode
提问by kachilous
How can I increase the font size in Xcode version 3.2.3
如何在 Xcode 3.2.3 版中增加字体大小
When I go to Edit -> Format -> Fonts -> Show Fonts and try to increase the font size, nothing happens.
当我转到 Edit -> Format -> Fonts -> Show Fonts 并尝试增加字体大小时,没有任何反应。
回答by tony gil
top menu bar: XCODE - PREFERENCES - FONTS AND COLORS
顶部菜单栏:XCODE - 首选项 - 字体和颜色
choose a style NOT default (i took 'basic')
选择一种非默认样式(我选择了“基本”)
select one, like PLAIN TEXT, click on the font box, next to the font and size description, a popup will appear - keep that open
选择一个,比如 PLAIN TEXT,点击字体框,在字体和大小描述旁边,会出现一个弹出窗口 - 保持打开状态
go back to the SOURCE EDITOR tab in FONTS AND COLORS
返回“字体和颜色”中的“源编辑器”选项卡
select all of the options, from PLAIN TEXT DOWN
选择所有选项,从 PLAIN TEXT DOWN
go back to the popup window, choose your preferred font and size, DOUBLE CLICK ON THE FONT SIZE - all of them will change at once. or you can do them one by one, your choice.
返回弹出窗口,选择您喜欢的字体和大小,双击字体大小 - 所有这些都会立即更改。或者你可以一个一个地做,你的选择。
回答by gcamp
You need to go to Xcode > Prefrences > Font and Color and change the font there.
您需要转到 Xcode > Prefrences > Font and Color 并在那里更改字体。
回答by PiXy
You can use this plugin to change the font size using ? + or ? - :
您可以使用此插件使用 ? + 或 ? - :
回答by Suraj K Thomas
Follow the Below link Hope that will help
按照下面的链接希望会有所帮助
How to increase font size in the Xcode editor?
1.Close any projects you have open in Xcode (Otherwise the Font window will be inaccessible while a project is open.)
2.Go to XCode > Preferences > Fonts & Color
3.From the 'Theme' box select the theme you want to modify (or select the theme you want to modify and click the "+" button at the bottom of the theme list to clone it first for backup, for there is no undo option)
4.In the source editor box there is a list of types of text that you may set the font for: Plain text Comments Documentation Comments . . .
5.Select any or all items from the source editor list and the name and size of the font for that particular text will show up in the 'Font' window below the 'Source Editor' window. (If you happen to skip highlighting one of these, you will be able to get to the Font Inspector and select new sizes, but will wonder why the changes you make are not being applied!)
6.In the 'Font' window, click the small, almost hidden, and surely poorly design 'T' icon to the right of the font name and size.
7.Your existing font will be preselected in the font inspector. Whatever changes you make now will be applied to the text types you selected in the 'Source Editor' window. e.g. All Fonts > Menlo > Regular > 16
1.关闭您在 Xcode 中打开的所有项目(否则在项目打开时将无法访问字体窗口。)
2.转到 XCode > 首选项 > 字体和颜色
3.在“主题”框中选择要修改的主题(或选择要修改的主题,点击主题列表底部的“+”按钮先克隆备份,不可撤销选项)
4.在源代码编辑器框中,有一个您可以为其设置字体的文本类型列表:纯文本注释文档注释。. .
5. 从源代码编辑器列表中选择任何或所有项目,该特定文本的字体名称和大小将显示在“源代码编辑器”窗口下方的“字体”窗口中。(如果您碰巧跳过突出显示其中之一,您将能够进入字体检查器并选择新大小,但会想知道为什么您所做的更改没有被应用!)
6.在“字体”窗口中,单击字体名称和大小右侧的小、几乎隐藏且设计很差的“T”图标。
7.您现有的字体将在字体检查器中被预选。您现在所做的任何更改都将应用于您在“源代码编辑器”窗口中选择的文本类型。例如所有字体 > Menlo > 常规 > 16