static void storeToolWindows(@Nullable Project project, boolean inDistractionFree) {
    if (project == null) return;

    boolean inPresentation = UISettings.getInstance().getPresentationMode();
    ToolWindowManagerEx manager = ToolWindowManagerEx.getInstanceEx(project);

    DesktopLayout layout = manager.getLayout().copy();
    if (hideAllToolWindows(manager)) {
      if (shouldStoreOrRestoreToolWindowLayout(inPresentation, inDistractionFree)) {
        manager.setLayoutToRestoreLater(layout);
      }
      manager.activateEditorComponent();
    }
  }
static void storeToolWindows(@Nullable Project project, boolean inDistractionFree)