如何在 Xcode 的选项卡中包含多个文件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/32110729/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 07:42:13  来源:igfitidea点击:

How to have multiple files in tabs in Xcode

xcodexcode6

提问by mcfly soft

in the past (older version of xcode) I had a plus sign in the top right of an editor to add a tab. Then in the new tab I could click on the second file and I had 2 files open in 2 tabs. My plus sign is gone (I guess with my last update).

过去(旧版本的 xcode)我在编辑器的右上角有一个加号来添加选项卡。然后在新选项卡中,我可以单击第二个文件,并在 2 个选项卡中打开了 2 个文件。我的加号不见了(我猜是我上次更新)。

How to rollback this + button or how to have tabbed editors in Xcode 6.4 (6E35b) ?

如何回滚此 + 按钮或如何在 Xcode 6.4 (6E35b) 中使用选项卡式编辑器?

回答by Steve Wilford

You can show the tab bar (with the + button you mention) from the View menu:

您可以从“视图”菜单中显示标签栏(带有您提到的 + 按钮):

Xcode View menu

Xcode 视图菜单

Alternatively you can press CMD+T to open a new tab, which will automatically show the tab bar.

或者,您可以按 CMD+T 打开一个新选项卡,它将自动显示选项卡栏。

回答by Christos Chadjikyriacou

File -> New -> Tab and the + sign will appear

File -> New -> Tab 和 + 号会出现

回答by Abhishek Mishra

You can use -- Command + Tor you can follow this also

您可以使用 -Command + T或者您也可以遵循此

enter image description here

在此处输入图片说明