https://github.com/tamino-martinius/vscode-language-spacebars
https://github.com/tamino-martinius/vscode-language-spacebars
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tamino-martinius/vscode-language-spacebars
- Owner: tamino-martinius
- Created: 2018-06-24T06:49:02.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-06-08T19:41:37.000Z (almost 5 years ago)
- Last Synced: 2025-01-06T03:21:28.236Z (4 months ago)
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# language-spacebars package
Adds syntax highlighting and snippets to Spacebars files in VS Code.
Can also be used for Handlebars.## Feedback
Feel free to submit issues or pull requests with suggestions for more.
### Generic Snippets
#### if: `if`
```hbs
{{#if condition}}{{/if}}
```#### if - else: `ife`
```hbs
{{#if condition}}{{else}}
{{/if}}
```#### unless: `un`
```hbs
{{#unless condition}}{{/unless}}
```#### unless - else: `une`
```hbs
{{#unless condition}}{{else}}
{{/unless}}
```#### with: `wt`
```hbs
{{#with item}}{{/with}}
```#### with - else: `wte`
```hbs
{{#with item}}{{else}}
{{/with}}
```#### each: `ea`
```hbs
{{#each items}}{{/each}}
```#### each - else: `eae`
```hbs
{{#each items}}{{else}}
{{/each}}
```#### let: `let`
```hbs
{{#let variables}}{{/let}}
```#### partial: `pa`
```hbs
{{> template }}
```