|
1 |
| -{ "#each": { |
2 |
| - "prefix": ["each", "{#"], |
| 1 | +{ |
| 2 | + "#each": { |
| 3 | + "prefix": [ |
| 4 | + "each", |
| 5 | + "{#" |
| 6 | + ], |
3 | 7 | "body": [
|
4 | 8 | "{#each ${1:items}}",
|
5 | 9 | "\t{it.${2:name}}$0",
|
6 | 10 | "{/each}"
|
7 | 11 | ],
|
8 |
| - "description": "Loop section with implicit alias" |
| 12 | + "description": "Loop section with implicit alias", |
| 13 | + "url": "https://quarkus.io/guides/qute-reference#loop_section" |
9 | 14 | },
|
10 | 15 | "#eval": {
|
11 | 16 | "prefix": "eval",
|
12 | 17 | "body": [
|
13 | 18 | "{#eval ${1:content} /}$0"
|
14 | 19 | ],
|
15 |
| - "description": "Parse and evaluate a template dynamically" |
| 20 | + "description": "Parse and evaluate a template dynamically", |
| 21 | + "url": "https://quarkus.io/guides/qute-reference#eval-section" |
| 22 | + }, |
| 23 | + "#fragment": { |
| 24 | + "prefix": "fragment", |
| 25 | + "body": [ |
| 26 | + "{#fragment id=\"${1:item}\"}", |
| 27 | + "\t$0", |
| 28 | + "{/fragment}" |
| 29 | + ], |
| 30 | + "description": "A fragment represents a part of the template that can be treated as a separate template, i.e. rendered separately.", |
| 31 | + "url": [ |
| 32 | + "https://quarkus.io/guides/qute-reference#fragments", |
| 33 | + "https://quarkus.io/guides/qute-reference#type_safe_fragments" |
| 34 | + ] |
16 | 35 | },
|
17 | 36 | "#for": {
|
18 | 37 | "prefix": "for",
|
|
21 | 40 | "\t{${1:item}.${3:name}}$0",
|
22 | 41 | "{/for}"
|
23 | 42 | ],
|
24 |
| - "description": "Loop section with alias" |
| 43 | + "description": "Loop section with alias", |
| 44 | + "url": "https://quarkus.io/guides/qute-reference#loop_section" |
25 | 45 | },
|
26 | 46 | "#if": {
|
27 | 47 | "prefix": "if",
|
|
30 | 50 | "\t$0",
|
31 | 51 | "{/if}"
|
32 | 52 | ],
|
33 |
| - "description": "If section" |
| 53 | + "description": "If section", |
| 54 | + "url": "https://quarkus.io/guides/qute-reference#if_section" |
34 | 55 | },
|
35 | 56 | "#else": {
|
36 | 57 | "prefix": "if-else",
|
|
41 | 62 | "\t$0",
|
42 | 63 | "{/if}"
|
43 | 64 | ],
|
44 |
| - "description": "Else section" |
| 65 | + "description": "Else section", |
| 66 | + "url": "https://quarkus.io/guides/qute-reference#if_section" |
45 | 67 | },
|
46 | 68 | "#elseif": {
|
47 | 69 | "prefix": "if-elseif",
|
|
54 | 76 | "\t$0",
|
55 | 77 | "{/if}"
|
56 | 78 | ],
|
57 |
| - "description": "Else If section" |
| 79 | + "description": "Else If section", |
| 80 | + "url": "https://quarkus.io/guides/qute-reference#if_section" |
58 | 81 | },
|
59 | 82 | "#include": {
|
60 | 83 | "prefix": "include",
|
|
63 | 86 | "\t$0",
|
64 | 87 | "{/include}"
|
65 | 88 | ],
|
66 |
| - "description": "Include section" |
| 89 | + "description": "Include section", |
| 90 | + "url": "https://quarkus.io/guides/qute-reference#include_helper" |
67 | 91 | },
|
68 | 92 | "#insert": {
|
69 | 93 | "prefix": "insert",
|
|
72 | 96 | "\t$0",
|
73 | 97 | "{/insert}"
|
74 | 98 | ],
|
75 |
| - "description": "Insert section" |
| 99 | + "description": "Insert section", |
| 100 | + "url": "https://quarkus.io/guides/qute-reference#include_helper" |
76 | 101 | },
|
77 | 102 | "#let": {
|
78 | 103 | "prefix": "let",
|
|
81 | 106 | "\t$0",
|
82 | 107 | "{/let}"
|
83 | 108 | ],
|
84 |
| - "description": "Let section" |
| 109 | + "description": "Let section", |
| 110 | + "url": "https://quarkus.io/guides/qute-reference#let_section" |
85 | 111 | },
|
86 | 112 | "#parameter": {
|
87 | 113 | "prefix": "parameter",
|
88 | 114 | "body": [
|
89 | 115 | "{@${1:class} ${2:alias}}$0"
|
90 | 116 | ],
|
91 |
| - "description": "Insert parameter declaration" |
| 117 | + "description": "Insert parameter declaration", |
| 118 | + "url": "https://quarkus.io/guides/qute-reference#typesafe_expressions" |
92 | 119 | },
|
93 | 120 | "#set": {
|
94 | 121 | "prefix": "set",
|
|
97 | 124 | "\t$0",
|
98 | 125 | "{/set}"
|
99 | 126 | ],
|
100 |
| - "description": "Let section" |
| 127 | + "description": "Let section", |
| 128 | + "url": "https://quarkus.io/guides/qute-reference#let_section" |
101 | 129 | },
|
102 | 130 | "#switch": {
|
103 | 131 | "prefix": "switch",
|
|
106 | 134 | "\t{#case ${2:case}}$0",
|
107 | 135 | "{/switch}"
|
108 | 136 | ],
|
109 |
| - "description": "Switch section" |
| 137 | + "description": "Switch section", |
| 138 | + "url": "https://quarkus.io/guides/qute-reference#when_section" |
110 | 139 | },
|
111 | 140 | "#with": {
|
112 | 141 | "prefix": "with",
|
|
115 | 144 | "\t{${2:name}}$0",
|
116 | 145 | "{/with}"
|
117 | 146 | ],
|
118 |
| - "description": "With section" |
| 147 | + "description": "With section", |
| 148 | + "url": "https://quarkus.io/guides/qute-reference#with_section" |
119 | 149 | },
|
120 | 150 | "#when": {
|
121 | 151 | "prefix": "when",
|
|
124 | 154 | "\t{#is ${2:case}}$0",
|
125 | 155 | "{/when}"
|
126 | 156 | ],
|
127 |
| - "description": "When section" |
| 157 | + "description": "When section", |
| 158 | + "url": "https://quarkus.io/guides/qute-reference#when_section" |
128 | 159 | }
|
129 | 160 | }
|
0 commit comments