private static void descriptorToFront(final @NotNull Project project, final @NotNull RunContentDescriptor descriptor) {
    ApplicationManager.getApplication().invokeLater(() -> {
      RunContentManager manager = RunContentManager.getInstance(project);
      ToolWindow toolWindow = manager.getToolWindowByDescriptor(descriptor);
      if (toolWindow != null) {
        toolWindow.show(null);
        manager.selectRunContent(descriptor);
      }
    }, project.getDisposed());
  }
private static void descriptorToFront(final @NotNull Project project, final @NotNull RunContentDescriptor descriptor)