Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Ignore certain characters in CSS/HTML editors

$
0
0

Hi,

 

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?

 

Thanks


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>