vsCode中给JavaScript文件添加jsdoc风格的注释-和document this

js文件注释插件

Document This

  • 可以自动给js文件和ts文件添加注释
  • 支持jsDoc和以下标签
    • @class, @description, @enum, @export, @function, @implements, @interface, @param, @private, @returns or @return, @static, @template, @type, @memberOf and @date.

使用方式

  • 在文件中,连按两次Ctrl+Alt+D
  • 或者在要加入注释的函数上方输入/**,然后在弹出的提示中选择Document This即可。

插件介绍页

posted @ 2021-03-12 09:48  朝日asahi  阅读(5831)  评论(0编辑  收藏  举报