Smarty Template for Visual Studio Code
This extension is modified from smarty-vscode-support to provide Smarty Template and Smarty Fis support for Visual Studio Code.
Except for the basic features of smarty-vscode-support , it can:
Supports {%...%} delimiters. Available for both VSCode desktop and web.
Supports js or css highlight in {%script%} or {%style%} .
Supports path jump, ex: {%widget name="banana:widget/nav/nav.tpl"%} .
Support <widget-app />
如何打包成vsix?
npm install -g @vscode/vsce
vsce package
vsce publish
For Emmet Abbreviations:
Paste the following into your settings.json
"emmet.includeLanguages": {
"smarty": "html"
}
| |