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即可。