How to highlight some specic nodes of a XML file?

Hello,

i would like to colorize the XML nodes of some XML files in either green, yellow or red.
How can i choose the specific color and how to use the http://javadocs.sonarsource.org/6.0/apidocs/org/sonar/api/batch/sensor/highlighting/NewHighlighting.html interface for that purpose ?

I’ve seem somewhere that it is not possible to highlight the same file twice.
The XML analyzer (SonarXML) is activated during the analysis of my project, but i have my own plugin, with my own language … so is it still possible to hightlight the XML files the way i want it ?

Regards,

Hi. This isn’t possible.

1 Like