学无先后,达者为师

网站首页 编程语言 正文

VS Code注释插件doxygen documentation generator

作者:晓晨的博客 更新时间: 2022-10-14 编程语言

最近发现一个挺好用的注释工具,在vs code的扩展工具中找到
Doxygen Documentation Generator并安装。
在这里插入图片描述
默认的使用方法为:在代码文件头或者自定义函数上方的位置输入:/**,然后enter键。则会自动生成相应的注释。

/**
 * @file IMUPreintergration.cpp
 * @author xiaochen (youremail@xx.XX)
 * @brief you file or function brief information
 * @version 0.1
 * @date 2022-06-26
 * 
 * @copyright Copyright (c) 2022 Xiaochen Wang
 * 
 */
    /**
     * @brief use extrinsic parameters converter the IMU data
     * 
     * @param imu_in 
     * @return sensor_msgs::Imu 
     */

自定义代码格式可以通过:
File–>Preference–>Settings–>Extensions–>Doxygen Documentation Generator Settings设置相应的格式。

原文链接:https://blog.csdn.net/wxc_1998/article/details/125479196

栏目分类
最近更新