@codingame/monaco-editor-wrapper 1.14.7 → 1.15.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 (45) hide show
  1. package/dist/cpp.tmLanguage.js +50 -15
  2. package/dist/cpptools.js +44 -3
  3. package/dist/dart3.js +37 -1
  4. package/dist/directives.tmLanguage.js +20 -0
  5. package/dist/erlang.js +4 -4
  6. package/dist/features/extensionConfigurations.js +11 -1
  7. package/dist/fsharp.tmLanguage.js +24 -4
  8. package/dist/index.js +7 -0
  9. package/dist/interpolations.tmLanguage.js +20 -0
  10. package/dist/java2.js +6 -0
  11. package/dist/json.js +1 -1
  12. package/dist/jsonc.js +1 -1
  13. package/dist/lua2.js +1089 -125
  14. package/dist/main.js +303 -3
  15. package/dist/markdown-svelte-css.js +37 -0
  16. package/dist/markdown-svelte-js.js +37 -0
  17. package/dist/markdown-svelte.js +59 -0
  18. package/dist/markdown-vue.js +59 -0
  19. package/dist/omnisharp.js +2 -2
  20. package/dist/postcss.src.yaml.js +393 -0
  21. package/dist/pug-svelte-dotblock.js +69 -0
  22. package/dist/pug-svelte-tags.js +215 -0
  23. package/dist/pug-svelte.js +307 -0
  24. package/dist/scalameta.js +5 -3
  25. package/dist/sql.tmLanguage.js +21 -5
  26. package/dist/svelte.js +118 -0
  27. package/dist/svelte.svelte-vscode-svelte.js +46 -0
  28. package/dist/svelte.svelte-vscode.js +373 -0
  29. package/dist/svelte.tmLanguage.src.yaml.js +1099 -0
  30. package/dist/theme-defaults~light_vs.js +2 -1
  31. package/dist/typescript-language-features.js +16 -0
  32. package/dist/typescript.js +20 -1
  33. package/dist/typescriptreact.js +20 -1
  34. package/dist/vetur.js +407 -0
  35. package/dist/vscode-R.js +55 -0
  36. package/dist/vscode-python.js +6 -6
  37. package/dist/vue-generated.js +1301 -0
  38. package/dist/vue-html.js +99 -0
  39. package/dist/vue-html.tmLanguage.js +573 -0
  40. package/dist/vue-postcss.js +72 -0
  41. package/dist/vue-sugarss.js +60 -0
  42. package/dist/vue-sugarss2.js +396 -0
  43. package/dist/vue.js +106 -0
  44. package/package.json +9 -7
  45. package/stats.html +1 -1
@@ -0,0 +1,307 @@
1
+ var scopeName = "svelte.pug";
2
+ var fileTypes = [
3
+ ];
4
+ var injectionSelector = "L:text.pug -meta.embedded.ts -meta.tag.other -text.block.pug, L:inline.pug -meta.embedded.ts -meta.tag.other";
5
+ var patterns = [
6
+ {
7
+ include: "#interp-object-literal"
8
+ },
9
+ {
10
+ include: "#interp"
11
+ },
12
+ {
13
+ include: "#tag-component"
14
+ },
15
+ {
16
+ include: "#tag-component-no-params"
17
+ },
18
+ {
19
+ include: "#mixin-svelte"
20
+ },
21
+ {
22
+ include: "#mixin-else"
23
+ }
24
+ ];
25
+ var repository = {
26
+ "interp-object-literal": {
27
+ contentName: "meta.interpolation meta.embedded.ts",
28
+ begin: "(?![!$#]){\\s*?(?={)",
29
+ beginCaptures: {
30
+ "0": {
31
+ name: "punctuation.section.interpolation.begin"
32
+ }
33
+ },
34
+ end: "(?<=})\\s*?}",
35
+ endCaptures: {
36
+ "0": {
37
+ name: "punctuation.section.interpolation.end"
38
+ }
39
+ },
40
+ patterns: [
41
+ {
42
+ include: "source.ts#object-literal"
43
+ }
44
+ ]
45
+ },
46
+ interp: {
47
+ contentName: "meta.interpolation meta.embedded.ts",
48
+ begin: "(?![!$#]){",
49
+ beginCaptures: {
50
+ "0": {
51
+ name: "punctuation.section.interpolation.begin"
52
+ }
53
+ },
54
+ end: "}",
55
+ endCaptures: {
56
+ "0": {
57
+ name: "punctuation.section.interpolation.end"
58
+ }
59
+ },
60
+ patterns: [
61
+ {
62
+ include: "source.ts"
63
+ }
64
+ ]
65
+ },
66
+ "tag-component": {
67
+ name: "meta.tag.svelte",
68
+ begin: "(?<=^\\s*?|#\\[\\s*?|:\\s+?)([A-Z][a-zA-Z0-9_]*)\\s*?(?=\\()",
69
+ beginCaptures: {
70
+ "0": {
71
+ name: "support.class.component.svelte"
72
+ }
73
+ },
74
+ end: "(?<=\\))",
75
+ endCaptures: {
76
+ "0": {
77
+ name: "constant.name.attribute.tag"
78
+ }
79
+ },
80
+ patterns: [
81
+ {
82
+ include: "text.pug#tag_attributes"
83
+ }
84
+ ]
85
+ },
86
+ "tag-component-no-params": {
87
+ name: "meta.tag.svelte",
88
+ match: "(?<=^\\s*?|#\\[\\s*?|:\\s+?)([A-Z][a-zA-Z0-9_]*)",
89
+ captures: {
90
+ "0": {
91
+ name: "support.class.component.svelte"
92
+ }
93
+ }
94
+ },
95
+ "mixin-svelte": {
96
+ match: "(?<=^\\s*?|#\\[\\s*?|:\\s+?)(\\+)(debug|if|elseif|then|catch|each|await|html|key)\\s*?(\\()\\s*?([`'\"])(.*?)(\\k<4>)\\s*?(\\))",
97
+ captures: {
98
+ "1": {
99
+ name: "punctuation.definition.keyword"
100
+ },
101
+ "2": {
102
+ patterns: [
103
+ {
104
+ match: "debug",
105
+ name: "keyword.other.debugger"
106
+ },
107
+ {
108
+ match: "if|elseif",
109
+ name: "keyword.control.conditional"
110
+ },
111
+ {
112
+ match: "then|catch|await",
113
+ name: "keyword.control.flow"
114
+ },
115
+ {
116
+ match: "each",
117
+ name: "keyword.control"
118
+ },
119
+ {
120
+ match: "html|key",
121
+ name: "support.function"
122
+ }
123
+ ]
124
+ },
125
+ "3": {
126
+ name: "meta.brace.round"
127
+ },
128
+ "4": {
129
+ name: "punctuation.definition.generic.begin"
130
+ },
131
+ "5": {
132
+ patterns: [
133
+ {
134
+ match: "(?<=each\\s*?\\(\\s*?')(.*)\\s+?(as\\s+?(.*?)(\\s*?,\\s*?)(.*?|)(\\s+?\\(.*\\)|)$)",
135
+ captures: {
136
+ "1": {
137
+ name: "meta.embedded.ts",
138
+ patterns: [
139
+ {
140
+ include: "source.ts"
141
+ }
142
+ ]
143
+ },
144
+ "2": {
145
+ name: "keyword.control.as"
146
+ },
147
+ "3": {
148
+ name: "meta.embedded.t",
149
+ patterns: [
150
+ {
151
+ include: "source.ts"
152
+ }
153
+ ]
154
+ },
155
+ "4": {
156
+ name: "punctuation.separator"
157
+ },
158
+ "5": {
159
+ name: "meta.embedded.t",
160
+ patterns: [
161
+ {
162
+ include: "source.ts"
163
+ }
164
+ ]
165
+ },
166
+ "6": {
167
+ patterns: [
168
+ {
169
+ match: "(\\()(.*)(\\))",
170
+ captures: {
171
+ "1": {
172
+ name: "meta.brace.round"
173
+ },
174
+ "2": {
175
+ name: "variable"
176
+ },
177
+ "3": {
178
+ name: "meta.brace.round"
179
+ }
180
+ }
181
+ }
182
+ ]
183
+ }
184
+ }
185
+ },
186
+ {
187
+ match: "(?<=each\\s*?\\(\\s*?')(.*)\\s+?(as\\s+?(.*?)(\\s+?\\(.*\\)|)$)",
188
+ captures: {
189
+ "1": {
190
+ name: "meta.embedded.ts",
191
+ patterns: [
192
+ {
193
+ include: "source.ts"
194
+ }
195
+ ]
196
+ },
197
+ "2": {
198
+ name: "keyword.control.as"
199
+ },
200
+ "3": {
201
+ name: "meta.embedded.t",
202
+ patterns: [
203
+ {
204
+ include: "source.ts"
205
+ }
206
+ ]
207
+ },
208
+ "4": {
209
+ patterns: [
210
+ {
211
+ match: "(\\()(.*)(\\))",
212
+ captures: {
213
+ "1": {
214
+ name: "meta.brace.round"
215
+ },
216
+ "2": {
217
+ name: "variable"
218
+ },
219
+ "3": {
220
+ name: "meta.brace.round"
221
+ }
222
+ }
223
+ }
224
+ ]
225
+ }
226
+ }
227
+ },
228
+ {
229
+ match: "(?<=await\\s*?\\(\\s*?')(.*)\\s+?(then(.*)$)",
230
+ captures: {
231
+ "1": {
232
+ name: "meta.embedded.ts",
233
+ patterns: [
234
+ {
235
+ include: "source.ts"
236
+ }
237
+ ]
238
+ },
239
+ "2": {
240
+ name: "keyword.control.flow"
241
+ },
242
+ "3": {
243
+ name: "variable"
244
+ }
245
+ }
246
+ },
247
+ {
248
+ match: "(?<=debug\\s*?\\(\\s*?')(\\w+?)(,|$)",
249
+ captures: {
250
+ "1": {
251
+ name: "variable"
252
+ },
253
+ "2": {
254
+ name: "punctuation.separator"
255
+ }
256
+ }
257
+ },
258
+ {
259
+ match: "(.*)$",
260
+ captures: {
261
+ "0": {
262
+ name: "meta.embedded.ts",
263
+ patterns: [
264
+ {
265
+ include: "source.ts"
266
+ }
267
+ ]
268
+ }
269
+ }
270
+ }
271
+ ]
272
+ },
273
+ "6": {
274
+ name: "punctuation.definition.generic.end"
275
+ },
276
+ "7": {
277
+ name: "meta.brace.round"
278
+ }
279
+ }
280
+ },
281
+ "mixin-else": {
282
+ match: "(?<=^\\s*?|#\\[\\s*?|:\\s+?)(\\+)(else)",
283
+ captures: {
284
+ "1": {
285
+ name: "punctuation.definition.keyword"
286
+ },
287
+ "2": {
288
+ name: "keyword.control.conditional"
289
+ }
290
+ }
291
+ }
292
+ };
293
+ var information_for_contributors = [
294
+ "This file has been converted from https://github.com/sveltejs/language-tools/blob/master/packages/svelte-vscode/",
295
+ "If you want to provide a fix or improvement, please create a pull request against the original repository.",
296
+ "Once accepted there, we are happy to receive an update request."
297
+ ];
298
+ var pugSvelte = {
299
+ scopeName: scopeName,
300
+ fileTypes: fileTypes,
301
+ injectionSelector: injectionSelector,
302
+ patterns: patterns,
303
+ repository: repository,
304
+ information_for_contributors: information_for_contributors
305
+ };
306
+
307
+ export { pugSvelte as default, fileTypes, information_for_contributors, injectionSelector, patterns, repository, scopeName };
package/dist/scalameta.js CHANGED
@@ -4,7 +4,7 @@ var scalameta = [
4
4
  "properties": {
5
5
  "metals.serverVersion": {
6
6
  "type": "string",
7
- "default": "0.11.6+67-926ec9a3-SNAPSHOT",
7
+ "default": "0.11.7+7-67ce8743-SNAPSHOT",
8
8
  "markdownDescription": "The version of the Metals server artifact. Requires reloading the window. \n\n**VS Code extension version is guaranteed to work only with the default version, change if you know what you're doing**",
9
9
  "scope": 3
10
10
  },
@@ -35,7 +35,7 @@ var scalameta = [
35
35
  "metals.excludedPackages": {
36
36
  "type": "array",
37
37
  "default": [],
38
- "markdownDescription": "List of packages you'd like to be left out of completions, symbol searches, and code actions.\n\nEx. `akka.actor.typed.javadsl` will ensure nothing in the `javadsl` package gets recommended to you.\n\nYou can find the list of default exclusions [here on the Metals website](https://scalameta.org/metals/docs/editors/new-editor.html#excluded-packages).\n\nIf you need to remove one of the defaults, you can simply include it and preface it with `--`.",
38
+ "markdownDescription": "List of packages you'd like to be left out of completions, symbol searches, and code actions.\n\nEx. `akka.actor.typed.javadsl` will ensure nothing in the `javadsl` package gets recommended to you.\n\nYou can find the list of default exclusions [here on the Metals website](https://scalameta.org/metals/docs/editors/user-configuration/#excluded-packages).\n\nIf you need to remove one of the defaults, you can simply include it and preface it with `--`.",
39
39
  "scope": 3
40
40
  },
41
41
  "metals.showInferredType": {
@@ -163,6 +163,7 @@ var scalameta = [
163
163
  "2.13.3",
164
164
  "2.13.2",
165
165
  "2.13.1",
166
+ "2.12.16",
166
167
  "2.12.15",
167
168
  "2.12.14",
168
169
  "2.12.13",
@@ -172,7 +173,8 @@ var scalameta = [
172
173
  "2.12.9",
173
174
  "2.12.8",
174
175
  "2.11.12",
175
- "3.1.3-RC2",
176
+ "3.2.0-RC1",
177
+ "3.1.3",
176
178
  "3.1.2",
177
179
  "3.1.1",
178
180
  "3.1.0",
@@ -3,7 +3,7 @@ var information_for_contributors = [
3
3
  "If you want to provide a fix or improvement, please create a pull request against the original repository.",
4
4
  "Once accepted there, we are happy to receive an update request."
5
5
  ];
6
- var version = "https://github.com/microsoft/vscode-mssql/commit/c98518dd7418ddfb6f35676e14cf12791b0a235d";
6
+ var version = "https://github.com/microsoft/vscode-mssql/commit/b8b58864526c048002b7c3964bdac8aac3713bd9";
7
7
  var name = "SQL";
8
8
  var scopeName = "source.sql";
9
9
  var patterns = [
@@ -190,7 +190,7 @@ var patterns = [
190
190
  name: "keyword.operator.concatenator.sql"
191
191
  },
192
192
  {
193
- match: "(?i)\\b(avg|checksum_agg|count|count_big|grouping|grouping_id|max|min|sum|stdev|stdevp|var|varp)\\b",
193
+ match: "(?i)\\b(aggregate|approx_count_distinct|avg|checksum_agg|count|count_big|grouping|grouping_id|max|min|sum|stdev|stdevp|var|varp)\\b",
194
194
  name: "support.function.aggregate.sql"
195
195
  },
196
196
  {
@@ -201,14 +201,26 @@ var patterns = [
201
201
  match: "(?i)\\b(cast|convert|parse|try_cast|try_convert|try_parse)\\b",
202
202
  name: "support.function.conversion.sql"
203
203
  },
204
+ {
205
+ match: "(?i)\\b(collationproperty|tertiary_weights)\\b",
206
+ name: "support.function.collation.sql"
207
+ },
208
+ {
209
+ match: "(?i)\\b(asymkey_id|asymkeyproperty|certproperty|cert_id|crypt_gen_random|decryptbyasymkey|decryptbycert|decryptbykey|decryptbykeyautoasymkey|decryptbykeyautocert|decryptbypassphrase|encryptbyasymkey|encryptbycert|encryptbykey|encryptbypassphrase|hashbytes|is_objectsigned|key_guid|key_id|key_name|signbyasymkey|signbycert|symkeyproperty|verifysignedbycert|verifysignedbyasymkey)\\b",
210
+ name: "support.function.cryptographic.sql"
211
+ },
204
212
  {
205
213
  match: "(?i)\\b(cursor_status)\\b",
206
214
  name: "support.function.cursor.sql"
207
215
  },
208
216
  {
209
- match: "(?i)\\b(sysdatetime|sysdatetimeoffset|sysutcdatetime|current_time(stamp)?|getdate|getutcdate|datename|datepart|day|month|year|datefromparts|datetime2fromparts|datetimefromparts|datetimeoffsetfromparts|smalldatetimefromparts|timefromparts|datediff|dateadd|eomonth|switchoffset|todatetimeoffset|isdate)\\b",
217
+ match: "(?i)\\b(sysdatetime|sysdatetimeoffset|sysutcdatetime|current_time(stamp)?|getdate|getutcdate|datename|datepart|day|month|year|datefromparts|datetime2fromparts|datetimefromparts|datetimeoffsetfromparts|smalldatetimefromparts|timefromparts|datediff|dateadd|eomonth|switchoffset|todatetimeoffset|isdate|date_bucket)\\b",
210
218
  name: "support.function.datetime.sql"
211
219
  },
220
+ {
221
+ match: "(?i)\\b(datalength|ident_current|ident_incr|ident_seed|identity|sql_variant_property)\\b",
222
+ name: "support.function.datatype.sql"
223
+ },
212
224
  {
213
225
  match: "(?i)\\b(coalesce|nullif)\\b",
214
226
  name: "support.function.expression.sql"
@@ -218,7 +230,11 @@ var patterns = [
218
230
  name: "support.function.globalvar.sql"
219
231
  },
220
232
  {
221
- match: "(?i)\\b(choose|iif)\\b",
233
+ match: "(?i)\\b(json|isjson|json_object|json_array|json_value|json_query|json_modify|json_path_exists)\\b",
234
+ name: "support.function.json.sql"
235
+ },
236
+ {
237
+ match: "(?i)\\b(choose|iif|greatest|least)\\b",
222
238
  name: "support.function.logical.sql"
223
239
  },
224
240
  {
@@ -234,7 +250,7 @@ var patterns = [
234
250
  name: "support.function.ranking.sql"
235
251
  },
236
252
  {
237
- match: "(?i)\\b(opendatasource|openrowset|openquery|openxml)\\b",
253
+ match: "(?i)\\b(generate_series|opendatasource|openjson|openrowset|openquery|openxml|predict|string_split)\\b",
238
254
  name: "support.function.rowset.sql"
239
255
  },
240
256
  {
package/dist/svelte.js ADDED
@@ -0,0 +1,118 @@
1
+ var comments = {
2
+ blockComment: [
3
+ "<!--",
4
+ "-->"
5
+ ]
6
+ };
7
+ var brackets = [
8
+ [
9
+ "<!--",
10
+ "-->"
11
+ ],
12
+ [
13
+ "<",
14
+ ">"
15
+ ],
16
+ [
17
+ "{",
18
+ "}"
19
+ ],
20
+ [
21
+ "(",
22
+ ")"
23
+ ],
24
+ [
25
+ "[",
26
+ "]"
27
+ ]
28
+ ];
29
+ var autoClosingPairs = [
30
+ {
31
+ open: "{",
32
+ close: "}"
33
+ },
34
+ {
35
+ open: "[",
36
+ close: "]"
37
+ },
38
+ {
39
+ open: "(",
40
+ close: ")"
41
+ },
42
+ {
43
+ open: "'",
44
+ close: "'"
45
+ },
46
+ {
47
+ open: "\"",
48
+ close: "\""
49
+ },
50
+ {
51
+ open: "`",
52
+ close: "`",
53
+ notIn: [
54
+ "comment",
55
+ "string"
56
+ ]
57
+ },
58
+ {
59
+ open: "<!--",
60
+ close: "-->",
61
+ notIn: [
62
+ "comment",
63
+ "string"
64
+ ]
65
+ },
66
+ {
67
+ open: "/**",
68
+ close: "*/",
69
+ notIn: [
70
+ "string"
71
+ ]
72
+ }
73
+ ];
74
+ var surroundingPairs = [
75
+ {
76
+ open: "'",
77
+ close: "'"
78
+ },
79
+ {
80
+ open: "\"",
81
+ close: "\""
82
+ },
83
+ {
84
+ open: "`",
85
+ close: "`"
86
+ },
87
+ {
88
+ open: "{",
89
+ close: "}"
90
+ },
91
+ {
92
+ open: "[",
93
+ close: "]"
94
+ },
95
+ {
96
+ open: "(",
97
+ close: ")"
98
+ },
99
+ {
100
+ open: "<",
101
+ close: ">"
102
+ }
103
+ ];
104
+ var folding = {
105
+ markers: {
106
+ start: "^\\s*//\\s*#?region\\b|^<(template|style|script)[^>]*>|^\\s*<!--\\s*#region\\b",
107
+ end: "^\\s*//\\s*#?endregion\\b|^</(template|style|script)>|^\\s*<!--\\s*#endregion\\b"
108
+ }
109
+ };
110
+ var svelte = {
111
+ comments: comments,
112
+ brackets: brackets,
113
+ autoClosingPairs: autoClosingPairs,
114
+ surroundingPairs: surroundingPairs,
115
+ folding: folding
116
+ };
117
+
118
+ export { autoClosingPairs, brackets, comments, svelte as default, folding, surroundingPairs };
@@ -0,0 +1,46 @@
1
+ var each = {
2
+ body: [
3
+ "{#each ${1:array} as ${2:item}}",
4
+ "\t$TM_SELECTED_TEXT$0",
5
+ "{/each}"
6
+ ],
7
+ description: "each block"
8
+ };
9
+ var key = {
10
+ body: [
11
+ "{#key ${1:key}}",
12
+ "\t$TM_SELECTED_TEXT$0",
13
+ "{/key}"
14
+ ],
15
+ description: "key block"
16
+ };
17
+ var svelte_svelteVscodeSvelte = {
18
+ "if": {
19
+ body: [
20
+ "{#if ${1:condition}}",
21
+ "\t$TM_SELECTED_TEXT$0",
22
+ "{/if}"
23
+ ],
24
+ description: "if block"
25
+ },
26
+ "await": {
27
+ body: [
28
+ "{#await ${1:promise}}",
29
+ "\t$TM_SELECTED_TEXT$0",
30
+ "{/await}"
31
+ ],
32
+ description: "await block"
33
+ },
34
+ "await then shorthand": {
35
+ body: [
36
+ "{#await ${1:promise} then $2}",
37
+ "\t$TM_SELECTED_TEXT$0",
38
+ "{/await}"
39
+ ],
40
+ description: "await block without pending state"
41
+ },
42
+ each: each,
43
+ key: key
44
+ };
45
+
46
+ export { svelte_svelteVscodeSvelte as default, each, key };