Within the web application I'm working, we've provided a way to have CSS files contain JSP code ( custom tags, EL expressions, etc). What is the best way to have IDEA accommodate our setup, to provide, among other niceties, syntax highlighting?
I've added a file extension "*.dcss", which will be the extension of the CSS files that allow JSP code. I was thinking this might help me get there, but I'm uncertain of what next steps I might take. If I register "*dcss" to the list of JSP extensions, I'll get syntax highlighting for the JSP code, but lose it for CSS declarations. If I register "*dcss" as a CSS extension, then its the other way around.
Any guidance would be appreciated.