right now, in custom scheme, if write "select * table", have following colors:
- orange: ", table
- blue: select,
- pink: *
that's because i'm using orange strings , punctuation marks, blue keywords , pink operators.
digging developer tools found when string sql query, has sql word @ point in css chain. instance, above sentence is:
<span class="string quoted double single-line sql python"> <span class="punctuation definition string begin python">"</span> <span class="keyword other dml sql">select</span> <span class="keyword operator star sql">*</span> <span class="keyword other dml sql">from</span> table<span class="punctuation definition string end python"> </span> </span> so question is, possible write rule apply orange contains word sql? i'm not interested in changing overall keywords , operators colors, sql queries.
something $.*sql* { color: @orange; }, doesn't work.
use this
.sql{ color: orange; } it give orange color elements class sql
Comments
Post a Comment