Sublime Text 2 syntax highlighting for XML and Java in the same file?

Kay

New Member
I have a proprietary application that takes XML files and can use embedded Java code in XML file to perform certain operations. I opened the XML file in ST2, but I only get syntax highlighting for XML code, Java code is just white. If I switch the syntax to Java from view menu, java code is properly highlighted. Is there a way to have both languages syntax highlighted in the same file ?
 
Back
Top