Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I enable vertical split views in the Xcode IDE?

I'm diving into iOS development and I'm using Xcode on a multi-monitor setup.

Obviously I want to take advantage of the multiple monitors to view and edit multiple panes of source code, but I'm having a hard time figuring out how to enable vertical split views. In other IDEs, it's just an option you click in the "Window" menu.

How do I enable vertical split views in Xcode?

like image 807
BeachRunnerFred Avatar asked Sep 07 '10 01:09

BeachRunnerFred


People also ask

How do you split view in Xcode?

Simply click on the button in the top right corner with two overlapping circles to access it or navigate to View/Assistant Editor/Show Assistant editor ( ⌥⌘^↩ ).

Why is Xcode not available in split view?

Spilt View is limited by the minimum width of an application's window when in standard view. If two app takes up more than the full width of the your display when you resize each application window to their minimum width, then they will not be able to be shared in Split View.


2 Answers

Xcode 4

Check out the options in the Navigate file menu item. I like Command+J. Also, while the Editor is active, i.e., you're editing code or your cursor is blinking in the Editor, press Command+Option+,. Or, you can Option-click (or Option+Shift-click) a file in the Navigator. Then, to make more room for editing, I like to press Command+0 to hide the Navigator and, if they're not already hidden, Command+Option+0 to hide the Utilities. Press Command+Enter to go back to the Standard Editor view.

Xcode 3

Hold down alt and click the little tiny box (with a horizontal line through it) in the upper-right-hand corner of the screen. It's underneath the tiny little lock icon.

like image 136
ma11hew28 Avatar answered Sep 20 '22 12:09

ma11hew28


Xcode 9 for those coming from a search engine:

Click and hold on the Assistant Editor button for an options menu. Choosing "Assistant Editors on Right" will cause the view to be split vertically.

Xcode Assistant Editor options

like image 31
adc Avatar answered Sep 22 '22 12:09

adc