How to parse a highlight syntax for complex file in intellij plugin?

I have custom file like this:

How can I implement correct syntax highlight for different parts of this file?

Is it possible to do syntax checking for xml and groovy separately and show proper errors?

How to "show" & as &?

Is custom language implementation needed or can I reuse com.intellij.lang.xml.XMLLanguage and GroovyLanugage?

Can you please point me to some direction? I've read about PSI, tried to go through some existing plugins but I have no idea how to implement it correctly.

Some articles, examples, documentation or something...

Read More »

By: StackOverFlow - Saturday, 14 April

Related Posts