Xcode 中的多个编辑器窗口

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

Multiple editor windows in Xcode

xcode

提问by teedyay

When coding in Xcode, I double-click a file in the "Groups and files" list, and it opens a new editor window. I have several of these open at once.

在 Xcode 中编码时,我双击“组和文件”列表中的一个文件,它会打开一个新的编辑器窗口。我同时打开了其中的几个。

Until today.

直到今天。

Today, when I double-click a file in the list, it opens the file in the last editor window I was using, meaning I can only have one editor window up at any one time.

今天,当我双击列表中的文件时,它会在我使用的最后一个编辑器窗口中打开该文件,这意味着我在任何时候只能打开一个编辑器窗口。

I guess I've switched some option somewhere by mistake. How do I get it back to the way I like it?

我想我错误地切换了某个选项。我怎样才能让它恢复到我喜欢的样子?

I'm using Xcode 3.2.5

我正在使用 Xcode 3.2.5

回答by David Gelhar

In the top right of the editing window is an icon that says "grouped", perhaps you clicked on it by accident.

在编辑窗口的右上角有一个“分组”图标,可能是您不小心点击了它。

Click on it so it says "ungrouped", and you'll be back to opening multiple windows.

单击它,使其显示“未分组”,然后您将返回打开多个窗口。

回答by justin

perhaps preferences>General>Open Counterpart in same Editor

也许首选项>常规>在同一编辑器中打开对应