ios 如何在 Xcode IDE 中启用垂直拆分视图?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3655163/
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 can I enable vertical split views in the Xcode IDE?
提问by BeachRunnerFred
I'm diving into iOS development and I'm using Xcode on a multi-monitor setup.
我正在深入研究 iOS 开发,并且在多显示器设置中使用 Xcode。
Obviously I want to take advantage of the multiple monitors to view and edit multiple panes of source code, but I'm having a hard time figuring out how to enable vertical split views. In other IDEs, it's just an option you click in the "Window" menu.
显然,我想利用多个监视器来查看和编辑多个源代码窗格,但我很难弄清楚如何启用垂直拆分视图。在其他 IDE 中,这只是您在“窗口”菜单中单击的一个选项。
How do I enable vertical split views in Xcode?
如何在 Xcode 中启用垂直拆分视图?
回答by ma11hew28
Xcode 4
Xcode 4
Check out the options in the Navigate file menu item. I like Command+J. Also, while the Editor is active, i.e., you're editing code or your cursor is blinking in the Editor, press Command+Option+,
. Or, you can Option-click (or Option+Shift-click) a file in the Navigator. Then, to make more room for editing, I like to press Command+0
to hide the Navigator and, if they're not already hidden, Command+Option+0
to hide the Utilities. Press Command+Enter to go back to the Standard Editor view.
查看导航文件菜单项中的选项。我喜欢 Command+J。此外,当编辑器处于活动状态时,即您正在编辑代码或光标在编辑器中闪烁时,按Command+Option+,
。或者,您可以在导航器中按住 Option 键并单击(或 Option+Shift 键单击)文件。然后,为了腾出更多编辑空间,我喜欢按下Command+0
隐藏导航器,如果它们尚未隐藏,则Command+Option+0
隐藏实用程序。按 Command+Enter 返回标准编辑器视图。
Xcode 3
Xcode 3
Hold down alt
and click the little tiny box (with a horizontal line through it) in the upper-right-hand corner of the screen. It's underneath the tiny little lock icon.
按住alt
并单击屏幕右上角的小方框(有一条水平线穿过它)。它位于微小的小锁图标下方。
回答by adc
回答by libai
respect to mattdipasquale
尊重马特迪帕斯夸莱
Command+J --------Check out the options in the Navigate file menu item
Command+Option+,------editing code or your cursor is blinking in the Editor
Option-click (or Option+Shift-click)------open a file in the Navigator
Command+Enter----------reset
Command+J --------查看 Navigate file 菜单项中的选项
Command+Option+,------编辑代码或您的光标在编辑器中闪烁
Option-单击(或 Option+Shift-单击)------在导航器中打开文件
Command+Enter----------重置
回答by penduDev
Use the dropdown on the split icon to choose between different views
使用拆分图标上的下拉菜单在不同视图之间进行选择