visual studio中番茄助手添加注释模板

一、文件注释

/**
  * @file   $FILE_BASE$.$FILE_EXT$
  * @brief Thisis a brief description.
  * @author ${Author}
  * @par   Copyright (c):
  *          ***.
  *         All Rights Reserved
  * @date   $DATE$
  *  @note   matters needing attention
  *  @version 1.0
  */  

二、类注释

/**
  * @class <class‐name>
  * @brief  This is a brief description.
  * @author ${Author}
  * @note   matters needing attention
  */

三、函数注释

/**
  *  @brief  Thisis a brief description.
  *  @param[in]  inArgName input argument description.type name:purpose(Range)
  *  @param[out] outArgName output argument description.
  *  @Return:    $SymbolType$:description of the return value
  */

四、头文件防止重复包含

#ifndef _$FILE_BASE_UPPER$_$FILE_EXT_UPPER$_
#define _$FILE_BASE_UPPER$_$FILE_EXT_UPPER$_

$selected$
#endif // _$FILE_BASE_UPPER$_$FILE_EXT_UPPER$_

猜你喜欢

转载自blog.csdn.net/sinat_36304757/article/details/124841100
今日推荐