@codingame/monaco-languageclient-wrapper 1.4.1 → 1.7.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.
Files changed (171) hide show
  1. package/dist/createLanguageClient.d.ts +3 -3
  2. package/dist/extensionConfiguration.d.ts +1 -1
  3. package/dist/index.d.ts +4 -3
  4. package/dist/languageClient.d.ts +4 -7
  5. package/dist/languageClientOptions.d.ts +9 -0
  6. package/dist/main.js +619 -760
  7. package/dist/monaco-languageclient-wrapper.d.ts +1478 -0
  8. package/dist/staticOptions.d.ts +4 -8
  9. package/dist/tsdoc-metadata.json +11 -0
  10. package/package.json +20 -15
  11. package/stats.html +205 -795
  12. package/dist/BSV.tmLanguage.js +0 -299
  13. package/dist/COBOL Copybook.js +0 -2017
  14. package/dist/COBOL.js +0 -2017
  15. package/dist/COBOL.tmLanguage.js +0 -149
  16. package/dist/CodinGameMonacoWorkspace.d.ts +0 -13
  17. package/dist/Configuration.d.ts +0 -15
  18. package/dist/Erlang.plist.js +0 -1752
  19. package/dist/JSON.tmLanguage.js +0 -221
  20. package/dist/JSONC.tmLanguage.js +0 -221
  21. package/dist/JavaScript.tmLanguage.js +0 -5894
  22. package/dist/Kotlin.tmLanguage.js +0 -724
  23. package/dist/MagicPython.tmLanguage.js +0 -5340
  24. package/dist/MagicRegExp.tmLanguage.js +0 -505
  25. package/dist/Regular Expressions (JavaScript).tmLanguage.js +0 -166
  26. package/dist/SQL.plist.js +0 -482
  27. package/dist/Scala.tmLanguage.js +0 -1255
  28. package/dist/TypeScript.tmLanguage.js +0 -5641
  29. package/dist/WatchableConsoleWindow.d.ts +0 -22
  30. package/dist/_rollupPluginBabelHelpers.js +0 -54
  31. package/dist/asp-vb-net.tmlanguage.js +0 -247
  32. package/dist/bsv.js +0 -49
  33. package/dist/c.js +0 -18
  34. package/dist/c.tmLanguage.js +0 -3347
  35. package/dist/cabal.tmLanguage.js +0 -66
  36. package/dist/clojure.tmLanguage.js +0 -443
  37. package/dist/codeblock-cabal.js +0 -42
  38. package/dist/codeblock-haskell.js +0 -42
  39. package/dist/codeblock-literate-haskell.js +0 -42
  40. package/dist/codeblock.js +0 -36
  41. package/dist/codeblock2.js +0 -95
  42. package/dist/coffeescript.js +0 -18
  43. package/dist/coffeescript.tmLanguage.js +0 -1324
  44. package/dist/configuration/index.d.ts +0 -5
  45. package/dist/cpp.js +0 -18
  46. package/dist/cpp.tmLanguage.js +0 -19996
  47. package/dist/csharp.js +0 -18
  48. package/dist/csharp.tmLanguage.js +0 -4750
  49. package/dist/css.tmLanguage.js +0 -1873
  50. package/dist/css.worker.js +0 -6
  51. package/dist/cssContribution.js +0 -10
  52. package/dist/cuda-cpp.tmLanguage.js +0 -19993
  53. package/dist/d.js +0 -3159
  54. package/dist/dart.js +0 -530
  55. package/dist/diet.js +0 -758
  56. package/dist/diet2.js +0 -92
  57. package/dist/dml.js +0 -169
  58. package/dist/eex.js +0 -55
  59. package/dist/elixir.js +0 -2341
  60. package/dist/elixir2.js +0 -184
  61. package/dist/erlang.js +0 -195
  62. package/dist/expression.js +0 -846
  63. package/dist/extensions/autofold.d.ts +0 -2
  64. package/dist/extensions/cobol.d.ts +0 -2
  65. package/dist/extensions/index.d.ts +0 -2
  66. package/dist/features/cssContribution.d.ts +0 -1
  67. package/dist/features/htmlContribution.d.ts +0 -1
  68. package/dist/features/jsonContribution.d.ts +0 -1
  69. package/dist/features/typescriptContribution.d.ts +0 -1
  70. package/dist/fsharp.js +0 -18
  71. package/dist/fsharp.tmLanguage.js +0 -1811
  72. package/dist/go.tmLanguage.js +0 -1025
  73. package/dist/groovy.js +0 -229
  74. package/dist/groovy.tmLanguage.js +0 -1391
  75. package/dist/haskell.tmLanguage.js +0 -629
  76. package/dist/html (eex).js +0 -31
  77. package/dist/html-derivative.tmLanguage.js +0 -57
  78. package/dist/html.tmLanguage.js +0 -2652
  79. package/dist/html.tmLanguage2.js +0 -97
  80. package/dist/html.worker.js +0 -6
  81. package/dist/htmlContribution.js +0 -10
  82. package/dist/inline-styles.js +0 -104
  83. package/dist/inline-template.js +0 -88
  84. package/dist/java.js +0 -18
  85. package/dist/java.tmLanguage.js +0 -1863
  86. package/dist/javascript.js +0 -196
  87. package/dist/javascriptreact.js +0 -196
  88. package/dist/jsdoc.js.injection.tmLanguage.js +0 -32
  89. package/dist/jsdoc.ts.injection.tmLanguage.js +0 -32
  90. package/dist/json.worker.js +0 -6
  91. package/dist/jsonContribution.js +0 -78
  92. package/dist/keybindings/index.d.ts +0 -2
  93. package/dist/keybindings/keybindingHelper.d.ts +0 -2
  94. package/dist/keybindings/vim.d.ts +0 -3
  95. package/dist/kotlin.js +0 -117
  96. package/dist/kotlinscript.js +0 -117
  97. package/dist/languages/extensions/grammarLoader.d.ts +0 -91037
  98. package/dist/languages/extensions/snippetLoader.d.ts +0 -4578
  99. package/dist/languages/index.d.ts +0 -3
  100. package/dist/languages/monarch/index.d.ts +0 -7
  101. package/dist/languages/monarch/list.d.ts +0 -7
  102. package/dist/languages/monarch/stub-generator.d.ts +0 -2
  103. package/dist/languages/snippets/index.d.ts +0 -1
  104. package/dist/languages/textMate/CGTMGrammarFactory.d.ts +0 -5
  105. package/dist/languages/textMate/TextMateTokensProvider.d.ts +0 -11
  106. package/dist/languages/textMate/index.d.ts +0 -2
  107. package/dist/literateHaskell.tmLanguage.js +0 -70
  108. package/dist/lua.tmLanguage.js +0 -289
  109. package/dist/markdown.js +0 -103
  110. package/dist/markdown.tmLanguage.js +0 -2784
  111. package/dist/merlin.js +0 -111
  112. package/dist/monaco.d.ts +0 -8
  113. package/dist/objective-c.tmLanguage.js +0 -3618
  114. package/dist/ocaml-hover-info.js +0 -34
  115. package/dist/ocaml-hover-type.js +0 -24
  116. package/dist/ocaml-markdown-codeblock.js +0 -42
  117. package/dist/ocaml.js +0 -2979
  118. package/dist/ocamlbuild.js +0 -239
  119. package/dist/opam.js +0 -149
  120. package/dist/pascal.js +0 -382
  121. package/dist/pascal.tmLanguage.js +0 -169
  122. package/dist/perl.tmLanguage.js +0 -2986
  123. package/dist/perl6.tmLanguage.js +0 -323
  124. package/dist/pgsql.tmLanguage.js +0 -284
  125. package/dist/php.js +0 -265
  126. package/dist/php.tmLanguage.js +0 -3791
  127. package/dist/platform.tmLanguage.js +0 -1135
  128. package/dist/powershell.js +0 -18
  129. package/dist/powershell.tmLanguage.js +0 -1037
  130. package/dist/r.tmLanguage.js +0 -551
  131. package/dist/reason-hover-info.js +0 -34
  132. package/dist/reason-hover-signature.js +0 -21
  133. package/dist/reason-hover-type.js +0 -21
  134. package/dist/reason-markdown-codeblock.js +0 -42
  135. package/dist/reason.js +0 -100
  136. package/dist/ruby.tmLanguage.js +0 -2784
  137. package/dist/rust.tmLanguage.js +0 -1178
  138. package/dist/sassdoc.tmLanguage.js +0 -362
  139. package/dist/scss.tmLanguage.js +0 -1887
  140. package/dist/sdc.tmLanguage.js +0 -712
  141. package/dist/sdl.js +0 -162
  142. package/dist/services/EditorModelResolverService.d.ts +0 -8
  143. package/dist/services/MultiEditorStandaloneCodeEditorService.d.ts +0 -7
  144. package/dist/shell-unix-bash.tmLanguage.js +0 -1291
  145. package/dist/sql.js +0 -21
  146. package/dist/stub-generator.js +0 -15
  147. package/dist/swift.js +0 -183
  148. package/dist/swift.tmLanguage.js +0 -3288
  149. package/dist/systemverilog.js +0 -208
  150. package/dist/systemverilog.tmLanguage.js +0 -1067
  151. package/dist/tcl.js +0 -151
  152. package/dist/tcl.tmlanguage.yaml.js +0 -5484
  153. package/dist/template.js +0 -207
  154. package/dist/theme/index.d.ts +0 -3
  155. package/dist/theme/registry.d.ts +0 -4
  156. package/dist/theme/semanticHighlight.d.ts +0 -1
  157. package/dist/theme/tools.d.ts +0 -13
  158. package/dist/tools.d.ts +0 -3
  159. package/dist/ts.worker.js +0 -6
  160. package/dist/typescript.js +0 -312
  161. package/dist/typescriptContribution.js +0 -36
  162. package/dist/typescriptreact.js +0 -312
  163. package/dist/ucf.tmLanguage.js +0 -36
  164. package/dist/vb.js +0 -88
  165. package/dist/verilog.js +0 -432
  166. package/dist/verilog.tmLanguage.js +0 -321
  167. package/dist/worker.d.ts +0 -6
  168. package/dist/worker.js +0 -54
  169. package/dist/xml.tmLanguage.js +0 -395
  170. package/dist/xsl.tmLanguage.js +0 -102
  171. package/dist/yaml.tmLanguage.js +0 -629
@@ -1,312 +0,0 @@
1
- var Constructor = {
2
- prefix: "ctor",
3
- body: [
4
- "/**",
5
- " *",
6
- " */",
7
- "constructor() {",
8
- "\tsuper();",
9
- "\t$0",
10
- "}"
11
- ],
12
- description: "Constructor"
13
- };
14
- var typescriptreact = {
15
- Constructor: Constructor,
16
- "Class Definition": {
17
- prefix: "class",
18
- body: [
19
- "class ${1:name} {",
20
- "\tconstructor(${2:parameters}) {",
21
- "\t\t$0",
22
- "\t}",
23
- "}"
24
- ],
25
- description: "Class Definition"
26
- },
27
- "Public Method Definition": {
28
- prefix: "public method",
29
- body: [
30
- "/**",
31
- " * ${1:name}",
32
- " */",
33
- "public ${1:name}() {",
34
- "\t$0",
35
- "}"
36
- ],
37
- description: "Public Method Definition"
38
- },
39
- "Private Method Definition": {
40
- prefix: "private method",
41
- body: [
42
- "private ${1:name}() {",
43
- "\t$0",
44
- "}"
45
- ],
46
- description: "Private Method Definition"
47
- },
48
- "Import external module.": {
49
- prefix: "import statement",
50
- body: [
51
- "import { $0 } from \"${1:module}\";"
52
- ],
53
- description: "Import external module."
54
- },
55
- "Property getter": {
56
- prefix: "get",
57
- body: [
58
- "",
59
- "public get ${1:value}() : ${2:string} {",
60
- "\t${3:return $0}",
61
- "}",
62
- ""
63
- ],
64
- description: "Property getter"
65
- },
66
- "Log to the console": {
67
- prefix: "log",
68
- body: [
69
- "console.log($1);",
70
- "$0"
71
- ],
72
- description: "Log to the console"
73
- },
74
- "Log warning to console": {
75
- prefix: "warn",
76
- body: [
77
- "console.warn($1);",
78
- "$0"
79
- ],
80
- description: "Log warning to the console"
81
- },
82
- "Log error to console": {
83
- prefix: "error",
84
- body: [
85
- "console.error($1);",
86
- "$0"
87
- ],
88
- description: "Log error to the console"
89
- },
90
- "Define a full property": {
91
- prefix: "prop",
92
- body: [
93
- "",
94
- "private _${1:value} : ${2:string};",
95
- "public get ${1:value}() : ${2:string} {",
96
- "\treturn this._${1:value};",
97
- "}",
98
- "public set ${1:value}(v : ${2:string}) {",
99
- "\tthis._${1:value} = v;",
100
- "}",
101
- ""
102
- ],
103
- description: "Define a full property"
104
- },
105
- "Triple-slash reference": {
106
- prefix: "ref",
107
- body: [
108
- "/// <reference path=\"$1\" />",
109
- "$0"
110
- ],
111
- description: "Triple-slash reference"
112
- },
113
- "Property setter": {
114
- prefix: "set",
115
- body: [
116
- "",
117
- "public set ${1:value}(v : ${2:string}) {",
118
- "\tthis.$3 = v;",
119
- "}",
120
- ""
121
- ],
122
- description: "Property setter"
123
- },
124
- "Throw Exception": {
125
- prefix: "throw",
126
- body: [
127
- "throw new Error(\"$1\");",
128
- "$0"
129
- ],
130
- description: "Throw Exception"
131
- },
132
- "For Loop": {
133
- prefix: "for",
134
- body: [
135
- "for (let ${1:index} = 0; ${1:index} < ${2:array}.length; ${1:index}++) {",
136
- "\tconst ${3:element} = ${2:array}[${1:index}];",
137
- "\t$0",
138
- "}"
139
- ],
140
- description: "For Loop"
141
- },
142
- "For-Each Loop using =>": {
143
- prefix: "foreach =>",
144
- body: [
145
- "${1:array}.forEach(${2:element} => {",
146
- "\t$0",
147
- "});"
148
- ],
149
- description: "For-Each Loop using =>"
150
- },
151
- "For-In Loop": {
152
- prefix: "forin",
153
- body: [
154
- "for (const ${1:key} in ${2:object}) {",
155
- "\tif (Object.prototype.hasOwnProperty.call(${2:object}, ${1:key})) {",
156
- "\t\tconst ${3:element} = ${2:object}[${1:key}];",
157
- "\t\t$0",
158
- "\t}",
159
- "}"
160
- ],
161
- description: "For-In Loop"
162
- },
163
- "For-Of Loop": {
164
- prefix: "forof",
165
- body: [
166
- "for (const ${1:iterator} of ${2:object}) {",
167
- "\t$0",
168
- "}"
169
- ],
170
- description: "For-Of Loop"
171
- },
172
- "For-Await-Of Loop": {
173
- prefix: "forawaitof",
174
- body: [
175
- "for await (const ${1:iterator} of ${2:object}) {",
176
- "\t$0",
177
- "}"
178
- ],
179
- description: "For-Await-Of Loop"
180
- },
181
- "Function Statement": {
182
- prefix: "function",
183
- body: [
184
- "function ${1:name}(${2:params}:${3:type}) {",
185
- "\t$0",
186
- "}"
187
- ],
188
- description: "Function Statement"
189
- },
190
- "If Statement": {
191
- prefix: "if",
192
- body: [
193
- "if (${1:condition}) {",
194
- "\t$0",
195
- "}"
196
- ],
197
- description: "If Statement"
198
- },
199
- "If-Else Statement": {
200
- prefix: "ifelse",
201
- body: [
202
- "if (${1:condition}) {",
203
- "\t$0",
204
- "} else {",
205
- "\t",
206
- "}"
207
- ],
208
- description: "If-Else Statement"
209
- },
210
- "New Statement": {
211
- prefix: "new",
212
- body: [
213
- "const ${1:name} = new ${2:type}(${3:arguments});$0"
214
- ],
215
- description: "New Statement"
216
- },
217
- "Switch Statement": {
218
- prefix: "switch",
219
- body: [
220
- "switch (${1:key}) {",
221
- "\tcase ${2:value}:",
222
- "\t\t$0",
223
- "\t\tbreak;",
224
- "",
225
- "\tdefault:",
226
- "\t\tbreak;",
227
- "}"
228
- ],
229
- description: "Switch Statement"
230
- },
231
- "While Statement": {
232
- prefix: "while",
233
- body: [
234
- "while (${1:condition}) {",
235
- "\t$0",
236
- "}"
237
- ],
238
- description: "While Statement"
239
- },
240
- "Do-While Statement": {
241
- prefix: "dowhile",
242
- body: [
243
- "do {",
244
- "\t$0",
245
- "} while (${1:condition});"
246
- ],
247
- description: "Do-While Statement"
248
- },
249
- "Try-Catch Statement": {
250
- prefix: "trycatch",
251
- body: [
252
- "try {",
253
- "\t$0",
254
- "} catch (${1:error}) {",
255
- "\t",
256
- "}"
257
- ],
258
- description: "Try-Catch Statement"
259
- },
260
- "Set Timeout Function": {
261
- prefix: "settimeout",
262
- body: [
263
- "setTimeout(() => {",
264
- "\t$0",
265
- "}, ${1:timeout});"
266
- ],
267
- description: "Set Timeout Function"
268
- },
269
- "Region Start": {
270
- prefix: "#region",
271
- body: [
272
- "//#region $0"
273
- ],
274
- description: "Folding Region Start"
275
- },
276
- "Region End": {
277
- prefix: "#endregion",
278
- body: [
279
- "//#endregion"
280
- ],
281
- description: "Folding Region End"
282
- },
283
- "new Promise": {
284
- prefix: "newpromise",
285
- body: [
286
- "new Promise<${1:void}>((resolve, reject) => {",
287
- "\t$0",
288
- "})"
289
- ],
290
- description: "Create a new Promise"
291
- },
292
- "Async Function Statement": {
293
- prefix: "async function",
294
- body: [
295
- "async function ${1:name}(${2:params}:${3:type}) {",
296
- "\t$0",
297
- "}"
298
- ],
299
- description: "Async Function Statement"
300
- },
301
- "Async Function Expression": {
302
- prefix: "async arrow function",
303
- body: [
304
- "async (${1:params}:${2:type}) => {",
305
- "\t$0",
306
- "}"
307
- ],
308
- description: "Async Function Expression"
309
- }
310
- };
311
-
312
- export { Constructor, typescriptreact as default };
@@ -1,36 +0,0 @@
1
- var fileTypes = [
2
- "ucf",
3
- "UCF"
4
- ];
5
- var name = "ucfconstraints";
6
- var patterns = [
7
- {
8
- name: "keyword.other",
9
- match: "\\b(NET|TIMESPEC|TIMEGRP|INST|AREA_GROUP|RANGE|LOC|TNM|TIG|TNM_NET)\\b"
10
- },
11
- {
12
- match: "(#).*$\\n?",
13
- name: "comment.line"
14
- },
15
- {
16
- match: "(=)",
17
- name: "keyword.other"
18
- }
19
- ];
20
- var scopeName = "source.ucfconstraints";
21
- var uuid = "443130c7-cdc8-4a90-836c-a530d3b17266";
22
- var information_for_contributors = [
23
- "This file has been converted from https://github.com/mshr-h/vscode-verilog-hdl-support/blob/master/",
24
- "If you want to provide a fix or improvement, please create a pull request against the original repository.",
25
- "Once accepted there, we are happy to receive an update request."
26
- ];
27
- var ucf_tmLanguage = {
28
- fileTypes: fileTypes,
29
- name: name,
30
- patterns: patterns,
31
- scopeName: scopeName,
32
- uuid: uuid,
33
- information_for_contributors: information_for_contributors
34
- };
35
-
36
- export { ucf_tmLanguage as default, fileTypes, information_for_contributors, name, patterns, scopeName, uuid };
package/dist/vb.js DELETED
@@ -1,88 +0,0 @@
1
- var vb = {
2
- "For Next Loop": {
3
- prefix: "for",
4
- body: [
5
- "For ${1:index} As ${2:ObjectType} = ${3:lower} To ${4:Upper}",
6
- "\t$0",
7
- "Next ${1:index}"
8
- ],
9
- description: "For Next Loop"
10
- },
11
- "For Each...Next": {
12
- prefix: "fore",
13
- body: [
14
- "For Each ${1:Variable} As ${2:ObjectType} In ${3:Collection}",
15
- "\t$0",
16
- "Next"
17
- ],
18
- description: "For Each...Next"
19
- },
20
- "For i...Next i": {
21
- prefix: "fori",
22
- body: [
23
- "For i As ${1:Integer} = ${2:Lower} To ${3:Upper}",
24
- "\t$0",
25
- "Next i"
26
- ],
27
- description: "For i...Next i"
28
- },
29
- "For j...Next j": {
30
- prefix: "forj",
31
- body: [
32
- "For j As ${1:Integer} = ${2:Lower} To ${3:Upper}",
33
- "\t$0",
34
- "Next j"
35
- ],
36
- description: "For j...Next j"
37
- },
38
- "Public Function...": {
39
- prefix: "pf",
40
- body: [
41
- "Public Function ${1:FunctionName}(${2:ParameterList}) As ${3:ReturnType}",
42
- "\tTry",
43
- "\t\t$0",
44
- "\tCatch ex As Exception",
45
- "\tEnd Try",
46
- "\tReturn ${3:ReturnValue}",
47
- "End Function"
48
- ],
49
- description: "Public Function..."
50
- },
51
- "Public Sub ...": {
52
- prefix: "ps",
53
- body: [
54
- "Public Sub ${1:ProcedureName}(${2:ParameterList})",
55
- "\tTry",
56
- "\t\t$0",
57
- "\tCatch ex As Exception",
58
- "\tEnd Try",
59
- "End Sub"
60
- ],
61
- description: "Public Sub ..."
62
- },
63
- "While ... End While": {
64
- prefix: "while",
65
- body: [
66
- "While ${1:Boolean}",
67
- "\t$0",
68
- "End While"
69
- ],
70
- description: "While ... End While"
71
- },
72
- "Region Start": {
73
- prefix: "#Region",
74
- body: [
75
- "#Region $0"
76
- ],
77
- description: "Folding Region Start"
78
- },
79
- "Region End": {
80
- prefix: "#End Region",
81
- body: [
82
- "#End Region"
83
- ],
84
- description: "Folding Region End"
85
- }
86
- };
87
-
88
- export { vb as default };