vscode中设置自定义代码块打开首选项,选择用户代码片段,打开后选择编程语言选中后打开文件,按照格式编辑内容
"Print to console log": { "prefix": "csl", "body": [ "console.log(‘$1‘)" ], "description": "log output to console" },
vscode自定义代码块
原文:http://www.cnblogs.com/victory820/p/7226208.html