10 comments
Comment actions Permalink

Implement this EP https://jb.gg/ipe?extensions=com.intellij.problemFileHighlightFilter, implementation should implement

implements Condition<VirtualFile>
0
Comment actions Permalink

hi yann, we find this extensions but when we  try to  use

com.intellij.problems.WolfTheProblemSolver#reportProblems

our problem can not be maintained,By the way, how to mark problem in the problems?

0
Comment actions Permalink

Simply use regular "error highlighting" mechanism, e.g. Annotator or Inspection https://plugins.jetbrains.com/docs/intellij/syntax-highlighting-and-error-highlighting.html

0
Comment actions Permalink

I think the annotator can't achieve the effect we want. We don't know when the annotator will trigger

0
Comment actions Permalink

Try com.intellij.problems.WolfTheProblemSolver#reportProblemsFromExternalSource

0
Comment actions Permalink

But this method cannot mark the problem in problems panel.  0.0

0
Comment actions Permalink

Please share full code

0
Comment actions Permalink

Upload id: 2021_09_30_K3Zym1VGaX32msZg (file: demo.zip)

0
Comment actions Permalink

Sorry for delay. Please see https://plugins.jetbrains.com/docs/intellij/xml-dom-api.html#highlighting-annotations and following on how to highlight DOM files, namely extending custom com.intellij.util.xml.highlighting.BasicDomElementsInspection to highlight semantic errors.

0

Please sign in to leave a comment.