File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -537,7 +537,7 @@ setTimeout(() => {
537537}, ${1 : delay})
538538```
539539
540- #### ` sim⇥ ` setInterval
540+ #### ` sim⇥ ` setImmediate
541541``` js
542542setImmediate (() => {
543543 ${0 }
Original file line number Diff line number Diff line change 33 "displayName" : " JavaScript standardjs styled snippets" ,
44 "publisher" : " capaj" ,
55 "icon" : " images/javascript.png" ,
6- "version" : " 0.1.1 " ,
6+ "version" : " 0.2.0 " ,
77 "description" : " standardjs styled javascript snippets for visual studio code" ,
88 "repository" : {
99 "type" : " git" ,
Original file line number Diff line number Diff line change 257257 },
258258 "const statement from destructuring" : {
259259 "prefix" : " cd" ,
260- "body" : " const {${1:name}} = {2:value}"
260+ "body" : [
261+ " const {${1:name}} = ${2:value}" ,
262+ " $0"
263+ ]
261264 },
262265 "const assignment" : {
263266 "prefix" : " ca" ,
276279 "body" : " const ${1:name} = {\n\t ${0}\n }"
277280 },
278281 "const array" : {
279- "prefix" : " ca " ,
282+ "prefix" : " car " ,
280283 "body" : " const ${1:name} = [\n\t ${0}\n ]"
281284 },
282285 "class" : {
355358 "prefix" : " wl" ,
356359 "body" : " while (${1:condition}) {\n\t ${0}\n }"
357360 },
361+ "throw new Error" : {
362+ "prefix" : " tn" ,
363+ "body" : " throw new ${0:error}"
364+ }
358365 "try/catch" : {
359366 "prefix" : " tc" ,
360367 "body" : " try {\n\t ${0}\n } catch (${1:err}) {\n\t\n }"
You can’t perform that action at this time.
0 commit comments