Batch processing of Annotator

The guide clearly says:
The functionality of LocalInspectionTool partially duplicates that of
Annotator, and the main differences are that LocalInspectionTool
supports batch analysis of code

But at least for plugin-development it would be great to have batch
support for Annotator. Imagine you have an web-language whichis compiled
correctly by the what-ever-compiler. So if the plugin shows any errors
for that project, it has to be adjusted.

What du you think? Totally stupid/not possible/file JIRA/...

1 comment

Hello Sven,

You can do this yourself. Simply provide a mock implementation of AnnotationHolder
and create an action which calls Annotator.annotate() recursively on all
files of your language in the project.

SS> The guide clearly says:
SS> The functionality of LocalInspectionTool partially duplicates
SS> that of
SS> Annotator, and the main differences are that LocalInspectionTool
SS> supports batch analysis of code
SS> But at least for plugin-development it would be great to have batch
SS> support for Annotator. Imagine you have an web-language whichis
SS> compiled correctly by the what-ever-compiler. So if the plugin shows
SS> any errors for that project, it has to be adjusted.
SS>
SS> What du you think? Totally stupid/not possible/file JIRA/...

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0

Please sign in to leave a comment.