目前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 radius of the circle. </param>
/// <returns type="Number">The area.</returns>
var areaVal;
areaVal = Math.PI * radius * radius;
return areaVal;
}
是否可以配置为可以加载常见的jsdoc [?
例如:
/**
* 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;
}