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
|
This is for v3.2.200.20308 and Twitter Bootstrap 2.0.3. I bought WW today so that I could convert over to LESS to improve my crazy long SCSS compilation times; I'm happy to report that it did what I hoped and my compilation time is now not a pain. Here are some syntax quirks you can reproduce using Twitter Bootstrap, for future fixing: Namespaces Mindscape does not seem to recognize calling namespaced mixins (see grid.less). Pattern Matching Pattern matching expressions don't seem to be parsed correctly (see mixins.less around L535). Filenames with dots Mindscape for LESS and SASS doesn't recognize intellisense for imports that have dots in them:
String interpolation It'd be nice to get syntax highlighting for string interpolation ala Resharper. Variables in mixin parameter definitions Mindscape doesn't highlight variable values for parameters:
See mixins.less @ L491 Invalid detection of partial import Mindscape says this is a valid import even though LESS doesn't recognize the
What happens is no intellisense/syntax error in VS but a compilation error Stack traces or detailed errors This may be beyond your control but I find the LESS compilation errors totally uninformative... they cite lines/files of the including file, not the file that actually had an error (for many errors), and there's no stack trace. Some errors don't even have a line. For example, this will throw an error (though I have no idea why):
Took me forever to figure out the variable name was the problem (must be reserved or something) and there was no line citation. I don't know if this helps, but the Sublime Text 2 LESS plugin handles syntax highlighting fine, though I don't know if it's much more simplified: https://github.com/danro/LESS-sublime |
|