public static boolean isPhoneGapProject(@NotNull final Project project) {
return CachedValuesManager.getManager(project).getCachedValue(project, new CachedValueProvider<Boolean>() {
@Nullable
@Override
public Result<Boolean> compute() {
<BUG>PsiFile[] files = FilenameIndex.getFilesByName(project, "config.xml", GlobalSearchScope.allScope(project));
</BUG>
PsiFile file = ContainerUtil.find(files, new Condition<PsiFile>() {
@Override
public boolean value(PsiFile file) {

public static boolean isPhoneGapProject(@NotNull final Project project) {
return CachedValuesManager.getManager(project).getCachedValue(project, new CachedValueProvider<Boolean>() {
@Nullable
@Override
public Result<Boolean> compute() {
PsiFile[] files = FilenameIndex.getFilesByName(project, "config.xml", GlobalSearchScope.projectScope(project));
PsiFile file = ContainerUtil.find(files, new Condition<PsiFile>() {
@Override
public boolean value(PsiFile file) {
