这里以c语言为例子
选择对应的.json文件,打开后配置模版
"Print to console": {
"prefix": "log",
"body": [
"#include <stdio.h> ",
"#include <string.h> ",
" ",
"int main()",
"{",
"return 0;",
" ",
"}",
],
"description": "Log output to console"
}

最重要的一步就是:并非自动导入模版,建一个新的文件后,输入log按下tab键才会导入