mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
annotators: do not propagate all intentions available in editor to the batch mode as they can show dialogs, etc (IDEA-90380)
This commit is contained in:
+1
-1
@@ -68,7 +68,7 @@ public class FixAllAnnotatorQuickfixTest extends LightQuickFixTestCase {
|
||||
public void annotate(@NotNull PsiElement element, @NotNull AnnotationHolder holder) {
|
||||
if (element instanceof PsiMethod) {
|
||||
Annotation annotation = holder.createErrorAnnotation(((PsiMethod)element).getNameIdentifier(), null);
|
||||
annotation.registerFix(new MyFix());
|
||||
annotation.registerUniversalFix(new MyFix(), null, null);
|
||||
annotation.setTextAttributes(CodeInsightColors.DOC_COMMENT_TAG_VALUE);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user