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

Viewed 36639

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?

5 Answers

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

This has changed in Xcode 12, maybe earlier. All my Option-Clicks go to open second view appearing below rather than size by side. The solution is to go to Views -> Change Editor Orientation

enter image description here

Use the dropdown on the split icon to choose between different views

Related