vscode设置snippets
自动添加文件描述信息
"File Comments": {
"prefix": "filecomments",
"body": [
"/**",
" * ${1:description}",
" * @file: ${TM_FILENAME}",
" * @author: username <example@qq.com>",
" * @date: ${CURRENT_YEAR}-${CURRENT_MONTH}-${CURRENT_DATE}",
" */"
],
"description": "File Comments"
}
namespace
"Namespace": {
"prefix": "namespace",
"body": [
"namespace ${1:identifier} {",
"",
"$0",
"",
"} // namespace $1"
],
"description": "Namespace"
}