在文件首选项中选择用户片段,点击新建全局片段,添加代码如下 { "Print to console": { "prefix": "vue", "body": [ "<template>", " <div>\n", " </div>", "</tem