Xcode 11 Won't Open New Editor Pane

若如初见. 提交于 2019-12-22 01:58:55

问题


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?

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


回答1:


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
  • ^↩︎

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)



来源:https://stackoverflow.com/questions/58054615/xcode-11-wont-open-new-editor-pane

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!