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

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.

0

Please sign in to leave a comment.