directory structure
This commit is contained in:
parent
0ce2bda366
commit
615f897310
47 changed files with 8100 additions and 0 deletions
33
UltiSnips/javascript.snippets
Normal file
33
UltiSnips/javascript.snippets
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
snippet todo "// TODO"
|
||||
// TODO $0
|
||||
endsnippet
|
||||
|
||||
snippet cl "console.log( ... )"
|
||||
console.log($0);
|
||||
endsnippet
|
||||
|
||||
snippet if "if ( ... ) { ... }"
|
||||
if ($1) {
|
||||
$0
|
||||
}
|
||||
endsnippet
|
||||
|
||||
snippet ifelse "if ( ... ) { ... } else { ... }"
|
||||
if ($1) {
|
||||
$2
|
||||
} else {
|
||||
$0
|
||||
}
|
||||
endsnippet
|
||||
|
||||
snippet for "for ( ... ) { ... }"
|
||||
for (let ${1:index} = ${2:0}; $1 $3; $1${4:++}) {
|
||||
$0
|
||||
}
|
||||
endsnippet
|
||||
|
||||
snippet st "setTimeout( ... )"
|
||||
setTimeout(() => {
|
||||
$1
|
||||
}, ${2:1000})
|
||||
endsnippet
|
||||
Loading…
Add table
Add a link
Reference in a new issue