Question

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.

Was it helpful?

Solution 2

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

OTHER TIPS

In XCode 6, click "Preferences...", then "Navigation", then under "Double Click Navigation" select "Same as Click"

In XCode 10.1, click "Preferences..." (Cmd + ,), then under "Navigation" tab, then in "Double Click Navigation" select "Uses Separate Window"

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top