ios 如何在代码窗口上放大 Xcode
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/25809797/
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
How to zoom in Xcode on a code window
提问by Linda Keating
How do you zoom in to see code better in xcode. I'm looking for a shortcut, and not to change the projects display preferences. Also using CTRL + two fingers on mouse is not suitable as I'm using a multi-monitor set up and that zooms both monitors. I only want to zoom in on the code text. I found another solution here that allows zooming on the storyboard : Storyboard Zoom In/Out Keyboard Shortcutbut this doesn't work on any of the code files.
你如何放大以在 xcode 中更好地查看代码。我正在寻找快捷方式,而不是更改项目显示首选项。同样在鼠标上使用 CTRL + 两个手指也不合适,因为我使用的是多显示器设置并且可以缩放两个显示器。我只想放大代码文本。我在这里找到了另一个允许缩放情节提要的解决方案:情节提要放大/缩小键盘快捷键,但这不适用于任何代码文件。
Any ideas?
有任何想法吗?
采纳答案by Linda Keating
I needed to install a plugin to have the functionality - This is the plugin https://github.com/zats/AdjustFontSize-Xcode-Plugin
我需要安装一个插件才能拥有该功能 - 这是插件https://github.com/zats/AdjustFontSize-Xcode-Plugin
回答by Luciano Rodríguez
in Xcode 9, 10 and 11 you can use cmd + + and cml + - to increase / decrease text size.
在 Xcode 9、10 和 11 中,您可以使用 cmd + + 和 cml + - 来增加/减少文本大小。
回答by Pham Duoc
I'm using xcode 7:
1. Xcode menu-> Preferences.
2. Choose the tab Fonts & Colors.
3. Choose theme on the left side.
4. On the right side cmd+A to choose all type of source.
5. In font field, click to T icon.
6. Choose a font size that you want to set.
我正在使用 xcode 7:
1. Xcode 菜单-> 首选项。
2. 选择选项卡字体和颜色。
3. 在左侧选择主题。
4.在右侧cmd+A选择所有类型的源。
5. 在字体字段中,单击 T 图标。
6. 选择要设置的字体大小。
回答by Carolina
In Xcode 7.2 you can change the font size and colors on Xcode menu (preferences).
在 Xcode 7.2 中,您可以在 Xcode 菜单(首选项)上更改字体大小和颜色。
回答by Paulo Cardoso
Click two times on the screen and drag left or right
在屏幕上单击两次并向左或向右拖动