0

我得到了这个片段并试图在选项中创建下一站。所以首先我选择类型,假设我选择v-if="NEXT-SHOULD-BE-HERE". 我怎样才能做到这一点?

"Select template": {
    "prefix": ["templatetype"],
    "body": [
        "<template ${1|#:,v-if=\"\",v-for=\"\"|}>",
        "  ${2}",
        "</template>"
    ],
    "description": "Create a template and select type"
}
4

1 回答 1

0

我认为不可能在选择项中放置一个制表位。语法显示仅在texta 中可用choice

choice ::= '${' int '|' text (',' text)* '|}'

此外,此问题似乎与您的要求有关,并且已关闭:

https://github.com/Microsoft/vscode/issues/35779

于 2020-03-04T15:48:36.273 回答