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"
}
posted @ 2020-04-18 23:35  HachikoT  阅读(389)  评论(0编辑  收藏  举报