How can I enable Intellisense Quick Info in Less when using Web Essentials 2013?
I'm working on a Less file that can be used by a very large team to ensure that their CSS adheres to specs (since it's not always possible to just use core CSS files). I want to make it as easy as possible for them. Intellisense helps with autocomplete and nominal parameter understanding for smaller mixins.
But I really wish that I could use the Intellisense comment syntax to provide documentation as a developer type.
For example:
.-spec() {
/// <summary>Returns full properties and values to match spec</summary>
.button(@alpha: a; @omega: z) {
/// <summary>Core button. Adheres to K4576.1</summary>
/// <param name="alpha" type="String">Some description about alpha</param>
/// <param name="omega" type="String">Some description about alpha</param>
@var1: value1;
@var2: value2;
@var3: value3;
.btn {
background: @var1;
}
}
}
It would be great to display summaries for mixins from autocomplete and document the correct use of each parameter passed to the function.
So how can I get the Quick Info content to show in Visual Studio 2013 SP3 using WE2013?
You can link to fewer files the same way you can in JavaScript files in Visual Studio.
Example
/// <reference path="mixins.less" />
This will auto-complete intellisense as you type, as well as mixing details when you hover over it.