Is there any way to style the background of the HTML portions of a PHP (or JSP or GSP) template differently than the code portions? For example, something similar to the injected language highlighting.
I'm using IntelliJ IDEA 10.5.
What might be even better is to have some sort of highlighting shift based on focus. I can't remember which tool I was using, but one of them would "fade" the code portions when editing the HTML and vice-versa. It really helps in editing complex (and, admittedly bad) templates.
If this isn't already available, I'll make a suggestion for the IDEA team.