Xcode11编辑器(通过“向右添加编辑器")被禁用 [英] Xcode11 Editors (via "Add Editor to Right") are disabled
问题描述
自从我升级到Xcode11.2
以来,这一切一直有效.几天前注意到了它,现在不允许我在布局中添加编辑器.与 Xcode 11中引入的编辑器更改类似.
It has been working all this while since I upgraded to Xcode11.2
. A couple of days back noticed it and now it's not allowing me to add an editor to the layout. Similar to Editor changes introduced in Xcode 11.
尝试:
- 重新启动Xcode
- 重新启动MacBook
- AppStore中没有待处理的Xcode更新
在重新安装Xcode之前还可以尝试其他建议吗?
Any other suggestions to try before reinstalling the Xcode?
Xcode的当前状态:
Current State for Xcode:
- 禁用的编辑器添加选项
-
通过菜单->编辑器
- 禁用编辑器选项
- Disabled Editor option via Menu->Editor
- 使用调整编辑器选项"后
此助手与常规编辑器不同. 编辑器将允许用户独立打开任何文件(而不总是显示给对应文件).使用外部监视器24时具有足够的视觉空间.
This Assistant is not the same as regular editor. An editor would allow the user to independently open any file (and not always show to counterpart files). Plenty of visual space as using external monitor 24".
这似乎仅与当前项目有关(也许有些混乱的.xcodeproj
设置?).打开另一个项目,我可以看到在右侧添加编辑器"就好了.
It seems to be an issue with the current project only (perhaps some messed up .xcodeproj
setting?). Opened another project, and I'm able to see the "Add editor on right" just fine.
推荐答案
取消对编辑器的关注
原来是编辑器处于聚焦模式.一旦编辑器处于聚焦模式,Xcode就会隐藏其他编辑器,并禁用向右添加编辑器".菜单和右侧栏上的选项.
Unfocus the Editor
Turned out to be that Editor was in focused mode. As soon as an editor is in focused mode, Xcode hides the other editors and disables "adding editors to right" option on the menu and right bar.
使用以下组合键切换编辑器的焦点/焦点.
Use the following key combination to toggle the focus-unfocus the editor.
Control + Shift + Command + Enter
或使用
这篇关于Xcode11编辑器(通过“向右添加编辑器")被禁用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!