Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I stack editors vertically in Xcode 11?

Tags:

layout

xcode11

The option to stack editors in Xcode 11 has been moved to Editor-Layout in the menu. However the three options Automatic/Editor on Left/Editor on Top are greyed out. How can I unlock this to arrange editors in a vertical stack?

like image 841
alionthego Avatar asked Mar 04 '23 09:03

alionthego


1 Answers

TL;DR: In the top bar menu under View, click Change Editor Orientation.


  • Option #1: In the top bar menu under View, click Change Editor Orientation.
  • Option #2: In the File Navigator, press Command + Option + Control + T to open the currently highlighted file in an editor below the currently active editor. This orientation switches to horizontal if the Change Editor Orientation option was set.
  • Option #3: At the Open Quickly prompt (accessible by pressing Command + Shift + O), search for a file without pressing Return and, when a file is highlighted, press Option + Shift + Return. Use the arrow keys to specify where the new editor should be located.
like image 70
sebastianfrelle Avatar answered Mar 12 '23 06:03

sebastianfrelle