https://github.com/jens1o/vscode-smarty
Smarty syntax highlight extension for Visual Studio Code
https://github.com/jens1o/vscode-smarty
php smarty snippets syntax-highlighting template-engine vscode vscode-extension
Last synced: 24 days ago
JSON representation
Smarty syntax highlight extension for Visual Studio Code
- Host: GitHub
- URL: https://github.com/jens1o/vscode-smarty
- Owner: jens1o
- License: gpl-3.0
- Created: 2016-02-01T16:24:13.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-09-29T06:55:46.000Z (over 5 years ago)
- Last Synced: 2025-03-25T08:51:19.181Z (about 1 month ago)
- Topics: php, smarty, snippets, syntax-highlighting, template-engine, vscode, vscode-extension
- Homepage: https://marketplace.visualstudio.com/items?itemName=imperez.smarty
- Size: 66.4 KB
- Stars: 14
- Watchers: 4
- Forks: 9
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Smarty syntax highlighting
This extensions adds support for syntax highlighting and snippets for the Smarty 3 templating language.
If you see a bug or have a feature request of what could be added feel free to let me know or create an issue.
## Snippets available:
- assign
- block
- break
- capture
- case
- comment
- debug
- else
- elseif
- extends
- foreach
- if
- ifelse
- include
- literal## HTML Intellisense and Suggestions
This is planned as an 'out of the box' feature, but it may take some time to achieve.As a workaround use these settings in VS Code:
```
"emmet.syntaxProfiles": {
"tpl": "html"
},
"emmet.triggerExpansionOnTab": true,
```