xcode 11 Close secondary editor shortcut

Viewed 1199

Is there a shortcut to close all other editors except focused one?

Previously I would open a file with option so it would show as a second editor. When I was done with the second editor, I would "close" it by using show editor only (command + return). With xcode 11, the second editor isn't part of the assistant editor. So, I can't "close" it with show editor only.

In simple terms.. Is there a shortcut to close the right editor and only show the left one.

enter image description here

2 Answers

The shortcut to close the current active editor is:

ctrl + ⌥ option + ⌘ command + W

This answer contains many more options

Related