Check for dumb mode before evaluation start

This commit is contained in:
Nikolay Krasko
2014-12-24 17:36:24 +03:00
parent 0b01667ad1
commit 2a417e822b
@@ -187,6 +187,7 @@ public class UnsupportedAbiVersionNotificationPanelProvider extends EditorNotifi
@Override
public EditorNotificationPanel createNotificationPanel(@NotNull VirtualFile file, @NotNull FileEditor fileEditor) {
try {
if (DumbService.isDumb(project)) return null;
if (file.getFileType() != JetFileType.INSTANCE) return null;
if (CompilerManager.getInstance(project).isExcludedFromCompilation(file)) return null;