Conditional check for uniquenes in Xml PSI

Hi all,

I need to check XML attribute for uniqueness in certain context, but with some weird conditions.   Which DOM annotations  I have to use or what shall I implement?

1 comment
Comment actions Permalink

I'd suggest to implement com.intellij.util.xml.highlighting.DomElementsInspection. If there's no need to switch it off/suppress it manually, you could also use com.intellij.util.xml.highlighting.DomElementsAnnotator.


Please sign in to leave a comment.