@codingame/monaco-editor-wrapper 3.4.2 → 3.5.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 (61) hide show
  1. package/dist/JavaScript.tmLanguage.js +13 -7
  2. package/dist/JavaScriptReact.tmLanguage.js +13 -7
  3. package/dist/MagicPython.tmLanguage.js +179 -1298
  4. package/dist/Scala.tmLanguage.js +1 -1
  5. package/dist/TypeScript.tmLanguage.js +13 -7
  6. package/dist/TypeScriptReact.tmLanguage.js +13 -7
  7. package/dist/c.js +8 -0
  8. package/dist/cpp.js +8 -0
  9. package/dist/cpp.tmLanguage.js +150 -112
  10. package/dist/cpptools.js +143 -40
  11. package/dist/cuda-cpp.js +8 -0
  12. package/dist/d.js +2 -2
  13. package/dist/d3.js +4 -2
  14. package/dist/dart3.js +0 -6
  15. package/dist/django-html.js +155 -0
  16. package/dist/django-html.tmLanguage.js +715 -0
  17. package/dist/django-txt.js +155 -0
  18. package/dist/django-txt.tmLanguage.js +269 -0
  19. package/dist/features/extensionConfigurations.js +3 -2
  20. package/dist/html-html.code-snippets.js +20 -0
  21. package/dist/html.js +5 -124
  22. package/dist/index2.js +9 -8
  23. package/dist/jade.js +11 -0
  24. package/dist/java2.js +38 -9
  25. package/dist/lua2.js +35 -0
  26. package/dist/main.js +150 -71
  27. package/dist/markdown-vue.js +12 -17
  28. package/dist/markdown.js +23 -73
  29. package/dist/omnisharp.js +6 -0
  30. package/dist/php-php.code-snippets.js +2 -0
  31. package/dist/plaintext.js +11 -0
  32. package/dist/scalameta.js +5 -4
  33. package/dist/semanticdb.js +62 -0
  34. package/dist/solidity3.js +6 -5
  35. package/dist/svelte.svelte-vscode-javascript.js +45 -0
  36. package/dist/svelte.svelte-vscode-typescript.js +43 -0
  37. package/dist/svelte.svelte-vscode.js +8 -1
  38. package/dist/svelte.tmLanguage.src.yaml.js +3 -3
  39. package/dist/theme-defaults~light_vs.js +3 -2
  40. package/dist/typescript-basics-typescript.code-snippets.js +1 -0
  41. package/dist/volar-vue.js +310 -0
  42. package/dist/vscode-R.js +53 -14
  43. package/dist/vscode-django-filters.js +340 -0
  44. package/dist/vscode-django.js +37 -0
  45. package/dist/vscode-python.js +8 -10
  46. package/dist/vue-directives.js +25 -0
  47. package/dist/vue-interpolations.js +25 -0
  48. package/dist/vue-sfc-style-variable-injection.js +63 -0
  49. package/dist/vue.js +84 -39
  50. package/dist/vue.tmLanguage.js +1186 -0
  51. package/package.json +1 -1
  52. package/stats.html +1 -1
  53. package/dist/directives.tmLanguage.js +0 -20
  54. package/dist/interpolations.tmLanguage.js +0 -20
  55. package/dist/vetur.js +0 -407
  56. package/dist/vue-generated.js +0 -1301
  57. package/dist/vue-html.js +0 -99
  58. package/dist/vue-html.tmLanguage.js +0 -573
  59. package/dist/vue-postcss.js +0 -72
  60. package/dist/vue-sugarss.js +0 -396
  61. package/dist/vue-sugarss2.js +0 -60
package/dist/markdown.js CHANGED
@@ -1,25 +1,3 @@
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
- var colorizedBracketPairs = [
22
- ];
23
1
  var autoClosingPairs = [
24
2
  {
25
3
  open: "{",
@@ -34,66 +12,38 @@ var autoClosingPairs = [
34
12
  close: ")"
35
13
  },
36
14
  {
37
- open: "<",
38
- close: ">",
15
+ open: "'",
16
+ close: "'"
17
+ },
18
+ {
19
+ open: "\"",
20
+ close: "\""
21
+ },
22
+ {
23
+ open: "<!--",
24
+ close: "-->",
25
+ notIn: [
26
+ "comment",
27
+ "string"
28
+ ]
29
+ },
30
+ {
31
+ open: "/**",
32
+ close: " */",
39
33
  notIn: [
40
34
  "string"
41
35
  ]
42
36
  }
43
37
  ];
44
- var surroundingPairs = [
45
- [
46
- "(",
47
- ")"
48
- ],
49
- [
50
- "[",
51
- "]"
52
- ],
53
- [
54
- "`",
55
- "`"
56
- ],
57
- [
58
- "_",
59
- "_"
60
- ],
61
- [
62
- "*",
63
- "*"
64
- ],
65
- [
66
- "{",
67
- "}"
68
- ],
69
- [
70
- "'",
71
- "'"
72
- ],
38
+ var colorizedBracketPairs = [
73
39
  [
74
- "\"",
75
- "\""
40
+ "{{",
41
+ "}}"
76
42
  ]
77
43
  ];
78
- var folding = {
79
- offSide: true,
80
- markers: {
81
- start: "^\\s*<!--\\s*#?region\\b.*-->",
82
- end: "^\\s*<!--\\s*#?endregion\\b.*-->"
83
- }
84
- };
85
- var wordPattern = {
86
- pattern: "(\\p{Alphabetic}|\\p{Number}|\\p{Nonspacing_Mark})(((\\p{Alphabetic}|\\p{Number}|\\p{Nonspacing_Mark})|[_])?(\\p{Alphabetic}|\\p{Number}|\\p{Nonspacing_Mark}))*",
87
- flags: "ug"
88
- };
89
44
  var markdown = {
90
- comments: comments,
91
- brackets: brackets,
92
- colorizedBracketPairs: colorizedBracketPairs,
93
45
  autoClosingPairs: autoClosingPairs,
94
- surroundingPairs: surroundingPairs,
95
- folding: folding,
96
- wordPattern: wordPattern
46
+ colorizedBracketPairs: colorizedBracketPairs
97
47
  };
98
48
 
99
- export { autoClosingPairs, brackets, colorizedBracketPairs, comments, markdown as default, folding, surroundingPairs, wordPattern };
49
+ export { autoClosingPairs, colorizedBracketPairs, markdown as default };
package/dist/omnisharp.js CHANGED
@@ -424,6 +424,12 @@ var omnisharp = [
424
424
  "description": "Specifies whether the OmniSharp server will be automatically started or not. If false, OmniSharp can be started with the 'Restart OmniSharp' command",
425
425
  "scope": 3
426
426
  },
427
+ "omnisharp.projectFilesExcludePattern": {
428
+ "type": "string",
429
+ "default": "**/node_modules/**,**/.git/**,**/bower_components/**",
430
+ "description": "The exclude pattern used by OmniSharp to find all project files.",
431
+ "scope": 3
432
+ },
427
433
  "omnisharp.projectLoadTimeout": {
428
434
  "type": "number",
429
435
  "default": 60,
@@ -12,6 +12,7 @@ var phpPhp_codeSnippets = {
12
12
  },
13
13
  "PHPDoc class …": {
14
14
  prefix: "doc_class",
15
+ isFileTemplate: true,
15
16
  body: [
16
17
  "/**",
17
18
  " * ${6:undocumented class}",
@@ -42,6 +43,7 @@ var phpPhp_codeSnippets = {
42
43
  },
43
44
  "PHPDoc function …": {
44
45
  prefix: "doc_f",
46
+ isFileTemplate: true,
45
47
  body: [
46
48
  "/**",
47
49
  " * ${1:undocumented function summary}",
@@ -0,0 +1,11 @@
1
+ var colorizedBracketPairs = [
2
+ [
3
+ "{{",
4
+ "}}"
5
+ ]
6
+ ];
7
+ var plaintext = {
8
+ colorizedBracketPairs: colorizedBracketPairs
9
+ };
10
+
11
+ export { colorizedBracketPairs, plaintext as default };
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.8+38-1832a3cf-SNAPSHOT",
7
+ "default": "0.11.9",
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
  },
@@ -155,6 +155,7 @@ var scalameta = [
155
155
  "default": "automatic",
156
156
  "enum": [
157
157
  "automatic",
158
+ "2.13.9",
158
159
  "2.13.8",
159
160
  "2.13.7",
160
161
  "2.13.6",
@@ -163,6 +164,7 @@ var scalameta = [
163
164
  "2.13.3",
164
165
  "2.13.2",
165
166
  "2.13.1",
167
+ "2.12.17",
166
168
  "2.12.16",
167
169
  "2.12.15",
168
170
  "2.12.14",
@@ -173,9 +175,8 @@ var scalameta = [
173
175
  "2.12.9",
174
176
  "2.12.8",
175
177
  "2.11.12",
176
- "3.2.0-RC3",
177
- "3.2.0-RC2",
178
- "3.2.0-RC1",
178
+ "3.2.1-RC2",
179
+ "3.2.0",
179
180
  "3.1.3",
180
181
  "3.1.2",
181
182
  "3.1.1",
@@ -0,0 +1,62 @@
1
+ var $schema = "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json";
2
+ var name = "semanticdb";
3
+ var scopeName = "source.semanticdb";
4
+ var extensions = [
5
+ ".semanticdb-detailed",
6
+ ".semanticdb-compact"
7
+ ];
8
+ var patterns = [
9
+ {
10
+ include: "#general"
11
+ }
12
+ ];
13
+ var repository = {
14
+ general: {
15
+ patterns: [
16
+ {
17
+ comment: "For recognizing ranges and the following right or left arrow",
18
+ match: "(\\[[0-9]+:[0-9]+\\.\\.[0-9]+:[0-9]+\\))\\s+(=>|<=)",
19
+ captures: {
20
+ "1": {
21
+ name: "comment.line"
22
+ },
23
+ "2": {
24
+ name: "constant.language.semanticdb"
25
+ }
26
+ }
27
+ },
28
+ {
29
+ comment: "For recognizing symbol and the following right or left arrow",
30
+ match: "^(\\w[^=\n]*)(=>|<=)(.*)$",
31
+ captures: {
32
+ "1": {
33
+ name: "entity.name.type.semanticdb"
34
+ },
35
+ "2": {
36
+ name: "constant.language.semanticdb"
37
+ }
38
+ }
39
+ },
40
+ {
41
+ name: "entity.name.import.semanticdb",
42
+ match: "(Summary|Symbols|Occurrences|Synthetics):"
43
+ }
44
+ ]
45
+ }
46
+ };
47
+ var information_for_contributors = [
48
+ "This file has been converted from https://github.com/scalameta/metals-vscode/blob/master/",
49
+ "If you want to provide a fix or improvement, please create a pull request against the original repository.",
50
+ "Once accepted there, we are happy to receive an update request."
51
+ ];
52
+ var semanticdb = {
53
+ $schema: $schema,
54
+ name: name,
55
+ scopeName: scopeName,
56
+ extensions: extensions,
57
+ patterns: patterns,
58
+ repository: repository,
59
+ information_for_contributors: information_for_contributors
60
+ };
61
+
62
+ export { $schema, semanticdb as default, extensions, information_for_contributors, name, patterns, repository, scopeName };
package/dist/solidity3.js CHANGED
@@ -12,7 +12,7 @@ var solidity = [
12
12
  "solidity.compileUsingRemoteVersion": {
13
13
  "type": "string",
14
14
  "default": "latest",
15
- "description": "Compile downloading a remote solc binary file, for example: 'latest' or 'v0.4.3+commit.2353da71', use the command 'Solidity: Get solidity releases' to list all versions, or just right click in a solidity file to simply select the version",
15
+ "description": "Configuration to download a 'remote' solc (js) version binary file from 'https://binaries.soliditylang.org/', for example: 'latest' will always use the latest version, or a specific version like: 'v0.4.3+commit.2353da71', use the command 'Solidity: Get solidity releases' to list all versions available, or just right click in a solidity file and select either `Solidity: Change global compiler version (Remote)` or `Solidity: Change workspace compiler version (Remote)` to use the wizard to set the correct version or setting for either the current workspace or globally",
16
16
  "scope": 3
17
17
  },
18
18
  "solidity.compilerOptimization": {
@@ -24,11 +24,12 @@ var solidity = [
24
24
  "solidity.compileUsingLocalVersion": {
25
25
  "type": "string",
26
26
  "default": "",
27
- "description": "Compile using a local solc binary file, please include the path of the file if wanted: 'C://v0.4.3+commit.2353da71.js'",
27
+ "description": "Compile using a local solc (js) binary file, please include the path of the file if wanted: 'C://v0.4.3+commit.2353da71.js'",
28
28
  "scope": 3
29
29
  },
30
30
  "solidity.defaultCompiler": {
31
31
  "type": "string",
32
+ "description": "Sets the default compiler and compiler configuration to use. Remote will use the configured compiler using the setting 'compileUsingRemoteVersion' downloaded from https://binaries.soliditylang.org/', `localFile` will use the solc file in the location configured in the setting: `compileUsingLocalVersion`, `localNodeModule` will attempt to find the solc file in the node_modules folder / package configured on 'nodemodulespackage' and 'embedded' which will use the solc version packaged with the extension. The default is 'remote' which is configured as 'latest'",
32
33
  "enum": [
33
34
  "remote",
34
35
  "localFile",
@@ -36,7 +37,6 @@ var solidity = [
36
37
  "embedded"
37
38
  ],
38
39
  "default": "remote",
39
- "description": "Sets the default compiler to use",
40
40
  "scope": 3
41
41
  },
42
42
  "solidity.linter": {
@@ -63,9 +63,10 @@ var solidity = [
63
63
  "default": "prettier",
64
64
  "enum": [
65
65
  "none",
66
- "prettier"
66
+ "prettier",
67
+ "forge"
67
68
  ],
68
- "description": "Enables / disables the solidity formatter (prettier solidity default)",
69
+ "description": "Enables / disables the solidity formatter prettier (default) or forge (note it needs to be installed)",
69
70
  "scope": 3
70
71
  },
71
72
  "solidity.soliumRules": {
@@ -0,0 +1,45 @@
1
+ var svelte_svelteVscodeJavascript = {
2
+ "SvelteKit Endpoint": {
3
+ prefix: "kitEndpoint",
4
+ description: "SvelteKit Endpoint",
5
+ body: [
6
+ "/** @type {import('./\\$types').RequestHandler} */",
7
+ "export async function ${1|GET,POST,PUT,PATCH,DELETE|}($2) {",
8
+ "\t$3",
9
+ "\treturn new Response();",
10
+ "}"
11
+ ]
12
+ },
13
+ "SvelteKit Actions": {
14
+ prefix: "kitActions",
15
+ description: "SvelteKit Actions",
16
+ body: [
17
+ "/** @type {import('./\\$types').Actions} */",
18
+ "export const actions = {",
19
+ "\t$1",
20
+ "};"
21
+ ]
22
+ },
23
+ "SvelteKit Load": {
24
+ prefix: "kitLoad",
25
+ description: "SvelteKit Load",
26
+ body: [
27
+ "/** @type {import('./\\$types').${1|PageLoad,PageServerLoad,LayoutLoad,LayoutServerLoad|}} */",
28
+ "export async function load($2) {",
29
+ "\t$3",
30
+ "}"
31
+ ]
32
+ },
33
+ "SvelteKit Param Matcher": {
34
+ prefix: "kitParamMatcher",
35
+ description: "SvelteKit Param Matcher",
36
+ body: [
37
+ "/** @type {import('./\\$types').ParamMatcher */",
38
+ "export function match(param) {",
39
+ "\treturn $1;",
40
+ "}"
41
+ ]
42
+ }
43
+ };
44
+
45
+ export { svelte_svelteVscodeJavascript as default };
@@ -0,0 +1,43 @@
1
+ var svelte_svelteVscodeTypescript = {
2
+ "SvelteKit Endpoint": {
3
+ prefix: "kitEndpoint",
4
+ description: "SvelteKit Endpoint",
5
+ body: [
6
+ "export const ${1|GET,POST,PUT,PATCH,DELETE|}: RequestHandler = async ($2) => {",
7
+ "\t$3",
8
+ "\treturn new Response();",
9
+ "};"
10
+ ]
11
+ },
12
+ "SvelteKit Actions": {
13
+ prefix: "kitActions",
14
+ description: "SvelteKit Actions",
15
+ body: [
16
+ "export const actions: Actions = {",
17
+ "\t$1",
18
+ "};"
19
+ ]
20
+ },
21
+ "SvelteKit Load": {
22
+ prefix: "kitLoad",
23
+ description: "SvelteKit Load",
24
+ body: [
25
+ "export const load: ${1|PageLoad,PageServerLoad,LayoutLoad,LayoutServerLoad|} = async ($2) => {",
26
+ "\t$3",
27
+ "};"
28
+ ]
29
+ },
30
+ "SvelteKit Param Matcher": {
31
+ prefix: "kitParamMatcher",
32
+ description: "SvelteKit Param Matcher",
33
+ body: [
34
+ "import type { ParamMatcher } from '@sveltejs/kit';",
35
+ "",
36
+ "export const match: ParamMatcher = (param) => {",
37
+ "\treturn $1;",
38
+ "};"
39
+ ]
40
+ }
41
+ };
42
+
43
+ export { svelte_svelteVscodeTypescript as default };
@@ -244,11 +244,18 @@ var svelte_svelteVscode = [
244
244
  },
245
245
  "svelte.plugin.svelte.useNewTransformation": {
246
246
  "type": "boolean",
247
- "default": false,
247
+ "default": true,
248
248
  "title": "Use a new transformation for intellisense",
249
249
  "description": "Svelte files need to be transformed to something that TypeScript understands for intellisense. Version 2.0 of this transformation can be enabled with this setting. It will be the default, soon.",
250
250
  "scope": 3
251
251
  },
252
+ "svelte.plugin.svelte.note-new-transformation": {
253
+ "type": "boolean",
254
+ "default": true,
255
+ "title": "Show a note about the new transformation",
256
+ "description": "There's a new transformation for improved intellisense which is now turned on by default. This note notifies you about it.",
257
+ "scope": 3
258
+ },
252
259
  "svelte.plugin.svelte.diagnostics.enable": {
253
260
  "type": "boolean",
254
261
  "default": true,
@@ -201,11 +201,11 @@ var injections = {
201
201
  "L:(source.ts, source.js, source.coffee)": {
202
202
  patterns: [
203
203
  {
204
- match: "(?<![_$[:alnum:]])\\$(?=[_[:alpha:]][_$[:alnum:]]*)",
204
+ match: "(?<![_$./'\"[:alnum:]])\\$(?=[_[:alpha:]][_$[:alnum:]]*)",
205
205
  name: "punctuation.definition.variable.svelte"
206
206
  },
207
207
  {
208
- match: "(?<![_$[:alnum:]])(\\$\\$)(?=props|restProps|slots)",
208
+ match: "(?<![_$./'\"[:alnum:]])(\\$\\$)(?=props|restProps|slots)",
209
209
  name: "punctuation.definition.variable.svelte"
210
210
  }
211
211
  ]
@@ -420,7 +420,7 @@ var repository = {
420
420
  end: "(?=})",
421
421
  patterns: [
422
422
  {
423
- include: "source.ts#variable-initializer"
423
+ include: "source.ts"
424
424
  }
425
425
  ]
426
426
  }
@@ -1,6 +1,7 @@
1
1
  var $schema = "vscode://schemas/color-theme";
2
2
  var name = "Light (Visual Studio)";
3
3
  var colors = {
4
+ "activityBarItem.settingsProfilesBackground": "#4d4d4d",
4
5
  "editor.background": "#FFFFFF",
5
6
  "editor.foreground": "#000000",
6
7
  "editor.inactiveSelectionBackground": "#E5EBF1",
@@ -102,7 +103,7 @@ var tokenColors = [
102
103
  {
103
104
  scope: "entity.other.attribute-name",
104
105
  settings: {
105
- foreground: "#ff0000"
106
+ foreground: "#e50000"
106
107
  }
107
108
  },
108
109
  {
@@ -327,7 +328,7 @@ var tokenColors = [
327
328
  "source.coffee.embedded"
328
329
  ],
329
330
  settings: {
330
- foreground: "#ff0000"
331
+ foreground: "#e50000"
331
332
  }
332
333
  },
333
334
  {
@@ -15,6 +15,7 @@ var typescriptBasicsTypescript_codeSnippets = {
15
15
  Constructor: Constructor,
16
16
  "Class Definition": {
17
17
  prefix: "class",
18
+ isFileTemplate: true,
18
19
  body: [
19
20
  "class ${1:name} {",
20
21
  "\tconstructor(${2:parameters}) {",