Skip to content

Commit 71b1f06

Browse files
authored
Merge pull request #14 from deinsoftware/dev
Dev
2 parents b2def41 + bebf882 commit 71b1f06

File tree

8 files changed

+101
-64
lines changed

8 files changed

+101
-64
lines changed

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"rpcn",
1919
"rpoch",
2020
"rpocl",
21+
"SWPM",
2122
"volta",
2223
"vuejs"
2324
],

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@ Fixed for any bug fixes.
99
Security to invite users to upgrade in case of vulnerabilities.
1010
-->
1111

12+
## 1.8.0 - 2023/03/28
13+
14+
## Added
15+
16+
- constant with template literals
17+
- tab indicators on README
18+
- recommended keyboard shortcuts
19+
20+
## Fixed
21+
22+
- object elements and JSON elements names of variables
23+
1224
## 1.7.0 - 2023/02/27
1325

1426
### Added

README.md

Lines changed: 73 additions & 59 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "const-props-snippets",
33
"description": "VS Code Const & Props snippets for JS and TS",
4-
"version": "1.7.0",
4+
"version": "1.8.0",
55
"displayName": "Const & Props Snippets",
66
"publisher": "deinsoftware",
77
"icon": "images/light-icon.png",

snippets/elements.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
},
2222
"objectElementObject": {
2323
"prefix": "oeo",
24-
"body": "${1:key}: { $2 },$0",
24+
"body": "${1:key}: { ${2:element} },$0",
2525
"description": "Object Element Object"
2626
},
2727
"objectElementObjectMultiline": {
2828
"prefix": "oeom",
29-
"body": ["${1:key}: {", "\t$2, $3", "},$0"],
29+
"body": ["${1:key}: {", "\t${2:element}, $3", "},$0"],
3030
"description": "Object Element Object"
3131
},
3232
"objectElementArray": {

snippets/json.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
},
2222
"jsonElementObject": {
2323
"prefix": "jeo",
24-
"body": "\"${1:key}\": { $2 },$0",
24+
"body": "\"${1:key}\": { ${2:element} },$0",
2525
"description": "JSON Element Object"
2626
},
2727
"jsonElementObjectMultiline": {
2828
"prefix": "jeom",
29-
"body": ["\"${1:key}\": {", "\t$2 , $3", "},$0"],
29+
"body": ["\"${1:key}\": {", "\t${2:element} , $3", "},$0"],
3030
"description": "Object Element Object"
3131
},
3232
"jsonElementArray": {

snippets/var-js.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
"body": "const ${1:name} = '$2'$0",
1010
"description": "Constant String"
1111
},
12+
"constantTemplateLiterals": {
13+
"prefix": "ctl",
14+
"body": "const ${1:name} = `$2\\${$3:expression\\}$4`$0",
15+
"description": "Constant Template Literals"
16+
},
1217
"constantNumber": {
1318
"prefix": "cn",
1419
"body": "const ${1:name} = ${0:0}",

snippets/var-ts.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
1919
"body": "const ${1:name}: string = '$2'$0",
2020
"description": "Constant String"
2121
},
22+
"constantTemplateLiterals": {
23+
"prefix": "ctl",
24+
"body": "const ${1:name}: string = `$2\\${$3:expression\\}$4`$0",
25+
"description": "Constant Template Literals"
26+
},
2227
"constantNumber": {
2328
"prefix": "cn",
2429
"body": "const ${1:name}: number = ${0:0}",

0 commit comments

Comments
 (0)