Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
585 views
in Technique[技术] by (71.8m points)

ide - Xcode 11 Won't Open New Editor Pane

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)

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...