例如:
{
"vue1": {
"scope": "javascript,typescript",
"prefix": "v1",
"body": [
"new Vue({",
" el:'#',",
" data:{",
" ",
" }",
"})",
],
"description": "Log output to console"
}
}
注意:
1.如果没有scope的话,试着就不能再script用相应的代码块。
2.建议不要用Prettier,这样它会把你的缩进去掉,很麻烦。
3.prefix为你的代码块提示词。