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
|
Hello, I have a styles.less file with the following: // Color However both "//" and "@" are not being recongnized. This was working before. It stopped working after I updated Web Workbench. I am not working on a VS 2010 solution. I am opening a file using Mindscape File Explorer. I already uninstalled and reinstalled Web Workbench but no luck. Any idea what might be wrong? Everything was working fine before I did the update ... Thank You, Miguel |
|
|
Hello Miguel, Not sure what could cause this problem. I've just downloaded the current version of Web Workbench and pasted your sample code into a lone file (not part of a solution) and it is highlighting correctly for me. I don't think we have made changes to the Less highlighter for a while so I am not sure what could have been in an update to cause this to break. The only thing I can think of is that something before the fragment you posted has changed, and that we have hit an error parsing that and been unable to recover from it. Try gradually stripping your file down until you get to a minimal repro -- then if that still contains no obvious errors, you could post it here and we would be happy to take a look. (You can attach a file to a forum post via the Options tab.) Thanks! |
|
|
Hello, I created a simple "Main.less" file. I double checked the extension just in case. Then I simply added the following to that file: div { And I get the following error on the second div: "Validation CSS 2.1: 'div' is not a known CSS property name." I reinstalled the Web Workbench again and I keep having the same error. What might be wrong? Thank You, Miguel |
|
|
I found the problem. I had another LESS Extension installed to try it and it was interfering with Web Workbench. I removed it and now it is working fine. Thank You, Miguel |
|