Know if a custom language file has errors/warnings

In my custom language I annotate the errors using annotator.

Is there any way to know if the current file has been annotated with errors??

I wish to set available an action only if the file has no errors.

2 comments
Comment actions Permalink

You can use DaemonCodeAnalyzerEx.processHighlights() to iterate over all error/warning highlights in a file.


0

Please sign in to leave a comment.