怕写文档?AI自动生成代码文档的插件


适用于 Python、JavaScript、TypeScript、PHP 和 Java 的 AI 文档编写器,vscode插件点击标题,Intellij Idea插件点这里
写文档很烂。让Mintlify 来处理它,跳过编写代码的可怕步骤,以 10 倍的速度完成任务,通过提高其可读性使人们更容易使用您的代码库。
 
亲测有效,vscode中选中下面代码中的方法:

    @Override
    @Send("newForumMessageNotifier")
    public DomainMessage notifyLobby(Notification notification) {
        return new DomainMessage(notification);
    }

按右键,选则生成文档:

/**
 * It sends a message to the newForumMessageNotifier queue.
 * 
 * @param notification The notification to send.
 * @return The DomainMessage class is a wrapper for the Notification class.
 */

 

支持的语言:
  • Python
  • JavaScript
  • TypeScript
  • JSX and TSX files
  • PHP
  • Java

支持文档格式:
  • JSDoc
  • reST
  • NumPy
  • DocBlock
  • Javadoc
  • Google

 演示步骤:

第 1 步突出显示代码或将光标放在要记录的行上 
第 2 步单击Write Docs按钮