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.

0

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


0
Avatar
Permanently deleted user

Thanks!

0

请先登录再写评论。