Questions tagged [web-essentials]

Web Essentials is an open-source extension for VisualStudio written by Mads Kristensen, a Program Manager at the Microsoft Web Platform team, which, according to its own site: 'Adds many useful features to Visual Studio for web developers'

Full details of Web Essentials can be found here and here.

The extension provides better support for HTML, JavaScript, CSS, CoffeeScript, JSHint, LESS, and TypeScript in Visual Studio 2012.

To contribute, send the pull request to Web Essentials 2012 or Web Essentials 2013 on GitHub. Also, to report the bug, open issue on corresponding GitHub repo.

399 questions
0
votes
2 answers

How to locate style in Less file

I have noticed that web essentials for visual studio creates a .css.map file when compiling less. Does this mean it is possible to navigate from a selector in the css file back to the selector in the associated less file? If so how?
Matthew
  • 1,148
  • 10
  • 17
0
votes
1 answer

Coffeelint indentation in Web Essentials 2013

I have 4 space indentation in my coffee files and when I am compiling those I am getting errors: CoffeeLint: YourFile.coffee compilation failed: CoffeeLint: Line contains inconsistent indentation; context: Expected 2 got 4 I found that…
Vladimirs
  • 8,232
  • 4
  • 43
  • 79
0
votes
1 answer

Is there some way to cause VS Build to fail on JS Hint errors using the WebEssentials plugin?

I have my app throwing JSHint violations into the Error Output using "LintResultLocation": "Error" but the build still "succeeds" and doesn't give any indication that something is wrong unless you specifically go look at the Error Log. I would like…
Jaboc83
  • 302
  • 1
  • 2
  • 8
0
votes
1 answer

Web Essentials is opening bundle file on every build, how to turn it off

I have installed “Web Essentials 2013 nightly”. I am using it to bundle JavaScript files. Every time I compile my project in Visual Studio the js.bundle file get focused in Solution Explorer and file is opened in code editor. How to turn it off? I…
Adam Kopciński
  • 505
  • 4
  • 12
0
votes
1 answer

LESS CSS preview no longer generated in VS 2013 Update 2 with Web Essentials 2.0

I updated to VS 2013 Update 2 and Web Essentials 2.0. Now, all of my LESS documents no longer show a CSS preview, even when saving. I see no indication of errors. It seems to come down to it breaking on certain selectors. I've noticed that, in some…
Ryan Peters
  • 7,608
  • 8
  • 41
  • 57
0
votes
1 answer

UTF-8 Character encoding of Web-Essentials-generated (e.g. minified) files

I have a javascript file encoded in UTF-8 (with BOM). I'd like its minified counterpart to also be UTF-8 with BOM. But whenever I update the original file, the generated one reverts to ANSI. I've tried using Visual Studio to overwrite the generated…
Jeremy
  • 2,642
  • 18
  • 36
0
votes
1 answer

Is there a way to use TsLint without installing Node or WebEssentials?

Is it possible to use TsLint without installing Node and/or Web Essentials? I just want something small and light I can run on the windows command line, like with JsHint.
user826840
  • 1,233
  • 2
  • 13
  • 28
0
votes
2 answers

TypeScript 1.0 not generating private members

I am using visual studio 2012 with TypeScript 1.0 and web essentials 3.7. I have declared some private static variables in my class in TypeScript file. But when I save this file, I do not see these members in JavaScript file and at the run time…
SharpCoder
  • 18,279
  • 43
  • 153
  • 249
0
votes
1 answer

In Visual Studio 2013 with Web Essentials, is there a way to revert images encoded with "Encode Image in base 64" to the file name?

After encoding images to base 64 in the html it is difficult for colleagues to know what image the base 64 code refers to. Is there a way to revert to the file path for easy updating?
StephenC
  • 161
  • 2
  • 14
0
votes
1 answer

Have web essentials compile all less files

I want to allow web essentials to compile several less files at once in a specified order. I have worked in the past having gruntjs perform this action but if web essentials can be set up to do this that would make it significantly easier for me.
jokul
  • 1,269
  • 16
  • 37
0
votes
1 answer

How can I generate ECMAScript3 with Typescript in Visual Studio 2013?

I'm using Visual Studio 2013 Update 1 with the latest version of the Web Essentials 2013. I am also using Typescript. How can I make the typescript compiler output ECMAScript3 instead of ECMAScript5? It seems that there was once a setting for this…
Adrian Grigore
  • 33,034
  • 36
  • 130
  • 210
0
votes
1 answer

Unbale to generate changes in JS file after saving TypeScript file

I am using Visual Studio 2012 along with TypeScript 0.9.5 and Web Essential 3.5. After I make changes in TypeScript file and save it. The changes are not saved in JavaScript file. I navigated through Tools > Options > Web Essentials > TypeScript in…
SharpCoder
  • 18,279
  • 43
  • 153
  • 249
0
votes
1 answer

Web Essentials 2013 has broken fix to console for typescript

We have been using TypeScript for a while and specifically this line to overcome IE's issue with the Console. if (typeof console == "undefined" || typeof console.log == "undefined") var console = { log: function () { } }; However I upgraded my…
Kurt LP
  • 98
  • 1
  • 5
0
votes
1 answer

Combining Less with Visual Studio 2012

Compiling all less files into one stylesheet? Using the above link I have sucessfully been combining my less files together so that I can easily read my css whilst developing but my end users only have to make one http request to the minimised…
Matt Skeldon
  • 577
  • 8
  • 23
0
votes
2 answers

Why is name attribute transformed to value on input type in Web Essentials Zen Coding? Bug?

In Visual Studio 2012 with Web Essentials 3.5 the following Zen Coding item seems to be transformed improperly: input[name="demo"][type="text"] Note: Just updated to version web essentials 3.6.5 and I still get the incorrect markup. It results in…
raddevus
  • 8,142
  • 7
  • 66
  • 87