1.效果:
2.实现:
"console.log": {
"prefix": "log",
"body": [
"console.log($1)"
],
"triggerAssist": true
},
"注释模板": {
"prefix": "zhushi",
"body": [
"/*",
"* @Author: SunPeng",
"* @Date: $DATE_TIME",
"* @Description: 请输入此文件的描述=>$1",
"*/"
],
"triggerAssist": true
},
"方法功能描述": {
"prefix": "function",
"body": [
"/*",
"* @Description: 请输入此方法的功能描述=>$1",
"* @Author: SunPeng",
"* @EditTime: $DATE_TIME",
"* @LastEditors: 请输入姓名",
"* @LastEditTime: $DATE_TIME",
"* @Description: 请输入修改的内容,原因等=>$2",
"*/"
],
"triggerAssist": true
}