Check for dumb mode before evaluation start
This commit is contained in:
+1
@@ -187,6 +187,7 @@ public class UnsupportedAbiVersionNotificationPanelProvider extends EditorNotifi
|
|||||||
@Override
|
@Override
|
||||||
public EditorNotificationPanel createNotificationPanel(@NotNull VirtualFile file, @NotNull FileEditor fileEditor) {
|
public EditorNotificationPanel createNotificationPanel(@NotNull VirtualFile file, @NotNull FileEditor fileEditor) {
|
||||||
try {
|
try {
|
||||||
|
if (DumbService.isDumb(project)) return null;
|
||||||
if (file.getFileType() != JetFileType.INSTANCE) return null;
|
if (file.getFileType() != JetFileType.INSTANCE) return null;
|
||||||
|
|
||||||
if (CompilerManager.getInstance(project).isExcludedFromCompilation(file)) return null;
|
if (CompilerManager.getInstance(project).isExcludedFromCompilation(file)) return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user