1
+ {
2
+ /**
3
+ Predefined completions
4
+ **/
5
+
6
+ // Here you can add in your custom angular attributes.
7
+ // Just override this default property in the 'User' settings.
8
+ "extended_attribute_list" :[],
9
+
10
+ // here you can add to, adjust, or remove the default AngularJS element completions
11
+ "angular_elements" :[
12
+ [
13
+ " ng-include\t AngularJS" ,
14
+ " ng-include src=\" $1\" ${2: scope=\" $3\" }${4: onload=\" $5\" }></ng-include>"
15
+ ],
16
+ [
17
+ " ng-view\t AngularJS" ,
18
+ " ng-view></ng-view>"
19
+ ],
20
+ [
21
+ " ng-template\t AngularJS" ,
22
+ " script type=\" text/ng-template\" ${1: id=\" $2\" }>$0</script>"
23
+ ],
24
+ [
25
+ " ng-select\t AngularJS" ,
26
+ " select ngModel=\" ${1:string}\" ${2:${3: name=\" ${4:string}\" }${5: required}${6: ngRequired=\" ${7:string}\" }${8: ngOptions=\" ${9:comprehension_expression}\" }}>$10</select>$0"
27
+ ],
28
+ [
29
+ " ng-textarea\t AngularJS" ,
30
+ " textarea ngModel=\" ${1:string}\" ${2:${3: name=\" ${4:string}\" }${5: required}${6: ngRequired=\" ${7:string}\" }${8: ngMinlength=\" ${9:number}\" }${10: ngMaxlength=\" ${11:number}\" }${12: ngPattern=\" ${13:string}\" }${14: ngChange=\" ${15:string}\" }}>$16</textarea>$0"
31
+ ]
32
+ ],
33
+
34
+ // List of default filters provided by angular
35
+ "filter_list" :[
36
+ [
37
+ " filter: currency\t AngularJS" ,
38
+ " currency${1::symbol}"
39
+ ],
40
+ [
41
+ " filter: date\t AngularJS" ,
42
+ " date${1::format}"
43
+ ],
44
+ [
45
+ " filter: filter\t AngularJS" ,
46
+ " filter:${1:model}"
47
+ ],
48
+ [
49
+ " filter: json\t AngularJS" ,
50
+ " json"
51
+ ],
52
+ [
53
+ " filter: limitTo\t AngularJS" ,
54
+ " limitTo:${1:limit}"
55
+ ],
56
+ [
57
+ " filter: lowercase\t AngularJS" ,
58
+ " lowercase"
59
+ ],
60
+ [
61
+ " filter: number\t AngularJS" ,
62
+ " number${1::fraction}"
63
+ ],
64
+ [
65
+ " filter: orderBy\t AngularJS" ,
66
+ " orderBy:${1:predicate}${2::reverse}"
67
+ ],
68
+ [
69
+ " filter: uppercase\t AngularJS" ,
70
+ " uppercase"
71
+ ]
72
+ ],
73
+
74
+ // You can copy/paste this property list over to 'User' settings
75
+ // and override them if you wish.
76
+ "core_attribute_list" : [
77
+ [
78
+ " ng-app\t AngularJS" ,
79
+ " ng-app=\" ${1:string}\" $0"
80
+ ],
81
+ [
82
+ " ng-bind\t AngularJS" ,
83
+ " ng-bind=\" ${1:expression}\" $0"
84
+ ],
85
+ [
86
+ " ng-bind-html-unsafe\t AngularJS" ,
87
+ " ng-bind-html-unsafe=\" ${1:expression}\" $0"
88
+ ],
89
+ [
90
+ " ng-bind-template\t AngularJS" ,
91
+ " ng-bind-template=\" ${1:string}\" $0"
92
+ ],
93
+ [
94
+ " ng-change\t AngularJS" ,
95
+ " ng-change=\" ${1:function()}\" $0"
96
+ ],
97
+ [
98
+ " ng-checked\t AngularJS" ,
99
+ " ng-checked=\" ${1:expression}\" $0"
100
+ ],
101
+ [
102
+ " ng-class\t AngularJS" ,
103
+ " ng-class=\" ${1:expression}\" $0"
104
+ ],
105
+ [
106
+ " ng-class-even\t AngularJS" ,
107
+ " ng-class-even=\" ${1:expression}\" $0"
108
+ ],
109
+ [
110
+ " ng-class-odd\t AngularJS" ,
111
+ " ng-class-odd=\" ${1:expression}\" $0"
112
+ ],
113
+ [
114
+ " ng-click\t AngularJS" ,
115
+ " ng-click=\" ${1:expression}\" $0"
116
+ ],
117
+ [
118
+ " ng-cloak\t AngularJS" ,
119
+ " ng-cloak$0"
120
+ ],
121
+ [
122
+ " ng-controller\t AngularJS" ,
123
+ " ng-controller=\" ${1:ControllerName}${2:Ctrl}\" $0"
124
+ ],
125
+ [
126
+ " ng-csp\t AngularJS" ,
127
+ " ng-csp$0"
128
+ ],
129
+ [
130
+ " ng-dblclick\t AngularJS" ,
131
+ " ng-dblclick=\" ${1:expression}\" $0"
132
+ ],
133
+ [
134
+ " ng-disabled\t AngularJS" ,
135
+ " ng-disabled=\" ${1:expression}\" $0"
136
+ ],
137
+ [
138
+ " ng-form\t AngularJS" ,
139
+ " ng-form name=\" ${1:string}\" $0"
140
+ ],
141
+ [
142
+ " ng-hide\t AngularJS" ,
143
+ " ng-hide=\" ${1:expression}\" $0"
144
+ ],
145
+ [
146
+ " ng-href\t AngularJS" ,
147
+ " ng-href=\" ${1:template}\" $0"
148
+ ],
149
+ [
150
+ " ng-include\t AngularJS" ,
151
+ " ng-include=\" ${1:string}\" ${2:scope=\" $3\" } ${4:onload=\" $5\" }"
152
+ ],
153
+ [
154
+ " ng-init\t AngularJS" ,
155
+ " ng-init=\" ${1:expression}\" $0"
156
+ ],
157
+ [
158
+ " ng-list\t AngularJS" ,
159
+ " ng-list=\" ${1:string}\" $0"
160
+ ],
161
+ [
162
+ " ng-model\t AngularJS" ,
163
+ " ng-model$0"
164
+ ],
165
+ [
166
+ " ng-mousedown\t AngularJS" ,
167
+ " ng-mousedown=\" ${1:expression}\" $0"
168
+ ],
169
+ [
170
+ " ng-mouseenter\t AngularJS" ,
171
+ " ng-mouseenter=\" ${1:expression}\" $0"
172
+ ],
173
+ [
174
+ " ng-mouseleave\t AngularJS" ,
175
+ " ng-mouseleave=\" ${1:expression}\" $0"
176
+ ],
177
+ [
178
+ " ng-mousemove\t AngularJS" ,
179
+ " ng-mousemove=\" ${1:expression}\" $0"
180
+ ],
181
+ [
182
+ " ng-mouseover\t AngularJS" ,
183
+ " ng-mouseover=\" ${1:expression}\" $0"
184
+ ],
185
+ [
186
+ " ng-mouseup\t AngularJS" ,
187
+ " ng-mouseup=\" ${1:expression}\" $0"
188
+ ],
189
+ [
190
+ " ng-multiple\t AngularJS" ,
191
+ " ng-multiple=\" ${1:expression}\" $0"
192
+ ],
193
+ [
194
+ " ng-non-bindable\t AngularJS" ,
195
+ " ng-non-bindable$0"
196
+ ],
197
+ [
198
+ " ng-options\t AngularJS" ,
199
+ " ng-options=\" ${1:select} as ${2:label} for ${3:value} in ${4:array}\" "
200
+ ],
201
+ [
202
+ " ng-pluralize\t AngularJS" ,
203
+ " ng-pluralize count=\" ${1:string}\" when=\" $2\" offset=\" $4\" $0"
204
+ ],
205
+ [
206
+ " ng-readonly\t AngularJS" ,
207
+ " ng-readonly=\" ${1:expression}\" $0"
208
+ ],
209
+ [
210
+ " ng-repeat\t AngularJS" ,
211
+ " ng-repeat=\" ${1:(${2:key}, ${3:value})} in ${4:dataset}\" $0"
212
+ ],
213
+ [
214
+ " ng-selected\t AngularJS" ,
215
+ " ng-selected=\" ${1:string}\" $0"
216
+ ],
217
+ [
218
+ " ng-show\t AngularJS" ,
219
+ " ng-show=\" ${1:expression}\" $0"
220
+ ],
221
+ [
222
+ " ng-src\t AngularJS" ,
223
+ " ng-src=\" ${1:template}\" $0"
224
+ ],
225
+ [
226
+ " ng-style\t AngularJS" ,
227
+ " ng-style=\" ${1:expression}\" $0"
228
+ ],
229
+ [
230
+ " ng-submit\t AngularJS" ,
231
+ " ng-submit=\" ${1:expression}\" $0"
232
+ ],
233
+ [
234
+ " ng-switch\t AngularJS" ,
235
+ " ng-switch on=\" ${1:string}\" $0"
236
+ ],
237
+ [
238
+ " ng-switch-when\t AngularJS" ,
239
+ " ng-switch-when=\" ${1:string}\" $0"
240
+ ],
241
+ [
242
+ " ng-switch-default\t AngularJS" ,
243
+ " ng-switch-default$0"
244
+ ],
245
+ [
246
+ " ng-transclude\t AngularJS" ,
247
+ " ng-transclude$0"
248
+ ],
249
+ [
250
+ " ng-view\t AngularJS" ,
251
+ " ng-view$0"
252
+ ]
253
+ ],
254
+
255
+ "AngularUI_attribute_list" : [
256
+ [
257
+ " ui-jq\t jQuery Passthrough\t AUI" ,
258
+ " ui-jq=\" ${1:string}\" $0"
259
+ ],
260
+ [
261
+ " ui-options\t UI Options\t AUI" ,
262
+ " ui-options=\" ${1:string}\" $0"
263
+ ],
264
+ [
265
+ " ui-codemirror\t CodeMirror\t AUI" ,
266
+ " ui-codemirror=\" ${1:{theme:'${2:monokai}'\\ }}\" $0"
267
+ ],
268
+ [
269
+ " ui-event\t Event Binder\t AUI" ,
270
+ " ui-event=\" {${1:event}:'${2:function()}'}\" $0"
271
+ ],
272
+ [
273
+ " ui-calendar\t Calendar\t AUI" ,
274
+ " ui-calendar=\" {${1:height: 450, editable: true}}\" $0"
275
+ ],
276
+ [
277
+ " ui-map\t Google Maps\t AUI" ,
278
+ " ui-map=\" ${1:myMap}\" $0"
279
+ ],
280
+ [
281
+ " ui-map-marker\t Google Maps\t AUI" ,
282
+ " ui-map-marker=\" ${1:myMarkers}[\\ $index]\" $0"
283
+ ],
284
+ [
285
+ " ui-map-info-window\t Google Maps\t AUI" ,
286
+ " ui-map-info-window=\" ${1:myInfoWindow}\" $0"
287
+ ],
288
+ [
289
+ " ui-date\t Date\t AUI" ,
290
+ " ui-date$0"
291
+ ],
292
+ [
293
+ " ui-keypress\t Keypress\t AUI" ,
294
+ " ui-keypress=\" {${1:key identifier}:'${2:keypressCallback}(\\ $event)'}\" $0"
295
+ ],
296
+ [
297
+ " ui-keydown\t Keypress\t AUI" ,
298
+ " ui-keydown=\" {${1:key identifier}:'${2:keypressCallback}(\\ $event)'}\" $0"
299
+ ],
300
+ [
301
+ " ui-keyup\t Keypress\t AUI" ,
302
+ " ui-keyup=\" {${1:key identifier}:'${2:keypressCallback}(\\ $event)'}\" $0"
303
+ ],
304
+ [
305
+ " ui-mask\t UI Options\t AUI" ,
306
+ " ui-mask=\" '${1:99-99-9999}'\" $0"
307
+ ],
308
+ [
309
+ " ui-if\t If\t AUI" ,
310
+ " ui-if=\" ${1:false}\" $0"
311
+ ],
312
+ [
313
+ " ui-reset\t Reset\t AUI" ,
314
+ " ui-reset${1:=\" '${2:Empty}' \" }$0"
315
+ ],
316
+ [
317
+ " ui-animate\t Animate\t AUI" ,
318
+ " ui-animate$0"
319
+ ],
320
+ [
321
+ " ui-scrollfix\t Scrollfix\t AUI" ,
322
+ " ui-scrollfix${1:=\" ${2:number}\" }$0"
323
+ ],
324
+ [
325
+ " ui-select2\t Select2\t AUI" ,
326
+ " ui-select2$0"
327
+ ],
328
+ [
329
+ " ui-show\t Show/Hide/Toggle\t AUI" ,
330
+ " ui-show=\" ${1:showHide}\" $0"
331
+ ],
332
+ [
333
+ " ui-hide\t Show/Hide/Toggle\t AUI" ,
334
+ " ui-hide=\" ${1:showHide}\" $0"
335
+ ],
336
+ [
337
+ " ui-toggle\t Show/Hide/Toggle\t AUI" ,
338
+ " ui-toggle=\" ${1:showHide}\" $0"
339
+ ],
340
+ [
341
+ " ui-tinymce\t TinyMCE\t AUI" ,
342
+ " ui-tinymce$0"
343
+ ],
344
+ [
345
+ " ui-sortable\t Sortable\t AUI" ,
346
+ " ui-sortable${1:=\" {${2:connectWith}:'${3:.children}'\\ }\" }$0"
347
+ ],
348
+ [
349
+ " ui-currency\t Currency\t AUI" ,
350
+ " ui-currency${1:=\" {symbol:'${2:\\ $}'${3:, zero: '${4:my-zero-class}'}\\ }\" }$0"
351
+ ],
352
+ [
353
+ " ui-route\t Route Checking\t AUI" ,
354
+ " ui-route=\" ${1:#}/${2:route-path}\" $0"
355
+ ]
356
+ ]
357
+ }
0 commit comments