Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode open two editor windows with same file

Tags:

xcode

iphone

Is it possible to open the same file in two separate windows in Xcode. I can open a file in one window and the same file in the main Xcode editor window, but I wanted two separate fulltime editor windows.

like image 947
John Smith Avatar asked Nov 08 '09 18:11

John Smith


People also ask

How do I open tabs in Xcode?

Cmd + T opens a tab next the active one.

How do I open the assistant editor in Xcode shortcut?

Assistant Editor You are probably already familiar with Xcode's Assistant Editor. You can open the Assistant Editor by choosing Assistant from Xcode's Editor menu or by using its keyboard shortcut, Control + Option + Command + Return. Most developers leave the Assistant Editor underused, though.


2 Answers

CMD + SHIFT + T

This shortcut will "duplicate" your Xcode window and open it so many times as you want.

like image 81
MarekB Avatar answered Sep 24 '22 23:09

MarekB


Yes. Right-click the filename in the main XCode window and pick "Open in Separate Editor". Every time you do that, you get a new complete editor window.

like image 20
Carl Norum Avatar answered Sep 24 '22 23:09

Carl Norum