This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
New suggestion: it would be nice to have the color underlining feature in Scss and Less files. |
|
|
+1 Resharper did this, but lost that functionality when i switched to .less :) +1 also to add browser vendor prefixes -mox-box-sizing etc to the css dropdown list. |
|
|
Thanks for the feedback! Have you tried the free Web Essentials extension? Rather than underlining, it displays a colour swatch in front of colours, and it does work with .less and .scss files. |
|
|
I already tried this extension a few weeks ago, but I uninstall it because of a conflict (I don't remember if it was with WW or ReSharper). |
|
|
VSCommands extension seems to function with scss files also. I have VSCommands and Resharper, and between the 2 of them, I get my colors underlined in pretty much any text file I open. |
|
|
Thanks for the suggestion. I tried the Web Essentials extension but I uninstalled it after 2 minutes. This extention puts a square before the color code (instead of an underline), and when I'm typing, the code is always moving and the syntax highlighting is lagging... very annoying. I also tried the VSCommands plugin, but this one underline any caracters which have a color name inside, even if it's unrelated to a color, e.g. redundant (the bold caracters are underlined in my code). So nothing conclusive for now. |
|
|
You might want to report that as an issue to the VSCommands folks. https://getsatisfaction.com/dpstudio/topics/defineshouldntbecolorhighlighted looks like a related issue which they fixed a good while back; if you haven't tried a recent version of VSCommands, it might be worth giving it a go and seeing if your issue is also fixed. |
|
|
Yes you are right. So this extension might do the job. Thanks Ivan and bman654! |
|