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
|
Using web Workbench 3.2.779.22483 I normally break my CSS into multiple files.
Styles.scss is my main sass file. At the bottom of it I import all of the other files. Because of this, _modules.scss, for instance, shows syntax errors for all variables and includes, because it has no way of knowing that it's being imported by styles.scss, which defines all of the variables and mixins. Is it possible to disable intellisense for variables and includes? Or to somehow hint to intellisense (maybe in a comment) where to look for the variable and mixin definitions? Bottom of Top of |
|
|
Yep, you can hint this by adding the following comment to the top of your file
This will import the file for parsing purposes but will be ignored by the compiler.
|
|
|
Awesome. Thanks, Jeremy. Works great. Only issue now is that I'm still getting the syntax error when I have an |
|
|
Yes this is a parser limitation. Ill add this to our backlog for parser improvements and let you know once we have an update available for this.
|
|
|
Great. Thanks again. Great product. |
|
|
We have put out a new version of WW today which includes a number of updates to the parser and this should be addressed in this update. Let us know if this continues to be a problem after updating and if it does could you send through block of sample markup to reproduce this please.
|
|
|
That fixes it. Awesome. Thanks. |
|