Unfortunately, it causes crashes nearly every time I start to debug the web project. I've tried the latest version and have the latest update to VS 2012. (When this is installed, can't debug, and VS2012 crashes, when it's not, everything works smoothly).
In theory this plugin would easily earn 5 stars, but it seems there are some issues with the js bundle plugin/minifier and JSHint. Two things: 1.) The minified version doesn't seem to work all the time (I mean it might be something I could fix if I would "optimize" the JS code a bit more, but for small web project I just want something that works out of the box). One thing it "broke", e.g. was the jQuery plugin jTruncate. 2.) While it seem to compress better than YUI, Google Closure Compiler seems to make a better job even with the Simple optimzations. So maybe Web Essentials could use GCC and allow a new preference, something like "advanced=true" to achieve even better minification. 3.) And possibly the most important thing: JSHint should become more customizable. E.g. there is this other VS Extension JSLint that imo does a much better job (though I don't really want another VS extension installed): You can set your custom namespaces, it is possible to check a single file on save (much better than checking all files on build, which can get really annoying if you work on big JS projects). Anyway, thanks for this quite helpful extension and up the good work.
Today I saw your session on Techday 2013 in Den Haag and you've made some really cool stuff!! The CSS hell is mitigated thanks to the Web Essentials 2012.
No more LESS support in the latest version. But "LESS" is there on the product page, there's even a LESS-settings tab in the options. Thanks for ruining our work process.
This extension is #1 result in Google for "Visual Studio LESS".
PS. the new "ASP.NET and Web Tools 2012.2" only highlights LESS code, but does not compile it!!
My status bar ALWAYS says "Web Essentials: bundles updated". I don't to see it, I want to see the actual messages from Visual Studi - like "Build secceeded" for instance - I need that info.
But all I see is the endless "Web Essentials: bundles updated". I wanna know when my builds are finished!!!
I have been working on a web application project and have been using LESS throughout it. The add LESS stylesheet has been in the add item context menu. I have now started working on a web site project and I do not see the add LESS stylesheet in the context menu or new item dialog.
Is this a bug?
For instance, I have a parent project and I have multiple child projects (as virtual directories) residing in a different project. Is it possible for Web Essentials to bundle and minify files from different projects (not the same solution)?
/ Parent
-/JS
-/CSS
/ Child
-/moreJS
-/moreCSS
I don't suppose there's any chance of getting alphabetical sorting of css properties back.
I'm sure the dude who wrote cssComb is super clever, but I just think it makes finding the property I want more difficult. :(
Is this a normal behavior? How do I make the bundle automatically minify the output JS file it produces?
The config seems to have the minify=true so not sure where else to look. Thanks.
It's weird that the first time I created a bundle, it didn't created the minified and bundled file. I had to do it several times before it generated the output for the bundle.
Nice tool, love the ability to use regions in Javascript.
One problem I've found though is that 'collapse to definitions' ignores regions which kind of doesn't make sense.
Toggling on and off ALL outlining does end up with collapsed regions, but it basically collapses way too much (down to the simples 'if' of course).
It'd be nice if you guys could let the regions listen to the collapse to definitions command (which is the way regions work for C# for example).
When I select some text in a CSS file, I don't see the 'Surround with region' option anywhere on the Web Essentials context sub-menu. I've got v2.2 installed.
Any ideas as to why this option isn't appearing? thanks!
If I remove the #region declaration:
* {
margin: 0;
}
html {
margin: 0;
padding: 0;
height: 100%;
}
body {
background-position: center;
color: #333;
font-family: Arial, Verdana, Helvetica, "Sans-Serif";
font-size: .85em;
height: 100%;
}
and select Sort All Properties, I get and error:
Index was out of range. Must be non negative and less than the size of the collection.
Parameter name: index
I'm using VS 2012 if this matters! :)
i have 'HTML Application with TypeScript' project with a 'Scripts' folder. and i'm seeing two problems.
1) I have dragged a bunch of .ts files into the Scripts folder, they appear in the solution explorer. every time I build, the MSBuild task doesn't build my .ts files, it only builds the 'app.ts' files that came with the project template. if I delete the 'app.ts' file, then it just shows a tsc.exe syntax error during build, since nothing is passed to the tsc.exe command line.
how do i get it to build the files in my scripts folder?
2) every time I build, I see a whole bunch of 'tsc.exe' processes started (by devenv.exe, NOT MSBuild.exe), one for each source file. these tsc.exe processes don't exit and I have to kill them manually (otherwise windows fails pathetically to handle the OOM and grinds to a halt).
how do i stop this?