Shai UI
Shai UI

Reputation: 51898

Xcode: how to make it stop opening extra windows?

Every time I double click a file it opens it in a new window. (If I single click then it shows it in the main window). I just want it to open the thing in the main window, regardless of if I double click or single click it. Kind of like how visual studio or eclipse work.

Same thing when I try to find text in a file (command-shift-f), in the results, if i double click them it'll open the file in a new window...

All these new windows are annoying, any way to make it so it doesn't create new windows and just displays the code in the main window at all times?

Upvotes: 51

Views: 11231

Answers (2)

Siem Abera
Siem Abera

Reputation: 824

Go to your Preferences window and change the value of

  • Double Click Navigation to Same as Click

(Note: In newer versions of Xcode this is found in the Navigation tab.)

enter image description here

Upvotes: 66

Flimm
Flimm

Reputation: 150483

In Xcode 8, you can change this setting by going to Preferences, Navigation, and changing "Double Click Navigation" to "Same as Click".

SCreenshot

Upvotes: 8

Related Questions