Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>spacebarsNew to Visual Studio Code? Get it now.
spacebars

spacebars

Tamino Martinius

|
873 installs
| (1) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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

{{#if condition}}

{{/if}}

if - else: ife

{{#if condition}}

{{else}}

{{/if}}

unless: un

{{#unless condition}}

{{/unless}}

unless - else: une

{{#unless condition}}

{{else}}

{{/unless}}

with: wt

{{#with item}}

{{/with}}

with - else: wte

{{#with item}}

{{else}}

{{/with}}

each: ea

{{#each items}}

{{/each}}

each - else: eae

{{#each items}}

{{else}}

{{/each}}

let: let

{{#let variables}}

{{/let}}

partial: pa

{{> template }}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft