@codingame/monaco-editor-wrapper 1.4.3 → 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 (99) hide show
  1. package/dist/COBOL Copybook2.js +2017 -0
  2. package/dist/COBOL2.js +2017 -0
  3. package/dist/JavaScript.tmLanguage.js +0 -49
  4. package/dist/JavaScriptReact.tmLanguage.js +0 -49
  5. package/dist/SQL.plist.js +482 -0
  6. package/dist/TypeScript.tmLanguage.js +0 -49
  7. package/dist/TypeScriptReact.tmLanguage.js +0 -49
  8. package/dist/bsv2.js +49 -0
  9. package/dist/c2.js +18 -0
  10. package/dist/cobol-snippets.js +2017 -0
  11. package/dist/codeblock3.js +18 -18
  12. package/dist/coffeescript-coffeescript.code-snippets.js +18 -0
  13. package/dist/coffeescript2.js +18 -0
  14. package/dist/configuration/hack.d.ts +2 -0
  15. package/dist/cpp-c.code-snippets.js +18 -0
  16. package/dist/cpp-cpp.code-snippets.js +18 -0
  17. package/dist/cpp2.js +18 -0
  18. package/dist/cpptools.js +7 -1
  19. package/dist/csharp2.js +508 -0
  20. package/dist/css.worker.js +1 -1
  21. package/dist/cssContribution.js +10 -0
  22. package/dist/diet3.js +92 -0
  23. package/dist/elixir-snippets.js +184 -0
  24. package/dist/extensionConfigurations.js +9475 -0
  25. package/dist/features/extensionConfigurations.js +3 -3
  26. package/dist/fsharp-fsharp.code-snippets.js +18 -0
  27. package/dist/fsharp2.js +18 -0
  28. package/dist/groovy-groovy.code-snippets.js +229 -0
  29. package/dist/groovy2.js +229 -0
  30. package/dist/hacks.d.ts +2 -1
  31. package/dist/html (eex).js +31 -0
  32. package/dist/html.worker.js +1 -1
  33. package/dist/htmlContribution.js +10 -0
  34. package/dist/index.d.ts +2 -2
  35. package/dist/java-java.js +4 -1
  36. package/dist/java.js +11 -0
  37. package/dist/java2.js +3 -2
  38. package/dist/javascript-javascript.code-snippets.js +196 -0
  39. package/dist/javascript2.js +196 -0
  40. package/dist/javascriptreact2.js +196 -0
  41. package/dist/json.worker.js +1 -1
  42. package/dist/jsonContribution.js +78 -0
  43. package/dist/keybindings/index.d.ts +2 -1
  44. package/dist/keybindings/keybindingHelper.d.ts +1 -1
  45. package/dist/kotlin2.js +117 -0
  46. package/dist/kotlinscript2.js +117 -0
  47. package/dist/languages/extensions/configurationLoader.d.ts +1306 -0
  48. package/dist/languages/extensions/languageConfigurationLoader.d.ts +9 -1
  49. package/dist/languages/monarch/list.d.ts +7 -0
  50. package/dist/languages/textMate/CGTMTokenizationSupport.d.ts +2 -2
  51. package/dist/languages/textMate/TextMateTokensProvider.d.ts +11 -0
  52. package/dist/lua2.js +35 -0
  53. package/dist/main.js +186 -232
  54. package/dist/markdown-basics-markdown.code-snippets.js +121 -0
  55. package/dist/markdown-basics.js +103 -0
  56. package/dist/markdown2.js +103 -0
  57. package/dist/monaco.d.ts +0 -1
  58. package/dist/pgsql-sql.js +21 -0
  59. package/dist/pgsql.js +21 -0
  60. package/dist/php-php.code-snippets.js +265 -0
  61. package/dist/php2.js +265 -0
  62. package/dist/powershell-powershell.code-snippets.js +18 -0
  63. package/dist/powershell2.js +18 -0
  64. package/dist/r.tmLanguage.js +572 -0
  65. package/dist/r2.js +1 -1
  66. package/dist/reason2.js +100 -0
  67. package/dist/scalameta.js +12 -1
  68. package/dist/services/MultiEditorStandaloneCodeEditorService.d.ts +3 -3
  69. package/dist/services/TextModelService.d.ts +25 -0
  70. package/dist/services/functional.d.ts +1 -0
  71. package/dist/services/lyfecycle.d.ts +13 -0
  72. package/dist/sql2.js +21 -0
  73. package/dist/svlangserver-systemverilog.js +395 -0
  74. package/dist/svlangserver.js +85 -0
  75. package/dist/swift-swift.code-snippets.js +183 -0
  76. package/dist/swift2.js +183 -0
  77. package/dist/systemverilog.js +41 -7
  78. package/dist/systemverilog.tmLanguage.js +676 -496
  79. package/dist/systemverilog2.js +208 -0
  80. package/dist/tcl2.js +151 -0
  81. package/dist/theme/tools.d.ts +2 -1
  82. package/dist/ts.worker.js +1 -1
  83. package/dist/typescript-basics-typescript.code-snippets.js +312 -0
  84. package/dist/typescript-basics.js +312 -0
  85. package/dist/typescript-language-features.js +14 -4
  86. package/dist/typescript2.js +312 -0
  87. package/dist/typescriptContribution.js +36 -0
  88. package/dist/typescriptreact2.js +312 -0
  89. package/dist/vb-vb.code-snippets.js +88 -0
  90. package/dist/vb2.js +88 -0
  91. package/dist/verilog-systemverilog.js +327 -140
  92. package/dist/verilog.js +85 -3
  93. package/dist/verilog2.js +56 -65
  94. package/dist/vscode-R-r-snippets.js +534 -0
  95. package/dist/vscode-R-rmarkdown.js +91 -0
  96. package/dist/vscode-python.js +9 -0
  97. package/dist/worker.js +1 -1
  98. package/package.json +18 -14
  99. package/stats.html +1 -1
@@ -38,9 +38,9 @@ const loader = {
38
38
  'erlang': async () => (await import(
39
39
  /* webpackChunkName: "configuration-registration-erlang" */
40
40
  '../erlang2.js').then(module => module)).default,
41
- 'verilog': async () => (await import(
42
- /* webpackChunkName: "configuration-registration-verilog" */
43
- '../verilog2.js').then(module => module)).default,
41
+ 'svlangserver': async () => (await import(
42
+ /* webpackChunkName: "configuration-registration-svlangserver" */
43
+ '../svlangserver.js').then(module => module)).default,
44
44
  'postgresql': async () => (await import(
45
45
  /* webpackChunkName: "configuration-registration-postgresql" */
46
46
  '../postgresql.js').then(module => module)).default,
@@ -0,0 +1,18 @@
1
+ var fsharpFsharp_codeSnippets = {
2
+ "Region Start": {
3
+ prefix: "#region",
4
+ body: [
5
+ "//#region $0"
6
+ ],
7
+ description: "Folding Region Start"
8
+ },
9
+ "Region End": {
10
+ prefix: "#endregion",
11
+ body: [
12
+ "//#endregion"
13
+ ],
14
+ description: "Folding Region End"
15
+ }
16
+ };
17
+
18
+ export { fsharpFsharp_codeSnippets as default };
@@ -0,0 +1,18 @@
1
+ var fsharp = {
2
+ "Region Start": {
3
+ prefix: "#region",
4
+ body: [
5
+ "//#region $0"
6
+ ],
7
+ description: "Folding Region Start"
8
+ },
9
+ "Region End": {
10
+ prefix: "#endregion",
11
+ body: [
12
+ "//#endregion"
13
+ ],
14
+ description: "Folding Region End"
15
+ }
16
+ };
17
+
18
+ export { fsharp as default };
@@ -0,0 +1,229 @@
1
+ var print = {
2
+ prefix: "p",
3
+ body: "print $0",
4
+ description: "print"
5
+ };
6
+ var groovyGroovy_codeSnippets = {
7
+ "replace(dir: …, includes: …, token: …, value: …)": {
8
+ prefix: "replace",
9
+ body: "replace(dir:\"${1:dirName}\", includes:\"${2:*.*}\", token:\"${3:tokenName}\", value:\"\\${${4:value}}\")$0",
10
+ description: "Replace(...)"
11
+ },
12
+ "Doc Block": {
13
+ prefix: "doc",
14
+ body: [
15
+ "/**",
16
+ " * $0",
17
+ " */"
18
+ ],
19
+ description: "Doc block comment"
20
+ },
21
+ "key: \"value\" (Hash Pair)": {
22
+ prefix: "key",
23
+ body: "${1:key}: ${2:\"${3:value}\"}"
24
+ },
25
+ "Thread.start { … }": {
26
+ prefix: "thread",
27
+ body: [
28
+ "Thread.start {",
29
+ "\t$0",
30
+ "}"
31
+ ],
32
+ description: "Thread.start { ... }"
33
+ },
34
+ "Thread.startDaemon { … }": {
35
+ prefix: "thread",
36
+ body: [
37
+ "Thread.startDaemon {",
38
+ "\t$0",
39
+ "}"
40
+ ],
41
+ description: "Thread.startDaemon { ... }"
42
+ },
43
+ "case … break": {
44
+ prefix: "case",
45
+ body: [
46
+ "case ${1:CASE_NAME}:",
47
+ "\t$2",
48
+ "break$0"
49
+ ],
50
+ description: "case ... break"
51
+ },
52
+ "instance … (Singleton)": {
53
+ prefix: "instance",
54
+ body: [
55
+ "private static $1 instance",
56
+ "",
57
+ "static $1 getInstance(${2:args}) { ",
58
+ "\tif (!instance) instance = new $1(${2:args})",
59
+ "\treturn instance",
60
+ "}"
61
+ ],
62
+ description: "Singleton instance + Getter"
63
+ },
64
+ "class … extends GroovyTestCase { … }": {
65
+ prefix: "tc",
66
+ body: [
67
+ "class $1 extends GroovyTestCase {",
68
+ "",
69
+ "\t$0",
70
+ "}"
71
+ ],
72
+ description: "GroovyTestCase class"
73
+ },
74
+ "copy(file: …, tofile: …) ": {
75
+ prefix: "copy",
76
+ body: "copy(file:\"${1:sourceFile}\", tofile:\"${2:targetFile}\")",
77
+ description: "Copy file"
78
+ },
79
+ "copy(todir: …) { fileset(dir: …) { include … exclude }": {
80
+ prefix: "copy",
81
+ body: [
82
+ "copy(todir:\"${1:targetDir}\") {",
83
+ "\tfileset(dir:\"${2:sourceDir}\") {",
84
+ "\t\tinclude(name:\"${3:includeName}\")",
85
+ "\t\texclude(name:\"${4:excludeName}\")",
86
+ "\t}",
87
+ "}"
88
+ ],
89
+ description: "Copy fileset todir w/ include/exclude"
90
+ },
91
+ "copy(todir: …) { fileset:dir …) }": {
92
+ prefix: "copy",
93
+ body: [
94
+ "copy(todir:\"${1:targetDir}\") {",
95
+ "\tfileset(dir:\"${2:sourceDir}\")",
96
+ "}"
97
+ ],
98
+ description: "Copy fileset todir"
99
+ },
100
+ "closure = { … } ": {
101
+ prefix: "cv",
102
+ body: [
103
+ "def ${1:closureName} = { ${2:args} ->",
104
+ "\t$0",
105
+ "}"
106
+ ],
107
+ description: "Closure block"
108
+ },
109
+ "for(… in …) { … }": {
110
+ prefix: "forin",
111
+ body: [
112
+ "for (${1:element} in ${2:collection}) {",
113
+ "\t$0",
114
+ "}"
115
+ ],
116
+ description: "For-loop"
117
+ },
118
+ "mkdir(dir: …)": {
119
+ prefix: "mkdir",
120
+ body: "mkdir(dir:\"${1:dirName}\")",
121
+ description: "mkdir"
122
+ },
123
+ print: print,
124
+ "println ": {
125
+ prefix: "pl",
126
+ body: "println $0",
127
+ description: "println"
128
+ },
129
+ "runAfter() { … }": {
130
+ prefix: "runa",
131
+ body: [
132
+ "runAfter(${1:delay}) {",
133
+ "\t$0",
134
+ "}"
135
+ ],
136
+ description: "runAfter() { ... }"
137
+ },
138
+ "setUp() { … }": {
139
+ prefix: "setup",
140
+ body: [
141
+ "void setUp() {",
142
+ "\t$0",
143
+ "}"
144
+ ],
145
+ description: "setup() { ... }"
146
+ },
147
+ "sleep(secs) { … // on interrupt do }": {
148
+ prefix: "sleep",
149
+ body: [
150
+ "sleep(${1:secs}) {",
151
+ "\t${2:// on interrupt do}",
152
+ "}"
153
+ ],
154
+ description: "sleep with interrupt"
155
+ },
156
+ "sleep(secs)": {
157
+ prefix: "sleep",
158
+ body: "sleep(${1:secs})",
159
+ description: "sleep"
160
+ },
161
+ "sort { … }": {
162
+ prefix: "sort",
163
+ body: [
164
+ "sort { ",
165
+ "\t$0",
166
+ "}"
167
+ ],
168
+ description: "sort"
169
+ },
170
+ "static main() { … }": {
171
+ prefix: "main",
172
+ body: [
173
+ "static main(args) {",
174
+ "\t$0",
175
+ "}"
176
+ ],
177
+ description: "main method"
178
+ },
179
+ "switch … case": {
180
+ prefix: "switch",
181
+ body: [
182
+ "switch(${1:value}) {",
183
+ "\tcase ${2:CASE}:",
184
+ "\t\t$3",
185
+ "\tbreak$0",
186
+ "}"
187
+ ],
188
+ description: "Switch-Case block"
189
+ },
190
+ "switch … case … default": {
191
+ prefix: "switch",
192
+ body: [
193
+ "switch(${1:value}) {",
194
+ "\tcase ${3:CASE}:",
195
+ "\t\t$4",
196
+ "\tbreak$0",
197
+ "\tdefault:",
198
+ "\t\t$2",
199
+ "\tbreak",
200
+ "}"
201
+ ],
202
+ description: "Switch-Case-Default block"
203
+ },
204
+ "tearDown() { … }": {
205
+ prefix: "tear",
206
+ body: [
207
+ "void tearDown() {",
208
+ "\t$0",
209
+ "}"
210
+ ],
211
+ description: "tearDown() { ... }"
212
+ },
213
+ "test()": {
214
+ prefix: "t",
215
+ body: [
216
+ "void test$1() {",
217
+ "\t$0",
218
+ "}"
219
+ ],
220
+ description: "test method"
221
+ },
222
+ "var": {
223
+ prefix: "v",
224
+ body: "${1:def} ${2:var}${3: = ${0:null}}",
225
+ description: "var"
226
+ }
227
+ };
228
+
229
+ export { groovyGroovy_codeSnippets as default, print };
@@ -0,0 +1,229 @@
1
+ var print = {
2
+ prefix: "p",
3
+ body: "print $0",
4
+ description: "print"
5
+ };
6
+ var groovy = {
7
+ "replace(dir: …, includes: …, token: …, value: …)": {
8
+ prefix: "replace",
9
+ body: "replace(dir:\"${1:dirName}\", includes:\"${2:*.*}\", token:\"${3:tokenName}\", value:\"\\${${4:value}}\")$0",
10
+ description: "Replace(...)"
11
+ },
12
+ "Doc Block": {
13
+ prefix: "doc",
14
+ body: [
15
+ "/**",
16
+ " * $0",
17
+ " */"
18
+ ],
19
+ description: "Doc block comment"
20
+ },
21
+ "key: \"value\" (Hash Pair)": {
22
+ prefix: "key",
23
+ body: "${1:key}: ${2:\"${3:value}\"}"
24
+ },
25
+ "Thread.start { … }": {
26
+ prefix: "thread",
27
+ body: [
28
+ "Thread.start {",
29
+ "\t$0",
30
+ "}"
31
+ ],
32
+ description: "Thread.start { ... }"
33
+ },
34
+ "Thread.startDaemon { … }": {
35
+ prefix: "thread",
36
+ body: [
37
+ "Thread.startDaemon {",
38
+ "\t$0",
39
+ "}"
40
+ ],
41
+ description: "Thread.startDaemon { ... }"
42
+ },
43
+ "case … break": {
44
+ prefix: "case",
45
+ body: [
46
+ "case ${1:CASE_NAME}:",
47
+ "\t$2",
48
+ "break$0"
49
+ ],
50
+ description: "case ... break"
51
+ },
52
+ "instance … (Singleton)": {
53
+ prefix: "instance",
54
+ body: [
55
+ "private static $1 instance",
56
+ "",
57
+ "static $1 getInstance(${2:args}) { ",
58
+ "\tif (!instance) instance = new $1(${2:args})",
59
+ "\treturn instance",
60
+ "}"
61
+ ],
62
+ description: "Singleton instance + Getter"
63
+ },
64
+ "class … extends GroovyTestCase { … }": {
65
+ prefix: "tc",
66
+ body: [
67
+ "class $1 extends GroovyTestCase {",
68
+ "",
69
+ "\t$0",
70
+ "}"
71
+ ],
72
+ description: "GroovyTestCase class"
73
+ },
74
+ "copy(file: …, tofile: …) ": {
75
+ prefix: "copy",
76
+ body: "copy(file:\"${1:sourceFile}\", tofile:\"${2:targetFile}\")",
77
+ description: "Copy file"
78
+ },
79
+ "copy(todir: …) { fileset(dir: …) { include … exclude }": {
80
+ prefix: "copy",
81
+ body: [
82
+ "copy(todir:\"${1:targetDir}\") {",
83
+ "\tfileset(dir:\"${2:sourceDir}\") {",
84
+ "\t\tinclude(name:\"${3:includeName}\")",
85
+ "\t\texclude(name:\"${4:excludeName}\")",
86
+ "\t}",
87
+ "}"
88
+ ],
89
+ description: "Copy fileset todir w/ include/exclude"
90
+ },
91
+ "copy(todir: …) { fileset:dir …) }": {
92
+ prefix: "copy",
93
+ body: [
94
+ "copy(todir:\"${1:targetDir}\") {",
95
+ "\tfileset(dir:\"${2:sourceDir}\")",
96
+ "}"
97
+ ],
98
+ description: "Copy fileset todir"
99
+ },
100
+ "closure = { … } ": {
101
+ prefix: "cv",
102
+ body: [
103
+ "def ${1:closureName} = { ${2:args} ->",
104
+ "\t$0",
105
+ "}"
106
+ ],
107
+ description: "Closure block"
108
+ },
109
+ "for(… in …) { … }": {
110
+ prefix: "forin",
111
+ body: [
112
+ "for (${1:element} in ${2:collection}) {",
113
+ "\t$0",
114
+ "}"
115
+ ],
116
+ description: "For-loop"
117
+ },
118
+ "mkdir(dir: …)": {
119
+ prefix: "mkdir",
120
+ body: "mkdir(dir:\"${1:dirName}\")",
121
+ description: "mkdir"
122
+ },
123
+ print: print,
124
+ "println ": {
125
+ prefix: "pl",
126
+ body: "println $0",
127
+ description: "println"
128
+ },
129
+ "runAfter() { … }": {
130
+ prefix: "runa",
131
+ body: [
132
+ "runAfter(${1:delay}) {",
133
+ "\t$0",
134
+ "}"
135
+ ],
136
+ description: "runAfter() { ... }"
137
+ },
138
+ "setUp() { … }": {
139
+ prefix: "setup",
140
+ body: [
141
+ "void setUp() {",
142
+ "\t$0",
143
+ "}"
144
+ ],
145
+ description: "setup() { ... }"
146
+ },
147
+ "sleep(secs) { … // on interrupt do }": {
148
+ prefix: "sleep",
149
+ body: [
150
+ "sleep(${1:secs}) {",
151
+ "\t${2:// on interrupt do}",
152
+ "}"
153
+ ],
154
+ description: "sleep with interrupt"
155
+ },
156
+ "sleep(secs)": {
157
+ prefix: "sleep",
158
+ body: "sleep(${1:secs})",
159
+ description: "sleep"
160
+ },
161
+ "sort { … }": {
162
+ prefix: "sort",
163
+ body: [
164
+ "sort { ",
165
+ "\t$0",
166
+ "}"
167
+ ],
168
+ description: "sort"
169
+ },
170
+ "static main() { … }": {
171
+ prefix: "main",
172
+ body: [
173
+ "static main(args) {",
174
+ "\t$0",
175
+ "}"
176
+ ],
177
+ description: "main method"
178
+ },
179
+ "switch … case": {
180
+ prefix: "switch",
181
+ body: [
182
+ "switch(${1:value}) {",
183
+ "\tcase ${2:CASE}:",
184
+ "\t\t$3",
185
+ "\tbreak$0",
186
+ "}"
187
+ ],
188
+ description: "Switch-Case block"
189
+ },
190
+ "switch … case … default": {
191
+ prefix: "switch",
192
+ body: [
193
+ "switch(${1:value}) {",
194
+ "\tcase ${3:CASE}:",
195
+ "\t\t$4",
196
+ "\tbreak$0",
197
+ "\tdefault:",
198
+ "\t\t$2",
199
+ "\tbreak",
200
+ "}"
201
+ ],
202
+ description: "Switch-Case-Default block"
203
+ },
204
+ "tearDown() { … }": {
205
+ prefix: "tear",
206
+ body: [
207
+ "void tearDown() {",
208
+ "\t$0",
209
+ "}"
210
+ ],
211
+ description: "tearDown() { ... }"
212
+ },
213
+ "test()": {
214
+ prefix: "t",
215
+ body: [
216
+ "void test$1() {",
217
+ "\t$0",
218
+ "}"
219
+ ],
220
+ description: "test method"
221
+ },
222
+ "var": {
223
+ prefix: "v",
224
+ body: "${1:def} ${2:var}${3: = ${0:null}}",
225
+ description: "var"
226
+ }
227
+ };
228
+
229
+ export { groovy as default, print };
package/dist/hacks.d.ts CHANGED
@@ -1 +1,2 @@
1
- export {};
1
+ import * as monaco from 'monaco-editor';
2
+ export declare function addCustomFoldingMarkers(configuration: monaco.extra.ILanguageConfiguration): monaco.extra.ILanguageConfiguration;
@@ -0,0 +1,31 @@
1
+ var fileTypes = [
2
+ "html.eex"
3
+ ];
4
+ var foldingStartMarker = "(?x)\n\t\t(<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\\b.*?>\n\t\t|<!--(?!.*-->)\n\t\t|\\{\\s*($|\\?>\\s*$|//|/\\*(.*\\*/\\s*$|(?!.*?\\*/)))\n\t\t)";
5
+ var foldingStopMarker = "(?x)\n\t\t(</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)>\n\t\t|^\\s*-->\n\t\t|(^|\\s)\\}\n\t\t)";
6
+ var name = "HTML (EEx)";
7
+ var patterns = [
8
+ {
9
+ include: "text.elixir"
10
+ },
11
+ {
12
+ include: "text.html.basic"
13
+ }
14
+ ];
15
+ var scopeName = "text.html.elixir";
16
+ var information_for_contributors = [
17
+ "This file has been converted from https://github.com/timmhirsens/vscode-elixir/blob/master/",
18
+ "If you want to provide a fix or improvement, please create a pull request against the original repository.",
19
+ "Once accepted there, we are happy to receive an update request."
20
+ ];
21
+ var html__eex_ = {
22
+ fileTypes: fileTypes,
23
+ foldingStartMarker: foldingStartMarker,
24
+ foldingStopMarker: foldingStopMarker,
25
+ name: name,
26
+ patterns: patterns,
27
+ scopeName: scopeName,
28
+ information_for_contributors: information_for_contributors
29
+ };
30
+
31
+ export { html__eex_ as default, fileTypes, foldingStartMarker, foldingStopMarker, information_for_contributors, name, patterns, scopeName };