Intellij SDK - Use ExternalAnnotator programatically instead of being called

Answered

Hi would like to be able to add errors programatically instead of when being called in the ExternalAnnotator. 

I'm writing a client for a tool that pushes errors and warnings to the client. I can't "pull" these in an ExternalAnnotator inherited class.

Is there a way to do this? 

1 comment
Comment actions Permalink

You can force re-run of highlighting via com.intellij.codeInsight.daemon.DaemonCodeAnalyzer#restart(com.intellij.psi.PsiFile) and use regular Annotator using updated information from external source.

0

Please sign in to leave a comment.