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
|
I'm using web workbench along with compass and Susy, in Susy you can type this:
Which is perfectly valid and compiles in Compass, however web workbench highlights it as bad syntax and refuses to highlight any of the code after this point. Is there any way I can ignore this "error" and continue to code with syntax highlighting? Or even turn syntax errors off? Thanks Henry |
|
|
There isn't a way to ignore this so we will need to add support for this syntax into our parser. Is this syntax specific to Compass?
|
|
|
It's specific to Susy, a responsive grid add on for Compass |
|
|
Any updates on this? It's rather annoying as I'm having to put all of the stuff that uses this syntax into a separate file without syntax highlighting. I only really use Web Workbench for syntax highlighting... |
|
|
We will be putting in an update shortly to ignore syntax we dont understand. We will not be specifically adding any additional parsing support for Susy specific syntax but we clearly dont want it to break when encountering it either :) This is likely to be in the nightly builds later this week.
|
|
|
Just an update to let you know that the update mentioned above is now available in tonights nightly build.
|
|
|
Excuse me for my ignorance but how exactly do I get the nightly download? |
|
|
Nightly build can be downloaded from "my account", I've installed the nightly build but still get the red line and Syntax Error, however now I get Syntax Error written twice... |
|
|
Yes, we are not actually adding in any support for Susy specific syntax so it will still show as an error - you should just ignore this since you know its not actually an error in practice but the change prevents the syntax highlighting from being broken for the remainder of the file. I will have a look at why we are duplicating up the message on the tool tip though.
|
|
|
Regarding nightly builds - You can download the nightly build from your My Account page if you have a subscription or if you are using the free version then this will be included in the next gallery update.
|
|
|
How exactly do you ignore the error? After the error it seems that web workbench stops highlighting the syntax for me... |
|
|
In your screenshot the following lines looked to be highlighting correctly? If that is not the case can you send is through a copy of your stylesheet so we can have a look at what is occurring as it should continue highlighting after the block which it doesnt understand and marks as a syntax error.
|
|
|
Yes, the lines inside the same brackets do highlight correctly, however everything after that fails to highlight I've attached a screenshot showing this... |
|
|
Thanks for the extra detail - yep thats a bug and I have added a fix for that into tonights nightly build. The example you have in the screen shot now looks to be highlighting correctly for me here so let us know if you spot anything else after installing an updated nightly.
|
|
|
Thanks for your help.I have get it. |
|
|
Hmmm, I've installed the update from last night and the error is still there.... Or did you mean tonight? |
|
|
You will need to grab an updated build :) Based on the time of your post you grabbed this prior to this evenings nightly being pushed up to the server. This occurs around midday UTC.
|
|
|
Ah thanks for that, unfortunately it doesn't seem to have fixed it :-( it had started highlighting further down in the sheet though, very strange! |
|
|
Hmm thats odd, the styles from your earlier screenshot are highlighting fine for me here. Are you able to send through the actual file you are working off and I can have a look at trying to reproduce what you are seeing here.
|
|
|
I can yes, do you have an email I can send to? |
|
|
Yep - you can fire this through to us at support at mindscape.co.nz
|
|
|
Looking at the syntax which initially opened this issue, that is actually Sass syntax and not specific to Susy. This is the new mixin content block functionality which was introduced in Sass 3.2. See here for more details. http://chriseppstein.github.com/blog/2012/08/23/sass-3-2-is-released/ Edited: Here are some examples of using the mixin content block functionality, https://gist.github.com/1215856 |
|
|
Oh, in which case this will be covered by the updates in tonights nightly build then :) Thanks for the clarification on this!
|
|
|
thanks for your help on this, pretty much working now |
|
|
I'm using web workbench along with compass(Activated in VS) and would like to use susy. How did you install the susy gem, please? |
|