问题
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.
Tried:
- Restarting Xcode
- Rebooting MacBook
- No Xcode update pending in AppStore
Any other suggestions to try before reinstalling the Xcode?
Current State for Xcode:
- Disabled Editor add option
- Disabled Editor option via Menu->Editor
Update A:
- After using "Adjust Editor Option"
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".
Update 2:
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.
回答1:
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
Or use the
回答2:
Assistant Editor
Assistant is now under the editor option
menu (left itme).
Also you can use control+option+command+return shortcut
Add Editor
The other one that is disabled is Add Editor on Right. Some times its getting disabled because there is not enough space to show another editor. You can change the position of it to below by holding option and click. This will convert it to Add Editor Below
来源:https://stackoverflow.com/questions/59184913/xcode11-editors-via-add-editor-to-right-are-disabled