【发布时间】:2019-01-22 04:26:57
【问题描述】:
"snippet with class binding":{
"prefix": "row.${variable}",
"body":[
"<table class=\"row ${same_variable_here}\">",
"\t<tr>",
"\t\t<td>",
"\t\t\t$0",
"\t\t</td>",
"\t</tr>",
"</table>"
]
}
是否可以(以及如何)创建像 some_entity.classname 这样的变量 扩展成这样的东西(例如在 html 中):
<div class="classname"></div>
【问题讨论】:
标签: visual-studio-code code-snippets template-variables