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

插件介紹頁


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM