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
|
Version: 2.0.371.18852 in VS 2010 SP1 Defining any @function in a SCSS file seems to break syntax highlighting for the entire file. Pasting the example from the SASS documentation for creating functions causes the error:
The file compiles fine and the function does work, only the syntax highlighting is broken. To bypass the issue I have created a 2nd SCSS file just to dump functions in, and imported that in my main SCSS file so I can get syntax highlighting at least in my primary SCSS file. This is obviously not ideal though. |
|
|
I have the same problem with @font-face, e.g.
|
|
|
Thanks for alerting us to this. I've committed a fix for the @function issue and this will be included in the next update (probably later today). You still won't get highlighting on the function body (we'll try to add this later) but you should no longer see errors. The @font-face issue was specific to using @font-face within a mixin. I've also committed a fix for this and it will also be in the next update. |
|
|
Very nice! I love the quick responses & updates. |
|