visual-studio-code - 在片段“字符串”中创建一个停止
问题描述
我得到了这个片段并试图在选项中创建下一站。所以首先我选择类型,假设我选择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"
}
解决方案
我认为不可能在选择项中放置一个制表位。语法显示仅在text
a 中可用choice
:
choice ::= '${' int '|' text (',' text)* '|}'
此外,此问题似乎与您的要求有关,并且已关闭:
推荐阅读
- c++ - 对话框表单快速闪烁,但之后无法正确绘制
- angularjs - 如何在AngularJS中返回对调用函数的响应?
- tensorflow - 如何在 Tensor Flow 的再训练示例中打印预测概率?
- python - 在 4GB 文件上运行 python 脚本时出现内存错误
- cassandra - 请求超时未登录服务器端 Cassandra
- typescript - 如何在编译时修补类型?
- sql - 如何在postgresql中计算字符串聚合中的字符串数
- python - PySpark:执行联合中的列 dtype 更改
- php - woocommerce 闪购 - 警告除以零
- android - 如何使用 ByteBuffer(无颜色校正)获取 RGB 位图?