Xcode:改变双击文件行为(Xcode: changing double clicking file behavior)

编程入门 行业动态 更新时间:2024-10-23 05:39:03
Xcode:改变双击文件行为(Xcode: changing double clicking file behavior)

我的一个项目突然改变了双击行为,我不知道如何改变它。

我想要的行为:

双击源代码文件将打开一个新窗口。

我的行为:

双击源代码文件在现有窗口中打开该文件。 这导致只允许在任何时候为该项目打开一个窗口。

不用说这有点令人沮丧。 我找不到任何似乎可以控制它的偏好。 这似乎是每个项目的偏好(它只发生在一个项目中)。 有任何想法吗?

注意:我正在使用精简布局。

注2:“在单独编辑器中打开”不起作用。

One of my projects suddenly had its double-clicking behavior changed and I don't know how to change it back.

The behavior I want:

Double clicking a source code file opens up a new window.

The behavior I have:

Double clicking a source code file opens the file in the existing window. This results in only allowing one window open for the project at any time.

Needless to say this is a bit frustrating. I can't find any preference that seems to control this. It seems to be a per-project preference (it is only happening in one project). Any ideas?

Note: I am using the condensed layout.

Note 2: "Open in Separate Editor" does not work.

最满意答案

在XCode 6中,点击“首选项...”,然后点击“导航”,然后在“双击导航”下选择“与点击相同”

Ahh,

Found the answer. There is a button in the ToolBar of the editor window that says "Grouped" or "Ungrouped".

If it says "Grouped" then files open in the same window.

If it says "Ungrouped" then files open in new windows.

Found the answer here:

http://meandmarkpublishing.blogspot.com/2007/06/reducing-xcodes-window-clutter.html

更多推荐

本文发布于:2023-08-04 06:18:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1409373.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:双击   文件   changing   Xcode   file

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!