配置intellisense以加载jsdoc

时间:2015-02-23 17:21:55

标签: 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 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;
    }

[1] https://msdn.microsoft.com/en-us/library/bb514138.aspx

0 个答案:

没有答案