File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,10 @@ let ${1:name} = yield ${2:value}
68
68
``` js
69
69
const $ {1:name }
70
70
```
71
+ #### ` cd⇥ ` const from destructuring
72
+ ``` js
73
+ const {$ {1:name }} = ${2 : value}
74
+ ```
71
75
72
76
#### ` ca⇥ ` const assignment
73
77
``` js
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.1.0 " ,
6
+ "version" : " 0.1.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 255
255
"prefix" : " c" ,
256
256
"body" : " const ${1:name}"
257
257
},
258
+ "const statement from destructuring" : {
259
+ "prefix" : " cd" ,
260
+ "body" : " const {${1:name}} = {2:value}"
261
+ },
258
262
"const assignment" : {
259
263
"prefix" : " ca" ,
260
264
"body" : " const ${1:name} = ${2:value}"
You can’t perform that action at this time.
0 commit comments