Skip to content

Commit a2f0736

Browse files
author
Jerry Lopez
committed
Fix tabstops not showing pre-filled values
1 parent 2e80f98 commit a2f0736

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

snippets/layout/arguement.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"Arguement": {
1313
"prefix": "m2.layout.arg",
1414
"body": [
15-
"<argument name=\"${1:name}\" xsi:type=\"${2:type|string,boolean,object,number,null,array|}\">$3</argument>$0"
15+
"<argument name=\"${1:name}\" xsi:type=\"${2|array,boolean,number,null,object,string|}\">$3</argument>$0"
1616
],
1717
"description": "Includes a certain layout file"
1818
}

snippets/layout/attribute.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
"Translate": {
33
"prefix": "m2.layout.attr.translate",
44
"body": [
5-
"translate=\"${2:boolean|true,false|}\""
5+
"translate=\"${2|false,true|}\""
66
],
77
"description": "Translate attribute"
88
},
99

1010
"xsi:type": {
1111
"prefix": "m2.layout.attr.xsi:type",
1212
"body": [
13-
"xsi:type=\"${2:type|string,boolean,object,number,null,array|}\""
13+
"xsi:type=\"${2|array,boolean,number,null,object,string|}\""
1414
],
1515
"description": "xsi:type attribute"
1616
},
@@ -66,7 +66,7 @@
6666
"Output": {
6767
"prefix": "m2.layout.attr.output",
6868
"body": [
69-
"output=\"${1:|1,0|}\"$0"
69+
"output=\"${1|0,1|}\"$0"
7070
],
7171
"description": "Output attribute"
7272
},
@@ -130,23 +130,23 @@
130130
"Cacheable": {
131131
"prefix": "m2.layout.attr.cacheable",
132132
"body": [
133-
"cacheable=\"${boolean:|true,false|}\"$0"
133+
"cacheable=\"${1|false,true|}\"$0"
134134
],
135135
"description": "Cacheable attribute"
136136
},
137137

138138
"Display": {
139139
"prefix": "m2.layout.attr.display",
140140
"body": [
141-
"display=\"${boolean:|true,false|}\"$0"
141+
"display=\"${1|false,true|}\"$0"
142142
],
143143
"description": "Display attribute"
144144
},
145145

146146
"Remove": {
147147
"prefix": "m2.layout.attr.remove",
148148
"body": [
149-
"remove=\"${boolean:|true,false|}\"$0"
149+
"remove=\"${1|false,true|}\"$0"
150150
],
151151
"description": "Remove attribute"
152152
}

snippets/layout/container.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
"Container": {
33
"prefix": "m2.layout.container",
44
"body": [
5-
"<container name=\"$1\" label=\"$2\" output=\"${3:0}\" htmlTag=\"$4\" htmlId=\"$5\" htmlClass=\"$6\" />$0"
5+
"<container name=\"$1\" label=\"$2\" output=\"${3|0,1|}\" htmlTag=\"$4\" htmlId=\"$5\" htmlClass=\"$6\" />$0"
66
],
77
"description": "A structure without content that holds other layout elements such as blocks and containers"
88
},
99

1010
"Container Wrap": {
1111
"prefix": "m2.layout.containerWrap",
1212
"body": [
13-
"<container name=\"$1\" label=\"$2\" output=\"${3:0}\" htmlTag=\"$4\" htmlId=\"$5\" htmlClass=\"$6\">",
13+
"<container name=\"$1\" label=\"$2\" output=\"${3|0,1|}\" htmlTag=\"$4\" htmlId=\"$5\" htmlClass=\"$6\">",
1414
"\t$0",
1515
"</container>"
1616
],

0 commit comments

Comments
 (0)