Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>can-stache-snippetsNew to Visual Studio Code? Get it now.
can-stache-snippets

can-stache-snippets

Jeroen Cornelissen

|
222 installs
| (1) | Free
snippets for can-stache helpers
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

can-stache-snippets

Snippets for can-stache files (Language mode = handlebars).

Below is a list of all available snippets and the triggers of each one. The → means the TAB key.

Trigger Content
if→ {{#if(expression)}}
else→ {{else}}
ife→ {{#if(expression)}}FN{{else}}INVERSE{{/if}}
un→ {{#unless(expression)}}
une→ {{#unless(expression)}}FN{{else}}INVERSE{{/unless}}
each→ {{#each(expression)}}
with→ {{#with(expression)}}
cl→ {{console.log([expression])}}
ct→ console.time / console.timeEnd
cta→ console.table
debug→ {{debugger()}}
is→ {{#is(expressions)}}
ise→ {{#is([expression...])}}FN{{else}}INVERSE{{/is}}
switch→ {{#switch(expression)}}
case→ {{#case(expression)}}
def→ {{#default()}}
jb→ {{joinBase(expressions)}}
domd→ {{domData(expression)}}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft