Javascript 配置intellisense以加载jsdoc
当前intellisense仅以xml方式加载javascript注释[1]:Javascript 配置intellisense以加载jsdoc,javascript,visual-studio-2013,Javascript,Visual Studio 2013,当前intellisense仅以xml方式加载javascript注释[1]: function getArea(radius) { /// <summary>Determines the area of a circle that has the specified radius parameter.</summary> /// <param name="radius" type="Number">The ra
function getArea(radius)
{
/// <summary>Determines the area of a circle that has the specified radius parameter.</summary>
/// <param name="radius" type="Number">The radius of the circle. </param>
/// <returns type="Number">The area.</returns>
var areaVal;
areaVal = Math.PI * radius * radius;
return areaVal;
}
[1] 恐怕文档中没有提到这一点
/**
* Determines the area of a circle that has the specified radius parameter.
* @param Number radius The radius of the circle.
* @return Number The area.
*/
function getArea(radius) {
var areaVal = Math.PI * radius * radius;
return areaVal;
}