VS代码自动补全功能
新建工程后,依次打开 工具>>代码段管理器>>选择C++>>点击 添加(A)...按钮 ,设置你的代码块的目录
复制以下代码并存为note.snippet
notenote
note的代码片段
陈创录
Expansion
SurroundsWith
FunctionName
函数名
函数名
Description
方法描述
描述
Parameters
参数列表
1
Return
返回值
2
Author
作者
Yourname
Date
日期
2018-01-01
/**********************************************
* FunctionName: $FunctionName$
* Description: $Description$
* In Parameters:
* $Parameters$
* Out Parameters:
* $Return$
* @Author:$Author$
* @CreateDate:$Date$
**********************************************/
void $FunctionName$() //$Description$
{
$selected$ $end$
}
]]>
在VS的代码编辑器里输入note后按tab即可。