From 31410cb0b3433d065b4c12e4d7e7836a8c7ca17a Mon Sep 17 00:00:00 2001 From: irengrig Date: Thu, 6 Apr 2017 09:28:41 +0200 Subject: [PATCH] javascript linters, show global error also in batch inspection results --- .../codeInspection/ExternalAnnotatorInspectionVisitor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/analysis-impl/src/com/intellij/codeInspection/ExternalAnnotatorInspectionVisitor.java b/platform/analysis-impl/src/com/intellij/codeInspection/ExternalAnnotatorInspectionVisitor.java index 5450302a2739..f6beb7428985 100644 --- a/platform/analysis-impl/src/com/intellij/codeInspection/ExternalAnnotatorInspectionVisitor.java +++ b/platform/analysis-impl/src/com/intellij/codeInspection/ExternalAnnotatorInspectionVisitor.java @@ -72,7 +72,7 @@ public class ExternalAnnotatorInspectionVisitor extends PsiElementVisitor { return ProblemDescriptor.EMPTY_ARRAY; } return ReadAction.compute(() -> { - AnnotationHolderImpl annotationHolder = new AnnotationHolderImpl(new AnnotationSession(file)); + AnnotationHolderImpl annotationHolder = new AnnotationHolderImpl(new AnnotationSession(file), true); annotator.apply(file, annotationResult, annotationHolder); return convertToProblemDescriptors(annotationHolder, manager, file); });