cl1107

有支持 JSDoc 生成注释解构参数的 VSCode 插件吗?

  •  
  •   cl1107 · Sep 16, 2020 · 3931 views
    This topic created in 2067 days ago, the information mentioned may be changed or developed.

    /**

    • Assign the project to an employee.
    • @param {Object} employee - The employee who is responsible for the project.
    • @param {string} employee.name - The name of the employee.
    • @param {string} employee.department - The employee's department. */

    Project.prototype.assign = function({ name, department }) { // ... };

    生成这样的注释,找了几个插件都不支持解构参数的注释。

    2 replies    2022-09-05 21:58:06 +08:00
    lovedebug
        1
    lovedebug  
       Sep 16, 2020 via Android
    现在都大量使用 openapi 了吧
    cl1107
        2
    cl1107  
    OP
       Sep 5, 2022
    自从用了 ts ,也没这需求了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2940 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 14:44 · PVG 22:44 · LAX 07:44 · JFK 10:44
    ♥ Do have faith in what you're doing.