RefJavaManager disable Scala UAST also

GitOrigin-RevId: 0f2500ecfb04ef54ae05e336f63c76fac8fd386d
This commit is contained in:
Nicolay Mitropolsky
2019-11-05 15:04:32 +03:00
committed by intellij-monorepo-bot
parent 249fc177de
commit 22080f1eb8

View File

@@ -76,6 +76,8 @@ public abstract class RefJavaManager implements RefManagerExtension<RefJavaManag
ArrayList<Language> languages = new ArrayList<>(Language.findInstance(UastMetaLanguage.class).getMatchingLanguages());
// TODO uast is not implemented in case of groovy
languages.removeIf(l -> l.isKindOf("Groovy"));
// Scala uast is also too experimental
languages.removeIf(l -> l.isKindOf("Scala"));
// TODO enable it in production when will be ready
if (!Registry.is("batch.jvm.inspections") && !ApplicationManager.getApplication().isUnitTestMode()) {