@Override
  protected void registerCustomListeners(@NotNull MessageBusConnection connection) {
    connection.subscribe(FileEditorManagerListener.FILE_EDITOR_MANAGER, new FileEditorManagerListener() {
      @Override
      public void selectionChanged(@NotNull FileEditorManagerEvent event) {
        updateStatus();
      }

      @Override
      public void fileOpened(@NotNull FileEditorManager source, @NotNull VirtualFile file) {
        updateStatus();
      }
    });

    connection.subscribe(PowerSaveMode.TOPIC, this::updateStatus);
    connection.subscribe(ProfileChangeAdapter.TOPIC,  new ProfileChangeAdapter() {
      @Override
      public void profilesInitialized() {
        updateStatus();
      }
      @Override
      public void profileActivated(InspectionProfile oldProfile, @Nullable InspectionProfile profile) {
        updateStatus();
      }

      @Override
      public void profileChanged(@NotNull InspectionProfile profile) {
        updateStatus();
      }
    });

    connection.subscribe(FileHighlightingSettingListener.SETTING_CHANGE, (__, ___) -> updateStatus());
  }
@Override
  protected void registerCustomListeners(@NotNull MessageBusConnection connection)