Visual Studio 2012 Update 2
Web Essentials 2.7
Every time when I try to change or create any .less file, I got this message in css preview:
See error list for details
And when I open Error List, I can see this:
This thing same everytime, no description at all. It doesn't depend from code, even this code generate error:
What shell I do?
first of all...your WebEssentials are great!
How could I tell jsHint to ignore a couple of files(third party stuff)?
It seems, that jsHint does not recognises .jshintignore at the root of my project.
Did you integrated any other solution?
Web Essentials rocks... but it would rock even more if we could automagically create .d.ts files (via the --declaration command line option). This would solve a long-standing issue with having to have tons of files checked out to even save a .ts file (with references) and may even go some way to speeding up opening and building our solution.
Pretty please with cherries on top :)
1. It doesn't seem to be playing nice with some of the new generics, reporting errors where there are none:
// using latest knockout.d.ts
var portText = ko.observable("");
portText(""); // this line generates the error: "Could not select overload for 'call' expression." It compiles error free and executes fine tho.
The compiler doesn't complain, but the IDE underlines the code in red and appears in the "Error List" section.
The sources property in the generated .map file seems to always include the relative path from the root of the server. The problem is that our applications use virtual directories and therefore these references don't work when trying to debug from the browser. It all seems unnecessary too since the bundling is happening at a folder level so you could always assume the reference is relative to the map file. We are having to add a post build step to fix our references in the "sources" property after each time Web Essentials messes them up.
Other than that, great job ;)
I've just noticed that in my sln tree the icons of .ts-files became 'media-playerish' (old-style 'film' icon with the 'play' sign on it), and the same time Web Essentials seems to know nothing of the .ts-files. Symptoms:
- ts-files are opened in VS by plain text editor; no intellisense, no generation on save;
- no generation on build if set;
How to fix it? Reinstalling of WE didn't help. Nor did setting Windows file '.ts' association from Media Player to VS.
In my project I have the following directories :
component.less contains the following style :
background: url(../images/triangle_v3_top.png) no-repeat;
The component.less file is imported in core.less :
In the core.css file generated I have this :
background: url(composants\../images/triangle_v3_bottom.png) no-repeat;
The backgroug url is wrong, it must be :
background: url(../images/triangle_v3_bottom.png) no-repeat;
When I use Prepros to build less file (http://alphapixels.com/prepros/) the url is correct.