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.
Please sign in to leave a comment.
You can use DaemonCodeAnalyzerEx.processHighlights() to iterate over all error/warning highlights in a file.
Thanks!