Ignore certain characters in CSS/HTML editors


I am new to IntelliJ (v12) and I'm working within an app that uses tokens to swap in and out values on the fly when the project is compiled. For instance in my css files I would say something along the lines of .selector1 {color:$colorvalue1$} and in another file I would have the color value defined. This has several advantages in my project, but the problem is using the $$ wrapper for the property with the code inspection enabled (which I don't want to disable) causes errors such as "a term expected - invalid css property value",

Is there anyway to configue the css inspector to ignore everything between the $$ symbols or do I have to turn off inspections completely?


Please sign in to leave a comment.