@Nullable
  public static ConsoleHistoryController getController(@NotNull LanguageConsoleView console) {
    return ApplicationManager.getApplication().getService(ControllerRegistry.class).controllers.get(console);
  }
@Nullable
  public static ConsoleHistoryController getController(@NotNull LanguageConsoleView console)