@Override
  public boolean isAvailable(@NotNull Project project, Editor editor, PsiFile file) {
    return isFileSuitable(file) && editor.getSelectionModel().hasSelection() && hasSettingsToShow(editor, file);
  }
@Override
  public boolean isAvailable(@NotNull Project project, Editor editor, PsiFile file)