File tree Expand file tree Collapse file tree 3 files changed +5
-18
lines changed Expand file tree Collapse file tree 3 files changed +5
-18
lines changed Original file line number Diff line number Diff line change @@ -324,15 +324,6 @@ class ${1:name} extends ${2:base} {
324324}
325325```
326326
327- #### ` :⇥ ` key/value pair
328- Javascript:
329- ``` js
330- ${1 : key}: ${2 : ' value' }
331- ```
332- JSON:
333- ``` json
334- "${1:key}" : ${2:"value"}
335- ```
336327
337328#### ` m⇥ ` method (ES6 syntax)
338329``` js
@@ -384,7 +375,7 @@ Object.assign(${1:dest}, ${2:source})
384375
385376### Returning values
386377
387- #### ` re ⇥` return
378+ #### ` r ⇥` return
388379``` js
389380return ${0 }
390381```
@@ -666,7 +657,7 @@ function (err, ${1:value}) {
666657}
667658```
668659
669- #### ` r ⇥` require a module
660+ #### ` rq ⇥` require a module
670661``` js
671662require (' ${1:module}' )
672663```
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.4.0 " ,
6+ "version" : " 0.4.1 " ,
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 8484 "body" : " afterEach(function () {\n\t ${0}\n })"
8585 },
8686 "require" : {
87- "prefix" : " r " ,
87+ "prefix" : " rq " ,
8888 "body" : " require('${1:module}')"
8989 },
9090 "const module = require('module')" : {
446446 "prefix" : " jp" ,
447447 "body" : " JSON.parse($0)"
448448 },
449- "key/value pair" : {
450- "prefix" : " :" ,
451- "body" : " ${1:key}: ${2:'value'}"
452- },
453449 "method" : {
454450 "prefix" : " m" ,
455451 "body" : " ${1:method} (${2:arguments}) {\n\t ${0}\n }"
483479 "body" : " Object.keys(${1:obj})"
484480 },
485481 "return" : {
486- "prefix" : " re " ,
482+ "prefix" : " r " ,
487483 "body" : " return ${0}"
488484 },
489485 "yield" : {
You can’t perform that action at this time.
0 commit comments