Skip to content

Instantly share code, notes, and snippets.

@bolshchikov
Last active December 17, 2015 18:49
Show Gist options
  • Save bolshchikov/5655555 to your computer and use it in GitHub Desktop.
Save bolshchikov/5655555 to your computer and use it in GitHub Desktop.
Live templates for JetBrains WebStrorm. The name of a gist is the registered abbreviation.
case '$STATEMENT$':
$END$
break;
function () {
$END$
}
console.log($STATEMENT$);
define([$STATEMENT$], function ($STATEMENT$) {
'use strict'
$END$
});
describe('$STATEMENT$', function () {
$END$
});
throw new Error('$END$');
expect($STATEMENT$).$END$
function $NAME$ () {
$END$
}
it('$STATEMENT$', function () {
$END$
});
for (var $KEY$ in $OBJECT$) {
if ($OBJECT$.hasOwnProperty($KEY$)) {
$END$
}
}
switch ($STATEMENT$) {
case $PARAM1$:
break;
case $PARAM2$:
break;
}
// TODO $STATEMENT$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment