Commit Graph

12 Commits

Author SHA1 Message Date
Alexey Kudravtsev
8df07569f2 Introduced BatchSuppressableTool which, unlike CustomSuppressableInspectionTool, provides SuppressQuickFixes, not SuppressIntentionActions.
SuppressQuickFix doesn't need Editor so it can work in batches.
These fixes are available via BatchSuppressManager.
Reworked some inspections to extend BatchSuppressableTool instead of CustomSuppressableInspectionTool since they don't need Editor anyway.
Similarly, instead of BaseJavaLocalInspectionTool there is BaseJavaBatchLocalInspectionTool.
2013-05-08 11:43:48 +04:00
Evgeny Gerashchenko
07e7aa113c Renamed dramatic->external. externalAnnotationsChangedExternally() is invoked only when annotations files were changed. 2012-09-06 20:46:58 +04:00
Evgeny Gerashchenko
3f5845e449 Added test checking event producing when project roots changed or annotations container is modified externally. 2012-09-06 20:46:52 +04:00
Evgeny Gerashchenko
60784a6377 Added test checking event producing when external annotation edit commands fail. 2012-09-06 20:46:51 +04:00
Evgeny Gerashchenko
f9aaa32864 Added checking for listener notification when external annotations operation was successful. 2012-09-06 20:46:06 +04:00
Evgeny Gerashchenko
46be730d1f Minor: introduced project into field of AddAnnotationFixTest. 2012-09-06 20:46:04 +04:00
Evgeny Gerashchenko
9b0d18c367 Added test for editing external annotation. 2012-09-06 20:46:03 +04:00
Evgeny Gerashchenko
cfb2a511e9 Creating self-closing tag when annotation arguments list is not null, but empty. Added test. 2012-09-06 20:46:01 +04:00
Evgeny Gerashchenko
37ceccb1eb Fixed bug on deannotating: when annotation tag removed, parent is also removed if the latter has no children. Added test. 2012-09-06 20:46:00 +04:00
Evgeny Gerashchenko
a7090ac62d Added test which checks reading external annotations in old and new formats. 2012-08-03 18:05:16 +04:00
Alexey Kudravtsev
b16b90ff70 optimisation: cache external annotations 2012-03-22 14:11:52 +04:00
Dmitry Jemerov
02371fdac5 external annotations tests moved to community 2011-12-16 17:55:37 +01:00