熊浩宇
发布于 2023-04-28 / 3 阅读 / 0 评论 / 0 点赞

前端文件注释

文件注释

{
	"Print to ffzs": {
		"prefix": "efunc",
		"body": [
			"/**",
			" * description: $1",
			" * @param {$2} $3",
			" * @return {$4} $5",
			" *",
			" * created by xionghaoyu on ${CURRENT_YEAR}-${CURRENT_MONTH}-${CURRENT_DATE} ${CURRENT_HOUR}:${CURRENT_MINUTE}:${CURRENT_SECOND}",
			" *",
			" */"
		],
		"description": "方法注释"
	},
	"Print to wjzs": {
		"prefix": "jfile",
		"body": [
			"/**",
			" * created by xionghaoyu on ${CURRENT_YEAR}-${CURRENT_MONTH}-${CURRENT_DATE} ${CURRENT_HOUR}:${CURRENT_MINUTE}:${CURRENT_SECOND}",
			" *",
			" * description: $1",
			" *",
			" */"
		],
		"description": "js文件注释"
	},
	"Print to js": {
		"prefix": "efile",
		"body": [
			"<!--",
			"- created by xionghaoyu on ${CURRENT_YEAR}-${CURRENT_MONTH}-${CURRENT_DATE}",
			"-",
			"- description: $1",
			"-",
			"-->"
		],
		"description": "html文件注释"
	},
}

评论