Skip to content

Commit a3b4db8

Browse files
committed
add label
1 parent 2b3b6d3 commit a3b4db8

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "osw-snippets",
33
"displayName": "OpenSemanticWorld Snippets",
44
"description": "Provides snippets for OpenSemanticWorld",
5-
"version": "0.0.2",
5+
"version": "0.0.3",
66
"publisher": "osw",
77
"repository": {
88
"type": "git",

snippets/json.json

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,21 @@
11
{
22
"createObject": {
3-
"prefix": "obj",
4-
"body": [
5-
"{",
6-
"\t$0",
7-
"}"
8-
],
9-
"description": "Create a JSON object."
3+
"prefix": "obj",
4+
"body": [
5+
"{",
6+
"\t$0",
7+
"}"
8+
],
9+
"description": "Create a JSON object."
10+
},
11+
"label": {
12+
"prefix": "label",
13+
"body": [
14+
"\"label\": [",
15+
" {\"text\": \"$1\", \"lang\": \"en\"},",
16+
" {\"text\": \"$2\", \"lang\": \"de\"}",
17+
"],"
18+
],
19+
"description": "Dual language label as used in OpenSemanticLab"
1020
}
1121
}

0 commit comments

Comments
 (0)