protected boolean isValidForFile(@NotNull Project project, @NotNull Editor editor, @NotNull PsiFile file) {
    return true;
  }
protected boolean isValidForFile(@NotNull Project project, @NotNull Editor editor, @NotNull PsiFile file)