@Override
  protected boolean isValidForFile(@NotNull Project project, @NotNull Editor editor, @NotNull PsiFile file) {
    if (packageSearchPluginEnabled()) return false;
    if (file instanceof PsiCompiledElement) return false;
    if (!GradleFileType.isGradleFile(file)) return false;
    return !GradleConstants.SETTINGS_FILE_NAME.equals(file.getName());
  }
@Override
  protected boolean isValidForFile(@NotNull Project project, @NotNull Editor editor, @NotNull PsiFile file)