@codingame/monaco-languageclient-wrapper 1.7.0 → 1.7.1

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 (165) hide show
  1. package/dist/BSV.tmLanguage.js +299 -0
  2. package/dist/COBOL Copybook.js +2017 -0
  3. package/dist/COBOL.js +2017 -0
  4. package/dist/COBOL.tmLanguage.js +149 -0
  5. package/dist/CodinGameMonacoWorkspace.d.ts +13 -0
  6. package/dist/Configuration.d.ts +15 -0
  7. package/dist/Erlang.plist.js +1752 -0
  8. package/dist/JSON.tmLanguage.js +221 -0
  9. package/dist/JSONC.tmLanguage.js +221 -0
  10. package/dist/JavaScript.tmLanguage.js +5894 -0
  11. package/dist/Kotlin.tmLanguage.js +724 -0
  12. package/dist/MagicPython.tmLanguage.js +5340 -0
  13. package/dist/MagicRegExp.tmLanguage.js +505 -0
  14. package/dist/Regular Expressions (JavaScript).tmLanguage.js +166 -0
  15. package/dist/SQL.plist.js +482 -0
  16. package/dist/Scala.tmLanguage.js +1255 -0
  17. package/dist/TypeScript.tmLanguage.js +5641 -0
  18. package/dist/WatchableConsoleWindow.d.ts +22 -0
  19. package/dist/_rollupPluginBabelHelpers.js +54 -0
  20. package/dist/asp-vb-net.tmlanguage.js +247 -0
  21. package/dist/bsv.js +49 -0
  22. package/dist/c.js +18 -0
  23. package/dist/c.tmLanguage.js +3347 -0
  24. package/dist/cabal.tmLanguage.js +66 -0
  25. package/dist/clojure.tmLanguage.js +443 -0
  26. package/dist/codeblock-cabal.js +42 -0
  27. package/dist/codeblock-haskell.js +42 -0
  28. package/dist/codeblock-literate-haskell.js +42 -0
  29. package/dist/codeblock.js +36 -0
  30. package/dist/codeblock2.js +95 -0
  31. package/dist/coffeescript.js +18 -0
  32. package/dist/coffeescript.tmLanguage.js +1324 -0
  33. package/dist/configuration/index.d.ts +5 -0
  34. package/dist/cpp.js +18 -0
  35. package/dist/cpp.tmLanguage.js +19996 -0
  36. package/dist/csharp.js +18 -0
  37. package/dist/csharp.tmLanguage.js +4750 -0
  38. package/dist/css.tmLanguage.js +1873 -0
  39. package/dist/css.worker.js +6 -0
  40. package/dist/cssContribution.js +10 -0
  41. package/dist/cuda-cpp.tmLanguage.js +19993 -0
  42. package/dist/d.js +3159 -0
  43. package/dist/dart.js +530 -0
  44. package/dist/diet.js +758 -0
  45. package/dist/diet2.js +92 -0
  46. package/dist/dml.js +169 -0
  47. package/dist/eex.js +55 -0
  48. package/dist/elixir.js +2341 -0
  49. package/dist/elixir2.js +184 -0
  50. package/dist/erlang.js +195 -0
  51. package/dist/expression.js +846 -0
  52. package/dist/extensions/autofold.d.ts +2 -0
  53. package/dist/extensions/cobol.d.ts +2 -0
  54. package/dist/extensions/index.d.ts +2 -0
  55. package/dist/features/cssContribution.d.ts +1 -0
  56. package/dist/features/htmlContribution.d.ts +1 -0
  57. package/dist/features/jsonContribution.d.ts +1 -0
  58. package/dist/features/typescriptContribution.d.ts +1 -0
  59. package/dist/fsharp.js +18 -0
  60. package/dist/fsharp.tmLanguage.js +1811 -0
  61. package/dist/go.tmLanguage.js +1025 -0
  62. package/dist/groovy.js +229 -0
  63. package/dist/groovy.tmLanguage.js +1391 -0
  64. package/dist/haskell.tmLanguage.js +629 -0
  65. package/dist/html (eex).js +31 -0
  66. package/dist/html-derivative.tmLanguage.js +57 -0
  67. package/dist/html.tmLanguage.js +2652 -0
  68. package/dist/html.tmLanguage2.js +97 -0
  69. package/dist/html.worker.js +6 -0
  70. package/dist/htmlContribution.js +10 -0
  71. package/dist/inline-styles.js +104 -0
  72. package/dist/inline-template.js +88 -0
  73. package/dist/java.js +18 -0
  74. package/dist/java.tmLanguage.js +1863 -0
  75. package/dist/javascript.js +196 -0
  76. package/dist/javascriptreact.js +196 -0
  77. package/dist/jsdoc.js.injection.tmLanguage.js +32 -0
  78. package/dist/jsdoc.ts.injection.tmLanguage.js +32 -0
  79. package/dist/json.worker.js +6 -0
  80. package/dist/jsonContribution.js +78 -0
  81. package/dist/keybindings/index.d.ts +2 -0
  82. package/dist/keybindings/keybindingHelper.d.ts +2 -0
  83. package/dist/keybindings/vim.d.ts +3 -0
  84. package/dist/kotlin.js +117 -0
  85. package/dist/kotlinscript.js +117 -0
  86. package/dist/languages/extensions/grammarLoader.d.ts +91037 -0
  87. package/dist/languages/extensions/snippetLoader.d.ts +4578 -0
  88. package/dist/languages/index.d.ts +3 -0
  89. package/dist/languages/monarch/index.d.ts +7 -0
  90. package/dist/languages/monarch/list.d.ts +7 -0
  91. package/dist/languages/monarch/stub-generator.d.ts +2 -0
  92. package/dist/languages/snippets/index.d.ts +1 -0
  93. package/dist/languages/textMate/CGTMGrammarFactory.d.ts +5 -0
  94. package/dist/languages/textMate/TextMateTokensProvider.d.ts +11 -0
  95. package/dist/languages/textMate/index.d.ts +2 -0
  96. package/dist/literateHaskell.tmLanguage.js +70 -0
  97. package/dist/lua.tmLanguage.js +289 -0
  98. package/dist/main.js +1 -1
  99. package/dist/markdown.js +103 -0
  100. package/dist/markdown.tmLanguage.js +2784 -0
  101. package/dist/merlin.js +111 -0
  102. package/dist/monaco.d.ts +8 -0
  103. package/dist/objective-c.tmLanguage.js +3618 -0
  104. package/dist/ocaml-hover-info.js +34 -0
  105. package/dist/ocaml-hover-type.js +24 -0
  106. package/dist/ocaml-markdown-codeblock.js +42 -0
  107. package/dist/ocaml.js +2979 -0
  108. package/dist/ocamlbuild.js +239 -0
  109. package/dist/opam.js +149 -0
  110. package/dist/pascal.js +382 -0
  111. package/dist/pascal.tmLanguage.js +169 -0
  112. package/dist/perl.tmLanguage.js +2986 -0
  113. package/dist/perl6.tmLanguage.js +323 -0
  114. package/dist/pgsql.tmLanguage.js +284 -0
  115. package/dist/php.js +265 -0
  116. package/dist/php.tmLanguage.js +3791 -0
  117. package/dist/platform.tmLanguage.js +1135 -0
  118. package/dist/powershell.js +18 -0
  119. package/dist/powershell.tmLanguage.js +1037 -0
  120. package/dist/r.tmLanguage.js +551 -0
  121. package/dist/reason-hover-info.js +34 -0
  122. package/dist/reason-hover-signature.js +21 -0
  123. package/dist/reason-hover-type.js +21 -0
  124. package/dist/reason-markdown-codeblock.js +42 -0
  125. package/dist/reason.js +100 -0
  126. package/dist/ruby.tmLanguage.js +2784 -0
  127. package/dist/rust.tmLanguage.js +1178 -0
  128. package/dist/sassdoc.tmLanguage.js +362 -0
  129. package/dist/scss.tmLanguage.js +1887 -0
  130. package/dist/sdc.tmLanguage.js +712 -0
  131. package/dist/sdl.js +162 -0
  132. package/dist/services/EditorModelResolverService.d.ts +8 -0
  133. package/dist/services/MultiEditorStandaloneCodeEditorService.d.ts +7 -0
  134. package/dist/shell-unix-bash.tmLanguage.js +1291 -0
  135. package/dist/sql.js +21 -0
  136. package/dist/stub-generator.js +15 -0
  137. package/dist/swift.js +183 -0
  138. package/dist/swift.tmLanguage.js +3288 -0
  139. package/dist/systemverilog.js +208 -0
  140. package/dist/systemverilog.tmLanguage.js +1067 -0
  141. package/dist/tcl.js +151 -0
  142. package/dist/tcl.tmlanguage.yaml.js +5484 -0
  143. package/dist/template.js +207 -0
  144. package/dist/theme/index.d.ts +3 -0
  145. package/dist/theme/registry.d.ts +4 -0
  146. package/dist/theme/semanticHighlight.d.ts +1 -0
  147. package/dist/theme/tools.d.ts +13 -0
  148. package/dist/tools.d.ts +3 -0
  149. package/dist/ts.worker.js +6 -0
  150. package/dist/typescript.js +312 -0
  151. package/dist/typescriptContribution.js +36 -0
  152. package/dist/typescriptreact.js +312 -0
  153. package/dist/ucf.tmLanguage.js +36 -0
  154. package/dist/vb.js +88 -0
  155. package/dist/verilog.js +432 -0
  156. package/dist/verilog.tmLanguage.js +321 -0
  157. package/dist/worker.d.ts +6 -0
  158. package/dist/worker.js +54 -0
  159. package/dist/xml.tmLanguage.js +395 -0
  160. package/dist/xsl.tmLanguage.js +102 -0
  161. package/dist/yaml.tmLanguage.js +629 -0
  162. package/package.json +5 -7
  163. package/stats.html +1 -1
  164. package/dist/monaco-languageclient-wrapper.d.ts +0 -1478
  165. package/dist/tsdoc-metadata.json +0 -11
package/dist/php.js ADDED
@@ -0,0 +1,265 @@
1
+ var php = {
2
+ "class …": {
3
+ prefix: "class",
4
+ body: [
5
+ "class ${1:ClassName} ${2:extends ${3:AnotherClass}} ${4:implements ${5:Interface}}",
6
+ "{",
7
+ "\t$0",
8
+ "}",
9
+ ""
10
+ ],
11
+ description: "Class definition"
12
+ },
13
+ "PHPDoc class …": {
14
+ prefix: "doc_class",
15
+ body: [
16
+ "/**",
17
+ " * ${6:undocumented class}",
18
+ " */",
19
+ "class ${1:ClassName} ${2:extends ${3:AnotherClass}} ${4:implements ${5:Interface}}",
20
+ "{",
21
+ "\t$0",
22
+ "}",
23
+ ""
24
+ ],
25
+ description: "Documented Class Declaration"
26
+ },
27
+ "function __construct": {
28
+ prefix: "con",
29
+ body: [
30
+ "${1:public} function __construct(${2:${3:Type} $${4:var}${5: = ${6:null}}}) {",
31
+ "\t\\$this->${4:var} = $${4:var};$0",
32
+ "}"
33
+ ]
34
+ },
35
+ "PHPDoc property": {
36
+ prefix: "doc_v",
37
+ body: [
38
+ "/** @var ${1:Type} $${2:var} ${3:description} */",
39
+ "${4:protected} $${2:var}${5: = ${6:null}};$0"
40
+ ],
41
+ description: "Documented Class Variable"
42
+ },
43
+ "PHPDoc function …": {
44
+ prefix: "doc_f",
45
+ body: [
46
+ "/**",
47
+ " * ${1:undocumented function summary}",
48
+ " *",
49
+ " * ${2:Undocumented function long description}",
50
+ " *",
51
+ "${3: * @param ${4:Type} $${5:var} ${6:Description}}",
52
+ "${7: * @return ${8:type}}",
53
+ "${9: * @throws ${10:conditon}}",
54
+ " **/",
55
+ "${11:public }function ${12:FunctionName}(${13:${14:${4:Type} }$${5:var}${15: = ${16:null}}})",
56
+ "{",
57
+ "\t${0:# code...}",
58
+ "}"
59
+ ],
60
+ description: "Documented function"
61
+ },
62
+ "PHPDoc param …": {
63
+ prefix: "param",
64
+ body: [
65
+ "* @param ${1:Type} ${2:var} ${3:Description}$0"
66
+ ],
67
+ description: "Parameter documentation"
68
+ },
69
+ "function …": {
70
+ prefix: "fun",
71
+ body: [
72
+ "${1:public }function ${2:FunctionName}(${3:${4:${5:Type} }$${6:var}${7: = ${8:null}}})",
73
+ "{",
74
+ "\t${0:# code...}",
75
+ "}"
76
+ ],
77
+ description: "Function"
78
+ },
79
+ "trait …": {
80
+ prefix: "trait",
81
+ body: [
82
+ "/**",
83
+ " * $1",
84
+ " */",
85
+ "trait ${2:TraitName}",
86
+ "{",
87
+ "\t$0",
88
+ "}",
89
+ ""
90
+ ],
91
+ description: "Trait"
92
+ },
93
+ "define(…, …)": {
94
+ prefix: "def",
95
+ body: [
96
+ "define('$1', ${2:'$3'});",
97
+ "$0"
98
+ ],
99
+ description: "Definition"
100
+ },
101
+ "do … while …": {
102
+ prefix: "do",
103
+ body: [
104
+ "do {",
105
+ "\t${0:# code...}",
106
+ "} while (${1:$${2:a} <= ${3:10}});"
107
+ ],
108
+ description: "Do-While loop"
109
+ },
110
+ "while …": {
111
+ prefix: "while",
112
+ body: [
113
+ "while (${1:$${2:a} <= ${3:10}}) {",
114
+ "\t${0:# code...}",
115
+ "}"
116
+ ],
117
+ description: "While-loop"
118
+ },
119
+ "if …": {
120
+ prefix: "if",
121
+ body: [
122
+ "if (${1:condition}) {",
123
+ "\t${0:# code...}",
124
+ "}"
125
+ ],
126
+ description: "If block"
127
+ },
128
+ "if … else …": {
129
+ prefix: "ifelse",
130
+ body: [
131
+ "if (${1:condition}) {",
132
+ "\t${2:# code...}",
133
+ "} else {",
134
+ "\t${3:# code...}",
135
+ "}",
136
+ "$0"
137
+ ],
138
+ description: "If Else block"
139
+ },
140
+ "$… = ( … ) ? … : …": {
141
+ prefix: "if?",
142
+ body: "$${1:retVal} = (${2:condition}) ? ${3:a} : ${4:b} ;",
143
+ description: "Ternary conditional assignment"
144
+ },
145
+ "else …": {
146
+ prefix: "else",
147
+ body: [
148
+ "else {",
149
+ "\t${0:# code...}",
150
+ "}"
151
+ ],
152
+ description: "Else block"
153
+ },
154
+ "elseif …": {
155
+ prefix: "elseif",
156
+ body: [
157
+ "elseif (${1:condition}) {",
158
+ "\t${0:# code...}",
159
+ "}"
160
+ ],
161
+ description: "Elseif block"
162
+ },
163
+ "for …": {
164
+ prefix: "for",
165
+ body: [
166
+ "for ($${1:i}=${2:0}; $${1:i} < $3; $${1:i}++) { ",
167
+ "\t${0:# code...}",
168
+ "}"
169
+ ],
170
+ description: "For-loop"
171
+ },
172
+ "foreach …": {
173
+ prefix: "foreach",
174
+ body: [
175
+ "foreach ($${1:variable} as $${2:key} ${3:=> $${4:value}}) {",
176
+ "\t${0:# code...}",
177
+ "}"
178
+ ],
179
+ description: "Foreach loop"
180
+ },
181
+ "$… = array (…)": {
182
+ prefix: "array",
183
+ body: "$${1:arrayName} = array('$2' => $3${4:,} $0);",
184
+ description: "Array initializer"
185
+ },
186
+ "$… = […]": {
187
+ prefix: "shorray",
188
+ body: "$${1:arrayName} = ['$2' => $3${4:,} $0];",
189
+ description: "Array initializer"
190
+ },
191
+ "… => …": {
192
+ prefix: "keyval",
193
+ body: "'$1' => $2${3:,} $0",
194
+ description: "Key-Value initializer"
195
+ },
196
+ "switch …": {
197
+ prefix: "switch",
198
+ body: [
199
+ "switch (\\$${1:variable}) {",
200
+ "\tcase '${2:value}':",
201
+ "\t\t${3:# code...}",
202
+ "\t\tbreak;",
203
+ "\t$0",
204
+ "\tdefault:",
205
+ "\t\t${4:# code...}",
206
+ "\t\tbreak;",
207
+ "}"
208
+ ],
209
+ description: "Switch block"
210
+ },
211
+ "case …": {
212
+ prefix: "case",
213
+ body: [
214
+ "case '${1:value}':",
215
+ "\t${0:# code...}",
216
+ "\tbreak;"
217
+ ],
218
+ description: "Case Block"
219
+ },
220
+ "$this->…": {
221
+ prefix: "this",
222
+ body: "\\$this->$0;",
223
+ description: "$this->..."
224
+ },
225
+ "echo $this->…": {
226
+ prefix: "ethis",
227
+ body: "echo \\$this->$0;",
228
+ description: "Echo this"
229
+ },
230
+ "Throw Exception": {
231
+ prefix: "throw",
232
+ body: [
233
+ "throw new $1Exception(${2:\"${3:Error Processing Request}\"}${4:, ${5:1}});",
234
+ "$0"
235
+ ],
236
+ description: "Throw exception"
237
+ },
238
+ "Region Start": {
239
+ prefix: "#region",
240
+ body: [
241
+ "#region"
242
+ ],
243
+ description: "Folding Region Start"
244
+ },
245
+ "Region End": {
246
+ prefix: "#endregion",
247
+ body: [
248
+ "#endregion"
249
+ ],
250
+ description: "Folding Region End"
251
+ },
252
+ "Try Catch Block": {
253
+ prefix: "try",
254
+ body: [
255
+ "try {",
256
+ "\t${1://code...}",
257
+ "} catch (${2:\\Throwable} ${3:\\$th}) {",
258
+ "\t${4://throw \\$th;}",
259
+ "}"
260
+ ],
261
+ description: "Try catch block"
262
+ }
263
+ };
264
+
265
+ export { php as default };