vscode 增加 snippet
需求 vscode vue 中增加 code snippet,方便使用。 解决 插件 在 vscode 中,插件里面搜索 vue 3 snippets, 然后安装即可。 添加 snippet 点击左下设置按钮,选择 user snippets 输入文件名, 比如 vue.json.code-snippets 输入 snippet, 比如: { // Place your vue_electron_qianfeng workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and // description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope // is left empty or omitted, the snippet gets applied to all languages....