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