@Override
  protected void update(@NotNull FileSystemTree fileChooser, @NotNull AnActionEvent e) {
    // the old chooser uses `com.intellij.openapi.fileChooser.ex.TextFieldAction` instead
    e.getPresentation().setEnabledAndVisible(false);
  }
@Override
  protected void update(@NotNull FileSystemTree fileChooser, @NotNull AnActionEvent e)