Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 11 Won't Open New Editor Pane

Tags:

xcode

ide

xcode11

So Xcode 11 changed the way editor panes are added and removed. Ok, fine, I got used to it soon enough. But a few days after using the Xcode 11 GM build, the option to add an editor is suddenly disabled.

Could be a bug, could be a 'feature' that I've inadvertently triggered. Neither the menu, toolbar button nor shortcut (^T) will give me another editor (though they all did with the same build yesterday).

Any ideas?

enter image description here

(Note: this screenshot has the Navigator pane hidden for simplicity. Its presence/absence doesn't help with this issue)

like image 829
Jaysen Marais Avatar asked Sep 23 '19 01:09

Jaysen Marais


1 Answers

Ok, this is embarrassing. I was in a 'focus' mode and could only add editors after I had 'hidden focus'. There are a few ways to do this:

  • View > Editor > Hide Focus
  • Tap the 'arrows pointing at each other' icon in the top left of the editor toolbar
  • ^↩︎

You need to 'hide focus' before you can add an editor in Xcode 11

ps. I was seriously tempted to delete my question when I realised how dumb I'd been, but I'm leaving it up as I suspect this UI quirk might also trip up others (let me know if it does, it'll help me feel like less of a fool)

like image 151
Jaysen Marais Avatar answered Sep 24 '22 06:09

Jaysen Marais