Closed Terence-Cheng closed 6 years ago
I got a solution:
.vscode\extensions\imperez.smarty-0.2.0\snippets\snippets.json
under your install path ( under windows %USERPROFILE%\.vscode
)if
(refer:https://github.com/imperez/vscode-smarty/blob/master/snippets/snippets.json#L74) to:
"if": {
"prefix": "if",
"body": "\n{/if $1/}\n\t$0\n{//if/}\n",
"description": "",
"scope": "text.html.smarty,source.smarty"
},
duplicate of #6 Patch will take place soon.
My project's boundary character is '{/',but when I write the 'if', it becomes the '/{if} /{/if}'. I want the '{/if/} {//if/}'