Xcode 12: Close Editor (Control-Command-W) is always disabled

I’m running a Xcode 12.0 beta (12A6159) on macOS 10.15.5, and this looks like a bug:
  1. Open a project in Xcode

  2. Click a source file in the Navigator

  3. The source file is open in the Editor now

  4. Hit Control-Command-W to close the Editor

  5. 🐞 The Editor stays open

  6. Check the File menu, the Close Editor menu item is disabled

I tried with both local source code files and SDK header files, it’s still disabled.

Could you please confirm that this is a known issue?

Thanks!

This is not a bug after all, Xcode 12 introduces document panels and now the “Close Editor” is called “Close Document” with another hotkey. Case closed, thanks!
Xcode 12: Close Editor (Control-Command-W) is always disabled
 
 
Q