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
6
votes
1 answer

Import causing syntax error in scss using Visual Studio

I imported into my Visual Studio 2013 a template that I purchased using scss. I then installed the latest Web Essentials to use this feature but I am struggling with it. Here is a sample of my structure main.scss /* imports several child scss …
Corobori
  • 303
  • 3
  • 13
6
votes
0 answers

Web Essentials 2013 context menu not available

Since one of the projects in my solution uses NodeJS/Grunt to compile his Less-files I have disabled the less compiling in Web Essentials using a solution-wide WebEssentials-Settings. "Less": { "CompileOnBuild": false, "CompileOnSave":…
Gigi2m02
  • 1,238
  • 3
  • 17
  • 33
6
votes
2 answers

Bundle directory using Visual Studio Web Essentials

Is it possible to bundle all javascript (or css) files in a directory using Web Essentials? Similar to how System.Web.Optimizations bundling can take a directory? I tried: /myDirectory but…
JoshMB
  • 990
  • 1
  • 8
  • 14
6
votes
1 answer

Visual studio web essentials JSDoc intellisense on methods assigned in constructor not working?

I'm a little new to jsdoc comments (attempting to convert some vsdoc comments to jsdoc so I can make use of doc generators that support jsdoc), so stop me if I'm doing something obviously incorrect, but I noticed that if you assign methods on a…
Jeremy Bell
  • 5,253
  • 5
  • 41
  • 63
6
votes
2 answers

Undeclared mixin error when using semicolon in multiple parameter Less file

I am trying to use the mixins.less file from Twitter Bootstrap in my project. All instances of multiple parameters that are separated by semi-colons show: Undeclared mixin The function arguments are unclosed, ')' expected. Undeclared variable I…
JSchaffner
  • 63
  • 1
  • 3
6
votes
4 answers

TypeScript error Web essential

I use Web essentials to compile my typescript files on save (Visual Studio 2012), but i got an empty js and this message : Compile Error. See error list for details error TS5012: Cannot read file…
NOr
  • 1,043
  • 2
  • 11
  • 13
6
votes
2 answers

Typescript requirejs web essentials 2.9

I just update Web essentials and Typescript to new version. Result that my project don't work anymore. Here's my typescript code: /// ///
Jerome2606
  • 933
  • 20
  • 42
6
votes
1 answer

LESS syntax highlighting and intellisense stopped working in VS2012

I'm running Visual Studio 2012.3 update. Today when I started IDE and opened a LESS file, syntax highlighting didn't work. Nor did intellisense while editing it. It seems that Web Essentials is working as CSS preview pane is displayed and code in it…
6
votes
5 answers

VS 2012 Web Essentials Less Compile Error

Visual Studio 2012 Update 2 Web Essentials 2.7 Hello, Every time when I try to change or create any .less file, I got this message in css preview: /* Compile Error. See error list for details */ And when I open Error List, I can see this: LESS:…
0neel
  • 383
  • 5
  • 11
6
votes
2 answers

jsDoc intellisense for Visual Studio 2012

Web Essentials for Visual Studio 2012 says it has support for jsDoc intellisense, but I can't seen any options for enabling it, and it doesn't appear to do anything. Any ideas how to turn it on? or could anyone suggest an alternative…
magritte
  • 7,396
  • 10
  • 59
  • 79
5
votes
2 answers

Visual Studio 2017 minify on save

Can anyone explain how to minify files on save. The extension Web Essentials used to work perfectly in earlier versions of VS and used to make life easy. Now it just won't work. I have tried uninstalling and reinstalling the extension but it doesn't…
WillNZ
  • 765
  • 5
  • 13
  • 38
5
votes
2 answers

Using tsconfig.json with Visual Studio 2013? (web project)

I'm using Angular 2 in my web project, and as such need TypeScript to suport experimental decorators such as @View. This can be done in tsconfig.json with "experimentalDecorators": true but I see no such option in Visual Studio's project settings.…
Vern Jensen
  • 3,449
  • 6
  • 42
  • 59
5
votes
2 answers

Disable HTML element tooltips in Visual Studio

I was wondering if anyone has had any luck disabling the HTML element tooltips in Visual Studio 2015. I find them to be a real annoyance, especially when dragging/ctrl+dragging text around (they get in the way most the time). Here's a screenshot the…
enriquein
  • 1,048
  • 1
  • 12
  • 28
5
votes
3 answers

Does web essentials offer a way to use the bundled js file in production but individual js files in development?

The Setup: I have a large SPA app using many JavaScript files that are bundled using Web Essentials bundling in Visual Studio 2013. I then include the minified js files generated by Web Essentials on my HTML page. This application does not use…
5
votes
3 answers

Automatically switching to minified CSS & JS files in different environments

I am using ASP.Net MVC 5 and also taking advantage of WebEssentials LESS and bundle features. WebEssentials is setup to create minified css and js files on save. This is a feature I want because I can monitor the output and it lowers the…