From cd9d9d323f0bf0d28ba6d9ac38e76c5216b965d9 Mon Sep 17 00:00:00 2001 From: Burt <1020103647@qq.com> Date: Mon, 22 Jan 2024 09:43:34 +0800 Subject: [PATCH] =?UTF-8?q?feat(vscode):=20=E5=A2=9E=E5=8A=A0=20`v3`=20?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/vue3.code-snippets | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .vscode/vue3.code-snippets diff --git a/.vscode/vue3.code-snippets b/.vscode/vue3.code-snippets new file mode 100644 index 0000000..fc6e719 --- /dev/null +++ b/.vscode/vue3.code-snippets @@ -0,0 +1,30 @@ +{ + // Place your unifly 工作区 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. The prefix is what is + // used to trigger the snippet and the body will be expanded and inserted. Possible variables are: + // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. + // Placeholders with the same ids are connected. + // Example: + // "Print to console": { + // "scope": "javascript,typescript", + // "prefix": "log", + // "body": [ + // "console.log('$1');", + // "$2" + // ], + // "description": "Log output to console" + // } + + "Print Vue3 Uniapp SFC": { + "scope": "vue", + "prefix": "v3", + "body": [ + "", + "", + "\n" + ] + } +}