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} {
324
324
}
325
325
```
326
326
327
- #### ` :⇥ ` key/value pair
328
- Javascript:
329
- ``` js
330
- ${1 : key}: ${2 : ' value' }
331
- ```
332
- JSON:
333
- ``` json
334
- "${1:key}" : ${2:"value"}
335
- ```
336
327
337
328
#### ` m⇥ ` method (ES6 syntax)
338
329
``` js
@@ -384,7 +375,7 @@ Object.assign(${1:dest}, ${2:source})
384
375
385
376
### Returning values
386
377
387
- #### ` re ⇥` return
378
+ #### ` r ⇥` return
388
379
``` js
389
380
return ${0 }
390
381
```
@@ -666,7 +657,7 @@ function (err, ${1:value}) {
666
657
}
667
658
```
668
659
669
- #### ` r ⇥` require a module
660
+ #### ` rq ⇥` require a module
670
661
``` js
671
662
require (' ${1:module}' )
672
663
```
Original file line number Diff line number Diff line change 3
3
"displayName" : " JavaScript standardjs styled snippets" ,
4
4
"publisher" : " capaj" ,
5
5
"icon" : " images/javascript.png" ,
6
- "version" : " 0.4.0 " ,
6
+ "version" : " 0.4.1 " ,
7
7
"description" : " standardjs styled javascript snippets for visual studio code" ,
8
8
"repository" : {
9
9
"type" : " git" ,
Original file line number Diff line number Diff line change 84
84
"body" : " afterEach(function () {\n\t ${0}\n })"
85
85
},
86
86
"require" : {
87
- "prefix" : " r " ,
87
+ "prefix" : " rq " ,
88
88
"body" : " require('${1:module}')"
89
89
},
90
90
"const module = require('module')" : {
446
446
"prefix" : " jp" ,
447
447
"body" : " JSON.parse($0)"
448
448
},
449
- "key/value pair" : {
450
- "prefix" : " :" ,
451
- "body" : " ${1:key}: ${2:'value'}"
452
- },
453
449
"method" : {
454
450
"prefix" : " m" ,
455
451
"body" : " ${1:method} (${2:arguments}) {\n\t ${0}\n }"
483
479
"body" : " Object.keys(${1:obj})"
484
480
},
485
481
"return" : {
486
- "prefix" : " re " ,
482
+ "prefix" : " r " ,
487
483
"body" : " return ${0}"
488
484
},
489
485
"yield" : {
You can’t perform that action at this time.
0 commit comments