@codingame/monaco-editor-wrapper 1.7.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Groovy2.js +28 -0
- package/dist/features/mutualizedExtensionConfigurations.d.ts +1 -0
- package/dist/features/mutualizedExtensionConfigurations.js +4857 -0
- package/dist/languages/extensions/configurationLoader.d.ts +20 -2
- package/dist/languages/index.d.ts +2 -1
- package/dist/languages/textMate/index.d.ts +1 -1
- package/dist/main.js +26 -10
- package/dist/markdown-basics-markdown.js +18 -0
- package/dist/services/CustomFoldingRulesLanguageConfigurationService.d.ts +4 -0
- package/dist/verilog-systemverilog.js +140 -327
- package/dist/verilog2.js +65 -56
- package/dist/vscode-R-rmd.js +2 -2
- package/package.json +1 -2
- package/stats.html +1 -1
- package/dist/COBOL Copybook2.js +0 -2017
- package/dist/COBOL2.js +0 -2017
- package/dist/SQL.plist.js +0 -482
- package/dist/bsv2.js +0 -49
- package/dist/c2.js +0 -18
- package/dist/coffeescript2.js +0 -18
- package/dist/configuration/hack.d.ts +0 -2
- package/dist/cpp2.js +0 -18
- package/dist/csharp2.js +0 -508
- package/dist/cssContribution.js +0 -10
- package/dist/diet3.js +0 -92
- package/dist/extensionConfigurations.js +0 -9475
- package/dist/fsharp2.js +0 -18
- package/dist/groovy2.js +0 -229
- package/dist/html (eex).js +0 -31
- package/dist/htmlContribution.js +0 -10
- package/dist/javascript2.js +0 -196
- package/dist/javascriptreact2.js +0 -196
- package/dist/jsonContribution.js +0 -78
- package/dist/kotlin2.js +0 -117
- package/dist/kotlinscript2.js +0 -117
- package/dist/languages/monarch/list.d.ts +0 -7
- package/dist/languages/textMate/TextMateTokensProvider.d.ts +0 -11
- package/dist/markdown-basics.js +0 -103
- package/dist/markdown2.js +0 -103
- package/dist/pgsql-sql.js +0 -21
- package/dist/pgsql.js +0 -21
- package/dist/php2.js +0 -265
- package/dist/powershell2.js +0 -18
- package/dist/r.tmLanguage.js +0 -572
- package/dist/reason2.js +0 -100
- package/dist/services/functional.d.ts +0 -1
- package/dist/services/lyfecycle.d.ts +0 -13
- package/dist/sql2.js +0 -21
- package/dist/swift2.js +0 -183
- package/dist/systemverilog2.js +0 -208
- package/dist/tcl2.js +0 -151
- package/dist/typescript-basics.js +0 -312
- package/dist/typescript2.js +0 -312
- package/dist/typescriptContribution.js +0 -36
- package/dist/typescriptreact2.js +0 -312
- package/dist/vb2.js +0 -88
package/dist/csharp2.js
DELETED
|
@@ -1,508 +0,0 @@
|
|
|
1
|
-
var Class = {
|
|
2
|
-
prefix: "class",
|
|
3
|
-
body: [
|
|
4
|
-
"class ${1:Name}",
|
|
5
|
-
"{",
|
|
6
|
-
"\t$0",
|
|
7
|
-
"}"
|
|
8
|
-
],
|
|
9
|
-
description: "Class"
|
|
10
|
-
};
|
|
11
|
-
var Enum = {
|
|
12
|
-
prefix: "enum",
|
|
13
|
-
body: [
|
|
14
|
-
"enum ${1:Name}",
|
|
15
|
-
"{",
|
|
16
|
-
"\t$0",
|
|
17
|
-
"}"
|
|
18
|
-
],
|
|
19
|
-
description: "Enum"
|
|
20
|
-
};
|
|
21
|
-
var Exception = {
|
|
22
|
-
prefix: "exception",
|
|
23
|
-
body: [
|
|
24
|
-
"[System.Serializable]",
|
|
25
|
-
"public class ${1:My}Exception : ${2:System.Exception}",
|
|
26
|
-
"{",
|
|
27
|
-
"\tpublic ${1:My}Exception() { }",
|
|
28
|
-
"\tpublic ${1:My}Exception(string message) : base(message) { }",
|
|
29
|
-
"\tpublic ${1:My}Exception(string message, System.Exception inner) : base(message, inner) { }",
|
|
30
|
-
"\tprotected ${1:My}Exception(",
|
|
31
|
-
"\t\tSystem.Runtime.Serialization.SerializationInfo info,",
|
|
32
|
-
"\t\tSystem.Runtime.Serialization.StreamingContext context) : base(info, context) { }",
|
|
33
|
-
"}"
|
|
34
|
-
],
|
|
35
|
-
description: "Exception"
|
|
36
|
-
};
|
|
37
|
-
var Indexer = {
|
|
38
|
-
prefix: "indexer",
|
|
39
|
-
body: [
|
|
40
|
-
"${1:public} ${2:object} this[${3:int} index]",
|
|
41
|
-
"{",
|
|
42
|
-
"\tget { $4 }",
|
|
43
|
-
"\tset { $0 }",
|
|
44
|
-
"}"
|
|
45
|
-
],
|
|
46
|
-
description: "Indexer"
|
|
47
|
-
};
|
|
48
|
-
var Interface = {
|
|
49
|
-
prefix: "interface",
|
|
50
|
-
body: [
|
|
51
|
-
"interface I${1:Name}",
|
|
52
|
-
"{",
|
|
53
|
-
"\t$0",
|
|
54
|
-
"}"
|
|
55
|
-
],
|
|
56
|
-
description: "Interface"
|
|
57
|
-
};
|
|
58
|
-
var Namespace = {
|
|
59
|
-
prefix: "namespace",
|
|
60
|
-
body: [
|
|
61
|
-
"namespace ${1:Name}",
|
|
62
|
-
"{",
|
|
63
|
-
"\t$0",
|
|
64
|
-
"}"
|
|
65
|
-
],
|
|
66
|
-
description: "Namespace"
|
|
67
|
-
};
|
|
68
|
-
var FileScopedNamespace = {
|
|
69
|
-
prefix: "fsnamespace",
|
|
70
|
-
body: [
|
|
71
|
-
"namespace ${1:Name};"
|
|
72
|
-
],
|
|
73
|
-
description: "File-scoped namespace"
|
|
74
|
-
};
|
|
75
|
-
var propg = {
|
|
76
|
-
prefix: "propg",
|
|
77
|
-
body: [
|
|
78
|
-
"public ${1:int} ${2:MyProperty} { get; private set; }$0"
|
|
79
|
-
],
|
|
80
|
-
description: "An automatically implemented property with a 'get' accessor and a private 'set' accessor. C# 3.0 or higher"
|
|
81
|
-
};
|
|
82
|
-
var prop = {
|
|
83
|
-
prefix: "prop",
|
|
84
|
-
body: [
|
|
85
|
-
"public ${1:int} ${2:MyProperty} { get; set; }$0"
|
|
86
|
-
],
|
|
87
|
-
description: "An automatically implemented property. C# 3.0 or higher"
|
|
88
|
-
};
|
|
89
|
-
var sim = {
|
|
90
|
-
prefix: "sim",
|
|
91
|
-
body: [
|
|
92
|
-
"static int Main(string[] args)",
|
|
93
|
-
"{",
|
|
94
|
-
"\t$0",
|
|
95
|
-
"\treturn 0;",
|
|
96
|
-
"}"
|
|
97
|
-
],
|
|
98
|
-
description: "int Main()"
|
|
99
|
-
};
|
|
100
|
-
var Struct = {
|
|
101
|
-
prefix: "struct",
|
|
102
|
-
body: [
|
|
103
|
-
"struct ${1:Name}",
|
|
104
|
-
"{",
|
|
105
|
-
"\t$0",
|
|
106
|
-
"}"
|
|
107
|
-
],
|
|
108
|
-
description: "Struct"
|
|
109
|
-
};
|
|
110
|
-
var svm = {
|
|
111
|
-
prefix: "svm",
|
|
112
|
-
body: [
|
|
113
|
-
"static void Main(string[] args)",
|
|
114
|
-
"{",
|
|
115
|
-
"\t$0",
|
|
116
|
-
"}"
|
|
117
|
-
],
|
|
118
|
-
description: "void Main()"
|
|
119
|
-
};
|
|
120
|
-
var constructor = {
|
|
121
|
-
prefix: "ctor",
|
|
122
|
-
body: [
|
|
123
|
-
"${1:public} ${2:$TM_FILENAME_BASE}(${3:Parameters})",
|
|
124
|
-
"{",
|
|
125
|
-
"\t$0",
|
|
126
|
-
"}"
|
|
127
|
-
],
|
|
128
|
-
description: "constructor"
|
|
129
|
-
};
|
|
130
|
-
var csharp = {
|
|
131
|
-
"Attribute using recommended pattern": {
|
|
132
|
-
prefix: "attribute",
|
|
133
|
-
body: [
|
|
134
|
-
"[System.AttributeUsage(System.AttributeTargets.${1:All}, Inherited = ${2:false}, AllowMultiple = ${3:true})]",
|
|
135
|
-
"sealed class ${4:My}Attribute : System.Attribute",
|
|
136
|
-
"{",
|
|
137
|
-
"\t// See the attribute guidelines at",
|
|
138
|
-
"\t// http://go.microsoft.com/fwlink/?LinkId=85236",
|
|
139
|
-
"\treadonly string positionalString;",
|
|
140
|
-
"\t",
|
|
141
|
-
"\t// This is a positional argument",
|
|
142
|
-
"\tpublic ${4:My}Attribute(string positionalString)",
|
|
143
|
-
"\t{",
|
|
144
|
-
"\t\tthis.positionalString = positionalString;",
|
|
145
|
-
"\t\t",
|
|
146
|
-
"\t\t// TODO: Implement code here",
|
|
147
|
-
"\t\t${5:throw new System.NotImplementedException();}",
|
|
148
|
-
"\t}",
|
|
149
|
-
"\t",
|
|
150
|
-
"\tpublic string PositionalString",
|
|
151
|
-
"\t{",
|
|
152
|
-
"\t\tget { return positionalString; }",
|
|
153
|
-
"\t}",
|
|
154
|
-
"\t",
|
|
155
|
-
"\t// This is a named argument",
|
|
156
|
-
"\tpublic int NamedInt { get; set; }",
|
|
157
|
-
"}"
|
|
158
|
-
],
|
|
159
|
-
description: "Attribute using recommended pattern"
|
|
160
|
-
},
|
|
161
|
-
"Disable format": {
|
|
162
|
-
prefix: "disableformat",
|
|
163
|
-
body: [
|
|
164
|
-
"#pragma warning disable format",
|
|
165
|
-
"$0${TM_SELECTED_TEXT}",
|
|
166
|
-
"#pragma warning restore format"
|
|
167
|
-
],
|
|
168
|
-
description: "disable format of dotnet code"
|
|
169
|
-
},
|
|
170
|
-
"Checked block": {
|
|
171
|
-
prefix: "checked",
|
|
172
|
-
body: [
|
|
173
|
-
"checked",
|
|
174
|
-
"{",
|
|
175
|
-
"\t${TM_SELECTED_TEXT}$0",
|
|
176
|
-
"}"
|
|
177
|
-
],
|
|
178
|
-
description: "Checked block"
|
|
179
|
-
},
|
|
180
|
-
Class: Class,
|
|
181
|
-
"Console.WriteLine": {
|
|
182
|
-
prefix: "cw",
|
|
183
|
-
body: [
|
|
184
|
-
"System.Console.WriteLine(${TM_SELECTED_TEXT}$0);"
|
|
185
|
-
],
|
|
186
|
-
description: "Console.WriteLine"
|
|
187
|
-
},
|
|
188
|
-
"do...while loop": {
|
|
189
|
-
prefix: "do",
|
|
190
|
-
body: [
|
|
191
|
-
"do",
|
|
192
|
-
"{",
|
|
193
|
-
"\t${TM_SELECTED_TEXT}$0",
|
|
194
|
-
"} while (${1:true});"
|
|
195
|
-
],
|
|
196
|
-
description: "do...while loop"
|
|
197
|
-
},
|
|
198
|
-
"Else statement": {
|
|
199
|
-
prefix: "else",
|
|
200
|
-
body: [
|
|
201
|
-
"else",
|
|
202
|
-
"{",
|
|
203
|
-
"\t${TM_SELECTED_TEXT}$0",
|
|
204
|
-
"}"
|
|
205
|
-
],
|
|
206
|
-
description: "Else statement"
|
|
207
|
-
},
|
|
208
|
-
Enum: Enum,
|
|
209
|
-
"Implementing Equals() according to guidelines": {
|
|
210
|
-
prefix: "equals",
|
|
211
|
-
body: [
|
|
212
|
-
"// override object.Equals",
|
|
213
|
-
"public override bool Equals(object obj)",
|
|
214
|
-
"{",
|
|
215
|
-
"\t//",
|
|
216
|
-
"\t// See the full list of guidelines at",
|
|
217
|
-
"\t// http://go.microsoft.com/fwlink/?LinkID=85237",
|
|
218
|
-
"\t// and also the guidance for operator== at",
|
|
219
|
-
"\t// http://go.microsoft.com/fwlink/?LinkId=85238",
|
|
220
|
-
"\t//",
|
|
221
|
-
"\t",
|
|
222
|
-
"\tif (obj == null || GetType() != obj.GetType())",
|
|
223
|
-
"\t{",
|
|
224
|
-
"\t\treturn false;",
|
|
225
|
-
"\t}",
|
|
226
|
-
"\t",
|
|
227
|
-
"\t// TODO: write your implementation of Equals() here",
|
|
228
|
-
"\t${1:throw new System.NotImplementedException();}",
|
|
229
|
-
"\treturn base.Equals (obj);",
|
|
230
|
-
"}",
|
|
231
|
-
"",
|
|
232
|
-
"// override object.GetHashCode",
|
|
233
|
-
"public override int GetHashCode()",
|
|
234
|
-
"{",
|
|
235
|
-
"\t// TODO: write your implementation of GetHashCode() here",
|
|
236
|
-
"\t${2:throw new System.NotImplementedException();}",
|
|
237
|
-
"\treturn base.GetHashCode();",
|
|
238
|
-
"}"
|
|
239
|
-
],
|
|
240
|
-
description: "Implementing Equals() according to guidelines"
|
|
241
|
-
},
|
|
242
|
-
Exception: Exception,
|
|
243
|
-
"Foreach statement": {
|
|
244
|
-
prefix: "foreach",
|
|
245
|
-
body: [
|
|
246
|
-
"foreach (${1:var} ${2:item} in ${3:collection})",
|
|
247
|
-
"{",
|
|
248
|
-
"\t${TM_SELECTED_TEXT}$0",
|
|
249
|
-
"}"
|
|
250
|
-
],
|
|
251
|
-
description: "Foreach statement"
|
|
252
|
-
},
|
|
253
|
-
"Reverse for loop": {
|
|
254
|
-
prefix: "forr",
|
|
255
|
-
body: [
|
|
256
|
-
"for (int ${1:i} = ${2:length} - 1; ${1:i} >= 0 ; ${1:i}--)",
|
|
257
|
-
"{",
|
|
258
|
-
"\t${TM_SELECTED_TEXT}$0",
|
|
259
|
-
"}"
|
|
260
|
-
],
|
|
261
|
-
description: "Reverse for loop"
|
|
262
|
-
},
|
|
263
|
-
"for loop": {
|
|
264
|
-
prefix: "for",
|
|
265
|
-
body: [
|
|
266
|
-
"for (int ${1:i} = 0; ${1:i} < ${2:length}; ${1:i}++)",
|
|
267
|
-
"{",
|
|
268
|
-
"\t${TM_SELECTED_TEXT}$0",
|
|
269
|
-
"}"
|
|
270
|
-
],
|
|
271
|
-
description: "for loop"
|
|
272
|
-
},
|
|
273
|
-
"if statement": {
|
|
274
|
-
prefix: "if",
|
|
275
|
-
body: [
|
|
276
|
-
"if (${1:true})",
|
|
277
|
-
"{",
|
|
278
|
-
"\t${TM_SELECTED_TEXT}$0",
|
|
279
|
-
"}"
|
|
280
|
-
],
|
|
281
|
-
description: "if statement"
|
|
282
|
-
},
|
|
283
|
-
Indexer: Indexer,
|
|
284
|
-
Interface: Interface,
|
|
285
|
-
"Safely invoking an event": {
|
|
286
|
-
prefix: "invoke",
|
|
287
|
-
body: [
|
|
288
|
-
"${1:EventHandler} temp = ${2:MyEvent};",
|
|
289
|
-
"if (temp != null)",
|
|
290
|
-
"{",
|
|
291
|
-
"\ttemp($0);",
|
|
292
|
-
"}"
|
|
293
|
-
],
|
|
294
|
-
description: "Safely invoking an event"
|
|
295
|
-
},
|
|
296
|
-
"Simple iterator": {
|
|
297
|
-
prefix: "iterator",
|
|
298
|
-
body: [
|
|
299
|
-
"public System.Collections.Generic.IEnumerator<${1:ElementType}> GetEnumerator()",
|
|
300
|
-
"{",
|
|
301
|
-
"\t$0throw new System.NotImplementedException();",
|
|
302
|
-
"\tyield return default(${1:ElementType});",
|
|
303
|
-
"}"
|
|
304
|
-
],
|
|
305
|
-
description: "Simple iterator"
|
|
306
|
-
},
|
|
307
|
-
"Named iterator/indexer pair using a nested class": {
|
|
308
|
-
prefix: "iterindex",
|
|
309
|
-
body: [
|
|
310
|
-
"public ${1:Name}Iterator ${1:Name}",
|
|
311
|
-
"{",
|
|
312
|
-
"\tget",
|
|
313
|
-
"\t{",
|
|
314
|
-
"\t\treturn new ${1:Name}Iterator(this);",
|
|
315
|
-
"\t}",
|
|
316
|
-
"}",
|
|
317
|
-
"",
|
|
318
|
-
"public class ${1:Name}Iterator",
|
|
319
|
-
"{",
|
|
320
|
-
"\treadonly ${2:ClassName} outer;",
|
|
321
|
-
"\t",
|
|
322
|
-
"\tinternal ${1:Name}Iterator(${2:ClassName} outer)",
|
|
323
|
-
"\t{",
|
|
324
|
-
"\t\tthis.outer = outer;",
|
|
325
|
-
"\t}",
|
|
326
|
-
"\t",
|
|
327
|
-
"\t// TODO: provide an appropriate implementation here",
|
|
328
|
-
"\tpublic int Length { get { return 1; } }",
|
|
329
|
-
"\t",
|
|
330
|
-
"\tpublic ${3:ElementType} this[int index]",
|
|
331
|
-
"\t{",
|
|
332
|
-
"\t\tget",
|
|
333
|
-
"\t\t{",
|
|
334
|
-
"\t\t\t//",
|
|
335
|
-
"\t\t\t// TODO: implement indexer here",
|
|
336
|
-
"\t\t\t//",
|
|
337
|
-
"\t\t\t// you have full access to ${2:ClassName} privates",
|
|
338
|
-
"\t\t\t//",
|
|
339
|
-
"\t\t\t${4:throw new System.NotImplementedException();}",
|
|
340
|
-
"\t\t\treturn default(${3:ElementType});",
|
|
341
|
-
"\t\t}",
|
|
342
|
-
"\t}",
|
|
343
|
-
"\t",
|
|
344
|
-
"\tpublic System.Collections.Generic.IEnumerator<${3:ElementType}> GetEnumerator()",
|
|
345
|
-
"\t{",
|
|
346
|
-
"\t\tfor (int i = 0; i < this.Length; i++)",
|
|
347
|
-
"\t\t{",
|
|
348
|
-
"\t\t\tyield return this[i];",
|
|
349
|
-
"\t\t}",
|
|
350
|
-
"\t}",
|
|
351
|
-
"}"
|
|
352
|
-
],
|
|
353
|
-
description: "Named iterator/indexer pair using a nested class"
|
|
354
|
-
},
|
|
355
|
-
"Lock statement": {
|
|
356
|
-
prefix: "lock",
|
|
357
|
-
body: [
|
|
358
|
-
"lock (${1:this})",
|
|
359
|
-
"{",
|
|
360
|
-
"\t${TM_SELECTED_TEXT}$0",
|
|
361
|
-
"}"
|
|
362
|
-
],
|
|
363
|
-
description: "Lock statement"
|
|
364
|
-
},
|
|
365
|
-
"MessageBox.Show": {
|
|
366
|
-
prefix: "mbox",
|
|
367
|
-
body: [
|
|
368
|
-
"System.Windows.Forms.MessageBox.Show(\"${1:Text}\");$0"
|
|
369
|
-
],
|
|
370
|
-
description: "MessageBox.Show"
|
|
371
|
-
},
|
|
372
|
-
Namespace: Namespace,
|
|
373
|
-
FileScopedNamespace: FileScopedNamespace,
|
|
374
|
-
"#if": {
|
|
375
|
-
prefix: "ifd",
|
|
376
|
-
body: [
|
|
377
|
-
"#if ${1:true}",
|
|
378
|
-
"\t${TM_SELECTED_TEXT}$0",
|
|
379
|
-
"#endif"
|
|
380
|
-
],
|
|
381
|
-
description: "#if"
|
|
382
|
-
},
|
|
383
|
-
"#region": {
|
|
384
|
-
prefix: "region",
|
|
385
|
-
body: [
|
|
386
|
-
"#region ${1:Name}",
|
|
387
|
-
"\t${TM_SELECTED_TEXT}$0",
|
|
388
|
-
"#endregion"
|
|
389
|
-
],
|
|
390
|
-
description: "#region"
|
|
391
|
-
},
|
|
392
|
-
"Property and backing field": {
|
|
393
|
-
prefix: "propfull",
|
|
394
|
-
body: [
|
|
395
|
-
"private ${1:int} ${2:myVar};",
|
|
396
|
-
"public ${1:int} ${3:MyProperty}",
|
|
397
|
-
"{",
|
|
398
|
-
"\tget { return ${2:myVar}; }",
|
|
399
|
-
"\tset { ${2:myVar} = value; }",
|
|
400
|
-
"}",
|
|
401
|
-
"$0"
|
|
402
|
-
],
|
|
403
|
-
description: "Property and backing field"
|
|
404
|
-
},
|
|
405
|
-
propg: propg,
|
|
406
|
-
prop: prop,
|
|
407
|
-
sim: sim,
|
|
408
|
-
Struct: Struct,
|
|
409
|
-
svm: svm,
|
|
410
|
-
"Switch statement": {
|
|
411
|
-
prefix: "switch",
|
|
412
|
-
body: [
|
|
413
|
-
"switch (${1:switch_on})",
|
|
414
|
-
"{",
|
|
415
|
-
"\t$0",
|
|
416
|
-
"\tdefault:",
|
|
417
|
-
"}"
|
|
418
|
-
],
|
|
419
|
-
description: "Switch statement"
|
|
420
|
-
},
|
|
421
|
-
"Try finally": {
|
|
422
|
-
prefix: "tryf",
|
|
423
|
-
body: [
|
|
424
|
-
"try",
|
|
425
|
-
"{",
|
|
426
|
-
"\t${TM_SELECTED_TEXT}$1",
|
|
427
|
-
"}",
|
|
428
|
-
"finally",
|
|
429
|
-
"{",
|
|
430
|
-
"\t$0",
|
|
431
|
-
"}"
|
|
432
|
-
],
|
|
433
|
-
description: "Try finally"
|
|
434
|
-
},
|
|
435
|
-
"Try catch": {
|
|
436
|
-
prefix: "try",
|
|
437
|
-
body: [
|
|
438
|
-
"try",
|
|
439
|
-
"{",
|
|
440
|
-
"\t${TM_SELECTED_TEXT}$1",
|
|
441
|
-
"}",
|
|
442
|
-
"catch (${2:System.Exception})",
|
|
443
|
-
"{",
|
|
444
|
-
"\t$0",
|
|
445
|
-
"\tthrow;",
|
|
446
|
-
"}"
|
|
447
|
-
],
|
|
448
|
-
description: "Try catch"
|
|
449
|
-
},
|
|
450
|
-
"Unchecked block": {
|
|
451
|
-
prefix: "unchecked",
|
|
452
|
-
body: [
|
|
453
|
-
"unchecked",
|
|
454
|
-
"{",
|
|
455
|
-
"\t${TM_SELECTED_TEXT}$0",
|
|
456
|
-
"}"
|
|
457
|
-
],
|
|
458
|
-
description: "Unchecked block"
|
|
459
|
-
},
|
|
460
|
-
"Unsafe statement": {
|
|
461
|
-
prefix: "unsafe",
|
|
462
|
-
body: [
|
|
463
|
-
"unsafe",
|
|
464
|
-
"{",
|
|
465
|
-
"\t${TM_SELECTED_TEXT}$0",
|
|
466
|
-
"}"
|
|
467
|
-
],
|
|
468
|
-
description: "Unsafe statement"
|
|
469
|
-
},
|
|
470
|
-
"Using statement": {
|
|
471
|
-
prefix: "using",
|
|
472
|
-
body: [
|
|
473
|
-
"using (${1:resource})",
|
|
474
|
-
"{",
|
|
475
|
-
"\t${TM_SELECTED_TEXT}$0",
|
|
476
|
-
"}"
|
|
477
|
-
],
|
|
478
|
-
description: "Using statement"
|
|
479
|
-
},
|
|
480
|
-
"While loop": {
|
|
481
|
-
prefix: "while",
|
|
482
|
-
body: [
|
|
483
|
-
"while (${1:true})",
|
|
484
|
-
"{",
|
|
485
|
-
"\t${TM_SELECTED_TEXT}$0",
|
|
486
|
-
"}"
|
|
487
|
-
],
|
|
488
|
-
description: "While loop"
|
|
489
|
-
},
|
|
490
|
-
constructor: constructor,
|
|
491
|
-
"xUnit Test": {
|
|
492
|
-
prefix: "fact",
|
|
493
|
-
body: [
|
|
494
|
-
"[Fact]",
|
|
495
|
-
"public void ${1:TestName}()",
|
|
496
|
-
"{",
|
|
497
|
-
"\t// Given",
|
|
498
|
-
"",
|
|
499
|
-
"\t// When",
|
|
500
|
-
"",
|
|
501
|
-
"\t// Then",
|
|
502
|
-
"}$0"
|
|
503
|
-
],
|
|
504
|
-
description: "create xunit test method"
|
|
505
|
-
}
|
|
506
|
-
};
|
|
507
|
-
|
|
508
|
-
export { Class, Enum, Exception, FileScopedNamespace, Indexer, Interface, Namespace, Struct, constructor, csharp as default, prop, propg, sim, svm };
|
package/dist/cssContribution.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import 'monaco-editor/esm/vs/language/css/monaco.contribution';
|
|
2
|
-
import { r as registerWorkerLoader } from './worker.js';
|
|
3
|
-
|
|
4
|
-
const workerLoader = async () => (await import(
|
|
5
|
-
/* webpackChunkName: "MonacoHtmlWorker" */
|
|
6
|
-
'./css.worker.js').then(module => module)).default;
|
|
7
|
-
|
|
8
|
-
registerWorkerLoader('css', workerLoader);
|
|
9
|
-
registerWorkerLoader('less', workerLoader);
|
|
10
|
-
registerWorkerLoader('scss', workerLoader);
|
package/dist/diet3.js
DELETED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
var style = {
|
|
2
|
-
prefix: "style",
|
|
3
|
-
body: [
|
|
4
|
-
":css",
|
|
5
|
-
"\t"
|
|
6
|
-
],
|
|
7
|
-
description: "Snippet emmet emulation for diet"
|
|
8
|
-
};
|
|
9
|
-
var script = {
|
|
10
|
-
prefix: "script",
|
|
11
|
-
body: [
|
|
12
|
-
":javascript",
|
|
13
|
-
"\t"
|
|
14
|
-
],
|
|
15
|
-
description: "Snippet emmet emulation for diet"
|
|
16
|
-
};
|
|
17
|
-
var markdown = {
|
|
18
|
-
prefix: "markdown",
|
|
19
|
-
body: [
|
|
20
|
-
":markdown",
|
|
21
|
-
"\t"
|
|
22
|
-
],
|
|
23
|
-
description: "Snippet emmet emulation for diet"
|
|
24
|
-
};
|
|
25
|
-
var diet = {
|
|
26
|
-
"html document": {
|
|
27
|
-
prefix: "html",
|
|
28
|
-
body: [
|
|
29
|
-
"doctype html",
|
|
30
|
-
"",
|
|
31
|
-
"html(lang=\"en\")",
|
|
32
|
-
"\thead",
|
|
33
|
-
"\t\tmeta(charset=\"UTF-8\")",
|
|
34
|
-
"\t\tmeta(name=\"viewport\", content=\"width=device-width, initial-scale=1.0\")",
|
|
35
|
-
"\t\tmeta(http-equiv=\"X-UA-Compatible\", content=\"ie=edge\")",
|
|
36
|
-
"\t\ttitle ${1:Document}",
|
|
37
|
-
"\tbody",
|
|
38
|
-
"\t\t$2"
|
|
39
|
-
],
|
|
40
|
-
description: "Snippet emmet emulation for diet"
|
|
41
|
-
},
|
|
42
|
-
"atom link": {
|
|
43
|
-
prefix: "link:atom",
|
|
44
|
-
body: "link(rel=\"alternate\", href=\"${1:atom.xml}\", type=\"application/atom+xml\", title=\"Atom\")",
|
|
45
|
-
description: "Snippet emmet emulation for diet"
|
|
46
|
-
},
|
|
47
|
-
"css link": {
|
|
48
|
-
prefix: "link:css",
|
|
49
|
-
body: "link(rel=\"stylesheet\", href=\"${1:style}.css\")",
|
|
50
|
-
description: "Snippet emmet emulation for diet"
|
|
51
|
-
},
|
|
52
|
-
"favicon link": {
|
|
53
|
-
prefix: "link:favicon",
|
|
54
|
-
body: "link(rel=\"shortcut icon\", href=\"${1:favicon.ico}\", type=\"image/x-icon\")",
|
|
55
|
-
description: "Snippet emmet emulation for diet"
|
|
56
|
-
},
|
|
57
|
-
"import link": {
|
|
58
|
-
prefix: "link:import",
|
|
59
|
-
body: "link(rel=\"import\", href=\"${1:component.html}\")",
|
|
60
|
-
description: "Snippet emmet emulation for diet"
|
|
61
|
-
},
|
|
62
|
-
"manifest link": {
|
|
63
|
-
prefix: "link:manifest",
|
|
64
|
-
body: "link(rel=\"manifest\", href=\"${1:manifest.json}\")",
|
|
65
|
-
description: "Snippet emmet emulation for diet"
|
|
66
|
-
},
|
|
67
|
-
"print link": {
|
|
68
|
-
prefix: "link:print",
|
|
69
|
-
body: "link(rel=\"stylesheet\", href=\"${1:print}.css\", media=\"print\")",
|
|
70
|
-
description: "Snippet emmet emulation for diet"
|
|
71
|
-
},
|
|
72
|
-
"rss link": {
|
|
73
|
-
prefix: "link:rss",
|
|
74
|
-
body: "link(rel=\"alternate\", href=\"${1:rss.xml}\", type=\"application/rss+xml\", title=\"RSS\")",
|
|
75
|
-
description: "Snippet emmet emulation for diet"
|
|
76
|
-
},
|
|
77
|
-
"touch icon link": {
|
|
78
|
-
prefix: "link:touch",
|
|
79
|
-
body: "link(rel=\"apple-touch-icon\", href=\"favicon.png\")",
|
|
80
|
-
description: "Snippet emmet emulation for diet"
|
|
81
|
-
},
|
|
82
|
-
"script src": {
|
|
83
|
-
prefix: "script:src",
|
|
84
|
-
body: "script(src=\"$1\")",
|
|
85
|
-
description: "Snippet emmet emulation for diet"
|
|
86
|
-
},
|
|
87
|
-
style: style,
|
|
88
|
-
script: script,
|
|
89
|
-
markdown: markdown
|
|
90
|
-
};
|
|
91
|
-
|
|
92
|
-
export { diet as default, markdown, script, style };
|