@Override
      public void extensionRemoved(@NotNull KeyedLazyInstance<DocToolWindowManager> extension, @NotNull PluginDescriptor pluginDescriptor) {
        String language = extension.getKey();
        ToolWindow toolWindow = myLangToolWindows.remove(language);
        if (toolWindow == null) return;

        if (myToolWindow == toolWindow) {
          myToolWindow = myDefaultDocToolWindow;
          if (myToolWindow == null) {
            myToolWindow = myLangToolWindows.values().stream().findFirst().orElse(null);
          }
        }
        toolWindow.remove();
        Disposer.dispose(toolWindow.getContentManager());
      }
@Override
      public void extensionRemoved(@NotNull KeyedLazyInstance<DocToolWindowManager> extension, @NotNull PluginDescriptor pluginDescriptor)