vscode中设置自定义代码块
打开首选项,选择用户代码片段,打开后选择编程语言
选中后打开文件,按照格式编辑内容
"Print to console log": {
"prefix": "csl",
"body": [
"console.log(‘$1‘)"
],
"description": "log output to console"
},
时间: 2025-01-05 16:12:22
vscode中设置自定义代码块
打开首选项,选择用户代码片段,打开后选择编程语言
选中后打开文件,按照格式编辑内容
"Print to console log": {
"prefix": "csl",
"body": [
"console.log(‘$1‘)"
],
"description": "log output to console"
},