40
40
},
41
41
"Checked block" : {
42
42
"prefix" : " checked" ,
43
- "body" : [" checked" , " {" , " \t ${TM_SELECTED_TEXT}$0" , " }" ],
43
+ "body" : [
44
+ " checked" ,
45
+ " {" ,
46
+ " \t ${TM_SELECTED_TEXT}$0" ,
47
+ " }"
48
+ ],
44
49
"description" : " Checked block"
45
50
},
46
51
"Class" : {
47
52
"prefix" : " class" ,
48
- "body" : [" class ${1:Name}" , " {" , " \t $0" , " }" ],
53
+ "body" : [
54
+ " class ${1:Name}" ,
55
+ " {" ,
56
+ " \t $0" ,
57
+ " }"
58
+ ],
49
59
"description" : " Class"
50
60
},
51
61
"Console.WriteLine" : {
52
62
"prefix" : " cw" ,
53
- "body" : [" System.Console.WriteLine(${TM_SELECTED_TEXT}$0);" ],
63
+ "body" : [
64
+ " System.Console.WriteLine(${TM_SELECTED_TEXT}$0);"
65
+ ],
54
66
"description" : " Console.WriteLine"
55
67
},
56
68
"do...while loop" : {
57
69
"prefix" : " do" ,
58
- "body" : [" do" , " {" , " \t ${TM_SELECTED_TEXT}$0" , " } while (${1:true});" ],
70
+ "body" : [
71
+ " do" ,
72
+ " {" ,
73
+ " \t ${TM_SELECTED_TEXT}$0" ,
74
+ " } while (${1:true});"
75
+ ],
59
76
"description" : " do...while loop"
60
77
},
61
78
"Else statement" : {
62
79
"prefix" : " else" ,
63
- "body" : [" else" , " {" , " \t ${TM_SELECTED_TEXT}$0" , " }" ],
80
+ "body" : [
81
+ " else" ,
82
+ " {" ,
83
+ " \t ${TM_SELECTED_TEXT}$0" ,
84
+ " }"
85
+ ],
64
86
"description" : " Else statement"
65
87
},
66
88
"Enum" : {
67
89
"prefix" : " enum" ,
68
- "body" : [" enum ${1:Name}" , " {" , " \t $0" , " }" ],
90
+ "body" : [
91
+ " enum ${1:Name}" ,
92
+ " {" ,
93
+ " \t $0" ,
94
+ " }"
95
+ ],
69
96
"description" : " Enum"
70
97
},
71
98
"Implementing Equals() according to guidelines" : {
149
176
},
150
177
"if statement" : {
151
178
"prefix" : " if" ,
152
- "body" : [" if (${1:true})" , " {" , " \t ${TM_SELECTED_TEXT}$0" , " }" ],
179
+ "body" : [
180
+ " if (${1:true})" ,
181
+ " {" ,
182
+ " \t ${TM_SELECTED_TEXT}$0" ,
183
+ " }"
184
+ ],
153
185
"description" : " if statement"
154
186
},
155
187
"Indexer" : {
165
197
},
166
198
"Interface" : {
167
199
"prefix" : " interface" ,
168
- "body" : [" interface I${1:Name}" , " {" , " \t $0" , " }" ],
200
+ "body" : [
201
+ " interface I${1:Name}" ,
202
+ " {" ,
203
+ " \t $0" ,
204
+ " }"
205
+ ],
169
206
"description" : " Interface"
170
207
},
171
208
"Safely invoking an event" : {
240
277
},
241
278
"Lock statement" : {
242
279
"prefix" : " lock" ,
243
- "body" : [" lock (${1:this})" , " {" , " \t ${TM_SELECTED_TEXT}$0" , " }" ],
280
+ "body" : [
281
+ " lock (${1:this})" ,
282
+ " {" ,
283
+ " \t ${TM_SELECTED_TEXT}$0" ,
284
+ " }"
285
+ ],
244
286
"description" : " Lock statement"
245
287
},
246
288
"MessageBox.Show" : {
247
289
"prefix" : " mbox" ,
248
- "body" : [" System.Windows.Forms.MessageBox.Show(\" ${1:Text}\" );$0" ],
290
+ "body" : [
291
+ " System.Windows.Forms.MessageBox.Show(\" ${1:Text}\" );$0"
292
+ ],
249
293
"description" : " MessageBox.Show"
250
294
},
251
295
"Namespace" : {
252
296
"prefix" : " namespace" ,
253
- "body" : [" namespace ${1:Name}" , " {" , " \t $0" , " }" ],
297
+ "body" : [
298
+ " namespace ${1:Name}" ,
299
+ " {" ,
300
+ " \t $0" ,
301
+ " }"
302
+ ],
254
303
"description" : " Namespace"
255
304
},
256
305
"FileScopedNamespace" : {
262
311
},
263
312
"#if" : {
264
313
"prefix" : " ifd" ,
265
- "body" : [" #if ${1:true}" , " \t ${TM_SELECTED_TEXT}$0" , " #endif" ],
314
+ "body" : [
315
+ " #if ${1:true}" ,
316
+ " \t ${TM_SELECTED_TEXT}$0" ,
317
+ " #endif"
318
+ ],
266
319
"description" : " #if"
267
320
},
268
321
"#region" : {
269
322
"prefix" : " region" ,
270
- "body" : [" #region ${1:Name}" , " \t ${TM_SELECTED_TEXT}$0" , " #endregion" ],
323
+ "body" : [
324
+ " #region ${1:Name}" ,
325
+ " \t ${TM_SELECTED_TEXT}$0" ,
326
+ " #endregion"
327
+ ],
271
328
"description" : " #region"
272
329
},
273
330
"Property and backing field" : {
285
342
},
286
343
"propg" : {
287
344
"prefix" : " propg" ,
288
- "body" : [" public ${1:int} ${2:MyProperty} { get; private set; }$0" ],
345
+ "body" : [
346
+ " public ${1:int} ${2:MyProperty} { get; private set; }$0"
347
+ ],
289
348
"description" : " An automatically implemented property with a 'get' accessor and a private 'set' accessor. C# 3.0 or higher"
290
349
},
291
350
"prop" : {
292
351
"prefix" : " prop" ,
293
- "body" : [" public ${1:int} ${2:MyProperty} { get; set; }$0" ],
352
+ "body" : [
353
+ " public ${1:int} ${2:MyProperty} { get; set; }$0"
354
+ ],
294
355
"description" : " An automatically implemented property. C# 3.0 or higher"
295
356
},
296
357
"sim" : {
306
367
},
307
368
"Struct" : {
308
369
"prefix" : " struct" ,
309
- "body" : [" struct ${1:Name}" , " {" , " \t $0" , " }" ],
370
+ "body" : [
371
+ " struct ${1:Name}" ,
372
+ " {" ,
373
+ " \t $0" ,
374
+ " }"
375
+ ],
310
376
"description" : " Struct"
311
377
},
312
378
"svm" : {
313
379
"prefix" : " svm" ,
314
- "body" : [" static void Main(string[] args)" , " {" , " \t $0" , " }" ],
380
+ "body" : [
381
+ " static void Main(string[] args)" ,
382
+ " {" ,
383
+ " \t $0" ,
384
+ " }"
385
+ ],
315
386
"description" : " void Main()"
316
387
},
317
388
"Switch statement" : {
318
389
"prefix" : " switch" ,
319
- "body" : [" switch (${1:switch_on})" , " {" , " \t $0" , " \t default:" , " }" ],
390
+ "body" : [
391
+ " switch (${1:switch_on})" ,
392
+ " {" ,
393
+ " \t $0" ,
394
+ " \t default:" ,
395
+ " }"
396
+ ],
320
397
"description" : " Switch statement"
321
398
},
322
399
"Try finally" : {
323
400
"prefix" : " tryf" ,
324
401
"body" : [
325
402
" try" ,
326
403
" {" ,
327
- " \t ${TM_SELECTED_TEXT}$1" ,
404
+ " \t ${TM_SELECTED_TEXT}$1" ,
328
405
" }" ,
329
406
" finally" ,
330
407
" {" ,
338
415
"body" : [
339
416
" try" ,
340
417
" {" ,
341
- " \t ${TM_SELECTED_TEXT}$1" ,
418
+ " \t ${TM_SELECTED_TEXT}$1" ,
342
419
" }" ,
343
420
" catch (${2:System.Exception})" ,
344
421
" {" ,
350
427
},
351
428
"Unchecked block" : {
352
429
"prefix" : " unchecked" ,
353
- "body" : [" unchecked" , " {" , " \t ${TM_SELECTED_TEXT}$0" , " }" ],
430
+ "body" : [
431
+ " unchecked" ,
432
+ " {" ,
433
+ " \t ${TM_SELECTED_TEXT}$0" ,
434
+ " }"
435
+ ],
354
436
"description" : " Unchecked block"
355
437
},
356
438
"Unsafe statement" : {
357
439
"prefix" : " unsafe" ,
358
- "body" : [" unsafe" , " {" , " \t ${TM_SELECTED_TEXT}$0" , " }" ],
440
+ "body" : [
441
+ " unsafe" ,
442
+ " {" ,
443
+ " \t ${TM_SELECTED_TEXT}$0" ,
444
+ " }"
445
+ ],
359
446
"description" : " Unsafe statement"
360
447
},
361
448
"Using statement" : {
362
449
"prefix" : " using" ,
363
- "body" : [" using (${1:resource})" , " {" , " \t ${TM_SELECTED_TEXT}$0" , " }" ],
450
+ "body" : [
451
+ " using (${1:resource})" ,
452
+ " {" ,
453
+ " \t ${TM_SELECTED_TEXT}$0" ,
454
+ " }"
455
+ ],
364
456
"description" : " Using statement"
365
457
},
366
458
"While loop" : {
367
459
"prefix" : " while" ,
368
- "body" : [" while (${1:true})" , " {" , " \t ${TM_SELECTED_TEXT}$0" , " }" ],
460
+ "body" : [
461
+ " while (${1:true})" ,
462
+ " {" ,
463
+ " \t ${TM_SELECTED_TEXT}$0" ,
464
+ " }"
465
+ ],
369
466
"description" : " While loop"
370
467
},
371
468
"constructor" : {
393
490
],
394
491
"description" : " create xunit test method"
395
492
}
396
- }
493
+ }
0 commit comments