-
Notifications
You must be signed in to change notification settings - Fork 10
/
angular-eclipse-html-templates.xml
207 lines (207 loc) · 11.7 KB
/
angular-eclipse-html-templates.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<templates>
<template autoinsert="true" context="html_all" deleted="false"
description="angular date formatter" enabled="true" name="date">{{
${expressionToFormat} | date[:${dateFormat}] }}</template>
<template autoinsert="true" context="html_all" deleted="false"
description="angular filter" enabled="true" name="filter">{{
${expressionToFilter} | filter:expression }}</template>
<template autoinsert="true" context="html_all" deleted="false"
description="angular - json formatter" enabled="true" name="json">{{
${expressionToFormat} | json }}</template>
<template autoinsert="true" context="html_all" deleted="false"
description="angular filter - limit array to certain elements"
enabled="true" name="limitTo">{{ ${arrayToLimit} | limitTo:${limit} }}
</template>
<template autoinsert="true" context="html_all" deleted="false"
description="angular - expression to lowercase" enabled="true" name="lowercase">{{
${expressionToLowercase} | lowercase }}</template>
<template autoinsert="true" context="html_all" deleted="false"
description="angular - format a number as text" enabled="true" name="number">{{
${numberExpressionToFormat} | number[:${fractionSize}] }}</template>
<template autoinsert="true" context="html_all" deleted="false"
description="angular order-by filter array" enabled="true" name="orderBy">|
orderBy:${predicateVariable}:${reverseVariable}</template>
<template autoinsert="true" context="html_all" deleted="false"
description="angular uppercase" enabled="true" name="uppercase">{{
${expressionToUppercase} | uppercase }}</template>
<template autoinsert="true" context="html_tag" deleted="false"
description="comment" enabled="true"
id="org.eclipse.wst.html.ui.templates.comment" name="comment"><!-- ${cursor}
--></template>
<template autoinsert="true" context="html_all" deleted="false"
description="angular currency formatting" enabled="true" name="currency">{{
${expressionToFormat} | currency[:${currencySymbol}] }}</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular app" enabled="true" name="ng-app">ng-app="${moduleName}"
</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="The ngBind attribute tells Angular to replace the text content of the specified HTML element with the value of a given expression, and to update the text content when the value of that expression changes."
enabled="true" name="ng-bind">ng-bind="${expression}"</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="Creates a binding that will innerHTML the result of evaluating the expression into the current element. The innerHTML-ed content will not be sanitized! You should use this directive only if ngBindHtml directive is too restrictive and when you absolutely trust the source of the content you are binding to."
enabled="true" name="ng-bind-html-unsafe">ng-bind-html-unsafe="${expression}"</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular ng-change" enabled="true" name="ng-change">ng-change="${expression}"
</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular checked" enabled="true" name="ng-checked">ng-checked="${expression}"
</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular class" enabled="true" name="ng-class">ng-class="${expression}"
</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular - set the class on even rows" enabled="true"
name="ng-class-even">ng-class-even="${expression}"</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular class odd" enabled="true" name="ng-class-odd">ng-class-odd="${expression}"
</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular-click" enabled="true" name="ng-click">ng-click="${expression}"
</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular prevent template from being displayed while loading"
enabled="true" name="ng-cloak">ng-cloak</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular controller" enabled="true" name="ng-controller">ng-controller="${expression}"
</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular cross-site security policy" enabled="true" name="ng-csp">ng-csp
</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular double click" enabled="true" name="ng-dblclick">ng-dblclick="${expression}"
</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular disabled" enabled="true" name="ng-disabled">ng-disabled="${expression}"
</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular form" enabled="true" name="ng-form">ng-form
name="${expression}"</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular-hide" enabled="true" name="ng-hide">ng-hide="${expression}"
</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular href" enabled="true" name="ng-href">ng-href="${expression}"
</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular- include optional onload="" and autoscroll="""
enabled="true" name="ng-include">ng-include="${expression}"</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular init - tasks to load before execution mode"
enabled="true" name="ng-init">ng-init="${expression}"</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular - converts comma separated strings into an array"
enabled="true" name="ng-list">ng-list="${expression}"</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular - two way data binding" enabled="true" name="ng-model">ng-model="${expression}"
</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular mousedown event" enabled="true" name="ng-mousedown">ng-mousedown="${expression}"
</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="" enabled="true" name="ng-mouseenter">ng-mouseenter="${expression}"
</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular mouse leave event" enabled="true" name="ng-mouseleave">ng-mouseleave="${expression}"
</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular mouse move event" enabled="true" name="ng-mousemove">ng-mousemove="${expression}"
</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular mouse over event" enabled="true" name="ng-mouseover">ng-mouseover="${expression}"
</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular mouse up event" enabled="true" name="ng-mouseup">ng-mouseup="${expression}"
</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular multiple" enabled="true" name="ng-multiple">ng-multiple="${expression}"
</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular - non-bindable chunk of code" enabled="true"
name="ng-non-bindable">ng-non-bindable="${expression}"</template>
<template autoinsert="true" context="html_tag" deleted="false"
description="angular pluralize" enabled="true" name="ng-pluralize"><ng-pluralize
count="${expression}"
when="${string}"
[offset="${number}"]>
</ng-pluralize></template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular make tag read only" enabled="true" name="ng-readonly">ng-readonly="${expression}"
</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular repeat" enabled="true" name="ng-repeat">ng-repeat="${var} in
${vars}"</template>
<template autoinsert="true" context="html_tag" deleted="false"
description="angular script for script-cache (include, templates)"
enabled="true" name="ng-script"><script
type="text/ng-template">
</script></template>
<template autoinsert="true" context="html_tag" deleted="false"
description="angular select" enabled="true" name="ng-select"><select
name="{string}"
[required]
[ngRequired="{string}"]
[ngOptions="{comprehension_expression}"]>
</select></template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular - selected (use in option)" enabled="true" name="ng-selected">ng-selected="${expression}"
</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular show this field" enabled="true" name="ng-show">ng-show="${expression}"
</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular - source for image or other link source" enabled="true"
name="ng-src">ng-src="${expression}"</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular style" enabled="true" name="ng-style">ng-style="${expression}"
</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular submit" enabled="true" name="ng-submit">ng-submit="${expression}"
</template>
<template autoinsert="true" context="html_tag" deleted="false"
description="angular switch statement" enabled="true" name="ng-switch"><ng-switch
on="{${cursor}*}">
</ng-switch></template>
<template autoinsert="true" context="html_tag" deleted="false"
description="angular text area" enabled="true" name="ng-textarea"><textarea
ngModel="{string}"
[name="{string}"]
[required]
[ngRequired="{string}"]
[ngMinlength="{number}"]
[ngMaxlength="{number}"]
[ngPattern="{string}"]
[ngChange="{string}"]>
</textarea></template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular insert transclude dom here" enabled="true"
name="ng-transclude">ng-transclude</template>
<template autoinsert="true" context="html_attribute" deleted="false"
description="angular view" enabled="true" name="ng-view">ng-view ${cursor}
</template>
<template autoinsert="true" context="html_all" deleted="false"
description="A binding in AngularJS" enabled="true" name="ngb">{{${binding}}}${cursor}
</template>
<template autoinsert="true" context="html_all" deleted="false"
description="Simple way of bootstraping angular app for prototyping purposes"
enabled="true" name="ngindex"><html>
<head>
<script
src="https://ajax.googleapis.com/ajax/libs/angularjs/${version}/angular.js"></script>
</head>
<body ng-app>
${cursor}
</body>
</html></template>
<template autoinsert="true" context="html_all" deleted="false"
description="Script tag importing base AngularJS file from CDN"
enabled="true" name="ngsa"><script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/angularjs/${version}/angular${suffix}.js"></script>
${cursor}
</template>
<template autoinsert="true" context="html_all" deleted="false"
description="A script tag holding Angular's template" enabled="true"
name="ngst"><script type="text/ng-template" id="${id}">
${cursor}
</script></template>
</templates>