Skip to content

jeroencornelissen/can-stache-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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)}}

About

vscode snippets with can-stache helpers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published