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 use the latest build of the pro version and I have recently installed the latest version of jslint for visual studio 2010. Now when I try to save a .less file the less compiler gives me a not so useful error (line , column -1). If I disable the jslint extension it works fine. Any ideas of how I can resolve this. Kind regards Wouter |
|
|
Hi Wouter, I have just tried reproducing this by installing the JSLint extension and creating a new project with a new Less file but that saved correctly so I suspect there might be somewhere that JSLint is getting activated perhaps depending on the content of the file. My suspicion would be that presumably it is getting fired prior to us getting access to the file content to pass into the Less parser which would cause the type of issue you are reporting (which is that its trying to parse a blank file). Is it a specific .less file causing issues? Are you able to send through an example of a file which is not working correctly so I can try and track down what is going on here.
|
|
|
I forgot to mention this but this happens on the bootstrap.less file from twitter bootstrap (with my additional css added to the file) I send the file in attachment. |
|
|
Thanks - I can reproduce the issue here but there is nothing obvious occuring which should be preventing this from working. Im not entirely clear on the level of integration JSLint is performing but I am a little surprised to see it doing anything on .less files. Have you checked with the people who make the JSLint plugin to understand what might be going on here? In the meantime I would suggest you disable the plugin. I am not sure if you are aware but we do actually run JSLint as part of the JavaScript processing so you dont explicitely need a separate plugin if that is all you are not specifically using it for anything else.
|
|