@codingame/monaco-editor-wrapper 3.5.3 → 3.6.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 (68) hide show
  1. package/dist/COBOL.tmLanguage.js +22 -6
  2. package/dist/JavaScript.tmLanguage.js +2 -2
  3. package/dist/JavaScriptReact.tmLanguage.js +2 -2
  4. package/dist/TypeScript.tmLanguage.js +2 -2
  5. package/dist/TypeScriptReact.tmLanguage.js +2 -2
  6. package/dist/_monaco-editor_commonjs-external.js +8 -1
  7. package/dist/angular.js +6 -0
  8. package/dist/buildignore.r.js +5 -0
  9. package/dist/{COBOL.js → cobol.js} +2 -2
  10. package/dist/cobol2.js +71 -47
  11. package/dist/cpp.tmLanguage.js +808 -4380
  12. package/dist/cpptools.js +1896 -1867
  13. package/dist/css.tmLanguage.js +1 -1
  14. package/dist/d.js +3 -0
  15. package/dist/d3.js +369 -288
  16. package/dist/dart.js +37 -24
  17. package/dist/dart3.js +46 -6
  18. package/dist/features/extensionConfigurations.js +2 -1
  19. package/dist/features/jsonContribution.d.ts +1 -1
  20. package/dist/features/typescriptContribution.js +1 -1
  21. package/dist/go.mod.js +8 -0
  22. package/dist/go.mod.tmGrammar.js +182 -0
  23. package/dist/go.sum.tmGrammar.js +55 -0
  24. package/dist/go.work.js +8 -0
  25. package/dist/govulncheck.tmGrammar.js +138 -0
  26. package/dist/html.tmLanguage.js +4 -4
  27. package/dist/index2.js +89 -18
  28. package/dist/java2.js +80 -2
  29. package/dist/javascript.js +1 -1
  30. package/dist/javascriptreact.js +1 -1
  31. package/dist/lua.tmLanguage.js +104 -7
  32. package/dist/lua2.js +98 -26
  33. package/dist/main.js +144 -29
  34. package/dist/markdown-vue.js +1 -1
  35. package/dist/namespace.r.js +88 -0
  36. package/dist/ocaml3.js +8 -1
  37. package/dist/rbuildignore.js +39 -0
  38. package/dist/rnamespace.js +283 -0
  39. package/dist/scalameta.js +12 -5
  40. package/dist/shell-unix-bash.tmLanguage.js +1193 -528
  41. package/dist/solargraph.js +2 -2
  42. package/dist/sql.tmLanguage.js +134 -46
  43. package/dist/svelte.js +3 -1
  44. package/dist/svelte.svelte-vscode.js +11 -14
  45. package/dist/svlangserver.js +2 -2
  46. package/dist/tcl.tmlanguage.yaml.js +1 -1
  47. package/dist/theme-defaults~dark_plus_experimental.js +146 -0
  48. package/dist/theme-defaults~dark_vs.js +6 -2
  49. package/dist/theme-defaults~light_plus_experimental.js +159 -0
  50. package/dist/theme-defaults~light_vs.js +4 -2
  51. package/dist/tools/EditorOpenHandlerRegistry.d.ts +1 -1
  52. package/dist/typescript-language-features.js +48 -45
  53. package/dist/typescript.js +1 -1
  54. package/dist/typescriptreact.js +1 -1
  55. package/dist/volar-vue.js +51 -18
  56. package/dist/vscode-R.js +12 -1
  57. package/dist/vscode-go-go.js +276 -0
  58. package/dist/vscode-go.js +1604 -0
  59. package/dist/vscode-python.js +14 -9
  60. package/dist/vue-directives.js +1 -1
  61. package/dist/vue-interpolations.js +1 -1
  62. package/dist/vue-sfc-style-variable-injection.js +1 -1
  63. package/dist/vue.tmLanguage.js +44 -12
  64. package/dist/worker.d.ts +1 -1
  65. package/package.json +29 -29
  66. package/stats.html +2462 -329
  67. package/dist/COBOL Copybook.js +0 -6
  68. package/dist/cobol-snippets.js +0 -5
package/dist/volar-vue.js CHANGED
@@ -25,6 +25,18 @@ var volarVue = [
25
25
  "default": "off",
26
26
  "description": "Traces the communication between VS Code and the language server."
27
27
  },
28
+ "volar.vueserver.configFilePath": {
29
+ "type": "string",
30
+ "default": "./volar.config.js",
31
+ "description": "Path to volar.config.js.",
32
+ "scope": 3
33
+ },
34
+ "volar.vueserver.maxFileSize": {
35
+ "type": "number",
36
+ "default": 20971520,
37
+ "description": "Maximum file size for Vue Server to load. (default: 20MB)",
38
+ "scope": 3
39
+ },
28
40
  "volar.vueserver.petiteVue.processHtmlFile": {
29
41
  "type": "boolean",
30
42
  "default": false,
@@ -35,6 +47,10 @@ var volarVue = [
35
47
  "default": false,
36
48
  "scope": 3
37
49
  },
50
+ "volar.vueserver.json.customBlockSchemaUrls": {
51
+ "type": "object",
52
+ "scope": 3
53
+ },
38
54
  "volar.vueserver.textDocumentSync": {
39
55
  "type": "string",
40
56
  "default": "incremental",
@@ -80,6 +96,18 @@ var volarVue = [
80
96
  "description": "Ignore project references settings of tsconfig in language server for resolve issue #1916.",
81
97
  "scope": 3
82
98
  },
99
+ "volar.vueserver.reverseConfigFilePriority": {
100
+ "type": "boolean",
101
+ "default": false,
102
+ "description": "Reverse priority for tsconfig pickup.",
103
+ "scope": 3
104
+ },
105
+ "volar.vueserver.disableFileWatcher": {
106
+ "type": "boolean",
107
+ "default": false,
108
+ "description": "Disable file watcher in language server for better performance.",
109
+ "scope": 3
110
+ },
83
111
  "volar.vueserver.additionalExtensions": {
84
112
  "type": "array",
85
113
  "items": {
@@ -103,7 +131,7 @@ var volarVue = [
103
131
  },
104
132
  "volar.icon.splitEditors": {
105
133
  "type": "boolean",
106
- "default": true,
134
+ "default": false,
107
135
  "description": "Show split editor icon in title area of editor.",
108
136
  "scope": 3
109
137
  },
@@ -119,6 +147,12 @@ var volarVue = [
119
147
  "description": "Show known problems in status bar.",
120
148
  "scope": 3
121
149
  },
150
+ "volar.doctor.checkVueTsc": {
151
+ "type": "boolean",
152
+ "default": false,
153
+ "description": "Check vue-tsc version.",
154
+ "scope": 3
155
+ },
122
156
  "volar.codeLens.scriptSetupTools": {
123
157
  "type": "boolean",
124
158
  "default": false,
@@ -137,6 +171,12 @@ var volarVue = [
137
171
  "description": "Auto-complete Ref value with `.value`.",
138
172
  "scope": 3
139
173
  },
174
+ "volar.addSpaceBetweenDoubleCurlyBrackets": {
175
+ "type": "boolean",
176
+ "default": true,
177
+ "description": "Auto add space between double curly brackets: {{|}} -> {{ | }}",
178
+ "scope": 3
179
+ },
140
180
  "volar.format.initialIndent": {
141
181
  "type": "object",
142
182
  "description": "Whether to have initial indent.",
@@ -183,25 +223,18 @@ var volarVue = [
183
223
  "jsonc": {
184
224
  "type": "boolean",
185
225
  "default": false
226
+ },
227
+ "json5": {
228
+ "type": "boolean",
229
+ "default": false
186
230
  }
187
231
  },
188
232
  "scope": 3
189
233
  },
190
- "volar.takeOverMode.enabled": {
191
- "type": [
192
- "boolean",
193
- "string"
194
- ],
195
- "enum": [
196
- "auto",
197
- false
198
- ],
199
- "enumDescriptions": [
200
- "Auto enable take over mode when built-in TS extension disabled.",
201
- "Never enable take over mode."
202
- ],
203
- "default": "auto",
204
- "description": "Take over language support for *.ts.",
234
+ "volar.takeOverMode.extension": {
235
+ "type": "string",
236
+ "default": "Vue.volar",
237
+ "description": "The extension that take over language support for *.ts.",
205
238
  "scope": 3
206
239
  },
207
240
  "volar.completion.preferredTagNameCase": {
@@ -240,7 +273,7 @@ var volarVue = [
240
273
  "description": "Preferred attr name case.",
241
274
  "scope": 3
242
275
  },
243
- "volar.completion.normalizeComponentAutoImportName": {
276
+ "volar.completion.normalizeComponentImportName": {
244
277
  "type": "boolean",
245
278
  "default": true,
246
279
  "description": "Normalize import name for auto import. (\"myCompVue\" -> \"MyComp\")",
@@ -264,7 +297,7 @@ var volarVue = [
264
297
  },
265
298
  "volar.preview.backgroundColor": {
266
299
  "type": "string",
267
- "default": "#f0f0f0",
300
+ "default": "#fff",
268
301
  "description": "Component preview background color.",
269
302
  "scope": 3
270
303
  },
package/dist/vscode-R.js CHANGED
@@ -89,7 +89,7 @@ var vscodeR = [
89
89
  },
90
90
  "r.lsp.diagnostics": {
91
91
  "type": "boolean",
92
- "default": false,
92
+ "default": true,
93
93
  "description": "Enable diagnostics.",
94
94
  "scope": 3
95
95
  },
@@ -209,6 +209,17 @@ var vscodeR = [
209
209
  "default": "None",
210
210
  "scope": 3
211
211
  },
212
+ "r.helpPanel.previewLocalPackages": {
213
+ "type": "array",
214
+ "items": {
215
+ "type": "string"
216
+ },
217
+ "default": [
218
+ "."
219
+ ],
220
+ "markdownDescription": "Which local directories to try for local help pages previewer. Set to `[]` to disable.",
221
+ "scope": 3
222
+ },
212
223
  "r.helpPanel.rpath": {
213
224
  "type": "string",
214
225
  "default": "",
@@ -0,0 +1,276 @@
1
+ var vscodeGoGo = {
2
+ ".source.go": {
3
+ "single import": {
4
+ prefix: "im",
5
+ body: "import \"${1:package}\"",
6
+ description: "Snippet for import statement"
7
+ },
8
+ "multiple imports": {
9
+ prefix: "ims",
10
+ body: "import (\n\t\"${1:package}\"\n)",
11
+ description: "Snippet for a import block"
12
+ },
13
+ "single constant": {
14
+ prefix: "co",
15
+ body: "const ${1:name} = ${2:value}",
16
+ description: "Snippet for a constant"
17
+ },
18
+ "multiple constants": {
19
+ prefix: "cos",
20
+ body: "const (\n\t${1:name} = ${2:value}\n)",
21
+ description: "Snippet for a constant block"
22
+ },
23
+ "type function declaration": {
24
+ prefix: "tyf",
25
+ body: "type ${1:name} func($3) $4",
26
+ description: "Snippet for a type function declaration"
27
+ },
28
+ "type interface declaration": {
29
+ prefix: "tyi",
30
+ body: "type ${1:name} interface {\n\t$0\n}",
31
+ description: "Snippet for a type interface"
32
+ },
33
+ "type struct declaration": {
34
+ prefix: "tys",
35
+ body: "type ${1:name} struct {\n\t$0\n}",
36
+ description: "Snippet for a struct declaration"
37
+ },
38
+ "package main and main function": {
39
+ prefix: "pkgm",
40
+ body: "package main\n\nfunc main() {\n\t$0\n}",
41
+ description: "Snippet for main package & function"
42
+ },
43
+ "function declaration": {
44
+ prefix: "func",
45
+ body: "func $1($2) $3 {\n\t$0\n}",
46
+ description: "Snippet for function declaration"
47
+ },
48
+ "single variable": {
49
+ prefix: "var",
50
+ body: "var ${1:name} ${2:type}",
51
+ description: "Snippet for a variable"
52
+ },
53
+ "multiple variables": {
54
+ prefix: "vars",
55
+ body: "var (\n\t${1:name} ${2:type}\n)",
56
+ description: "Snippet for variable block"
57
+ },
58
+ "switch statement": {
59
+ prefix: "switch",
60
+ body: "switch ${1:expression} {\ncase ${2:condition}:\n\t$0\n}",
61
+ description: "Snippet for switch statement"
62
+ },
63
+ "select statement": {
64
+ prefix: "sel",
65
+ body: "select {\ncase ${1:condition}:\n\t$0\n}",
66
+ description: "Snippet for select statement"
67
+ },
68
+ "case clause": {
69
+ prefix: "cs",
70
+ body: "case ${1:condition}:$0",
71
+ description: "Snippet for case clause"
72
+ },
73
+ "for statement": {
74
+ prefix: "for",
75
+ body: "for ${1:i} := ${2:0}; $1 < ${3:count}; $1${4:++} {\n\t$0\n}",
76
+ description: "Snippet for a for loop"
77
+ },
78
+ "for range statement": {
79
+ prefix: "forr",
80
+ body: "for ${1:_, }${2:v} := range ${3:v} {\n\t$0\n}",
81
+ description: "Snippet for a for range loop"
82
+ },
83
+ "channel declaration": {
84
+ prefix: "ch",
85
+ body: "chan ${1:type}",
86
+ description: "Snippet for a channel"
87
+ },
88
+ "map declaration": {
89
+ prefix: "map",
90
+ body: "map[${1:type}]${2:type}",
91
+ description: "Snippet for a map"
92
+ },
93
+ "empty interface": {
94
+ prefix: "in",
95
+ body: "interface{}",
96
+ description: "Snippet for empty interface"
97
+ },
98
+ "if statement": {
99
+ prefix: "if",
100
+ body: "if ${1:condition} {\n\t$0\n}",
101
+ description: "Snippet for if statement"
102
+ },
103
+ "else branch": {
104
+ prefix: "el",
105
+ body: "else {\n\t$0\n}",
106
+ description: "Snippet for else branch"
107
+ },
108
+ "if else statement": {
109
+ prefix: "ie",
110
+ body: "if ${1:condition} {\n\t$2\n} else {\n\t$0\n}",
111
+ description: "Snippet for if else"
112
+ },
113
+ "if err != nil": {
114
+ prefix: "iferr",
115
+ body: "if err != nil {\n\t${1:return ${2:nil, }${3:err}}\n}",
116
+ description: "Snippet for if err != nil"
117
+ },
118
+ "fmt.Println": {
119
+ prefix: "fp",
120
+ body: "fmt.Println(\"$1\")",
121
+ description: "Snippet for fmt.Println()"
122
+ },
123
+ "fmt.Printf": {
124
+ prefix: "ff",
125
+ body: "fmt.Printf(\"$1\", ${2:var})",
126
+ description: "Snippet for fmt.Printf()"
127
+ },
128
+ "log.Println": {
129
+ prefix: "lp",
130
+ body: "log.Println(\"$1\")",
131
+ description: "Snippet for log.Println()"
132
+ },
133
+ "log.Printf": {
134
+ prefix: "lf",
135
+ body: "log.Printf(\"$1\", ${2:var})",
136
+ description: "Snippet for log.Printf()"
137
+ },
138
+ "log variable content": {
139
+ prefix: "lv",
140
+ body: "log.Printf(\"${1:var}: %#+v\\\\n\", ${1:var})",
141
+ description: "Snippet for log.Printf() with variable content"
142
+ },
143
+ "t.Log": {
144
+ prefix: "tl",
145
+ body: "t.Log(\"$1\")",
146
+ description: "Snippet for t.Log()"
147
+ },
148
+ "t.Logf": {
149
+ prefix: "tlf",
150
+ body: "t.Logf(\"$1\", ${2:var})",
151
+ description: "Snippet for t.Logf()"
152
+ },
153
+ "t.Logf variable content": {
154
+ prefix: "tlv",
155
+ body: "t.Logf(\"${1:var}: %#+v\\\\n\", ${1:var})",
156
+ description: "Snippet for t.Logf() with variable content"
157
+ },
158
+ "make(...)": {
159
+ prefix: "make",
160
+ body: "make(${1:type}, ${2:0})",
161
+ description: "Snippet for make statement"
162
+ },
163
+ "new(...)": {
164
+ prefix: "new",
165
+ body: "new(${1:type})",
166
+ description: "Snippet for new statement"
167
+ },
168
+ "panic(...)": {
169
+ prefix: "pn",
170
+ body: "panic(\"$0\")",
171
+ description: "Snippet for panic"
172
+ },
173
+ "http ResponseWriter *Request": {
174
+ prefix: "wr",
175
+ body: "${1:w} http.ResponseWriter, ${2:r} *http.Request",
176
+ description: "Snippet for http Response"
177
+ },
178
+ "http.HandleFunc": {
179
+ prefix: "hf",
180
+ body: "${1:http}.HandleFunc(\"${2:/}\", ${3:handler})",
181
+ description: "Snippet for http.HandleFunc()"
182
+ },
183
+ "http handler declaration": {
184
+ prefix: "hand",
185
+ body: "func $1(${2:w} http.ResponseWriter, ${3:r} *http.Request) {\n\t$0\n}",
186
+ description: "Snippet for http handler declaration"
187
+ },
188
+ "http.Redirect": {
189
+ prefix: "rd",
190
+ body: "http.Redirect(${1:w}, ${2:r}, \"${3:/}\", ${4:http.StatusFound})",
191
+ description: "Snippet for http.Redirect()"
192
+ },
193
+ "http.Error": {
194
+ prefix: "herr",
195
+ body: "http.Error(${1:w}, ${2:err}.Error(), ${3:http.StatusInternalServerError})",
196
+ description: "Snippet for http.Error()"
197
+ },
198
+ "http.ListenAndServe": {
199
+ prefix: "las",
200
+ body: "http.ListenAndServe(\"${1::8080}\", ${2:nil})",
201
+ description: "Snippet for http.ListenAndServe"
202
+ },
203
+ "http.Serve": {
204
+ prefix: "sv",
205
+ body: "http.Serve(\"${1::8080}\", ${2:nil})",
206
+ description: "Snippet for http.Serve"
207
+ },
208
+ "goroutine anonymous function": {
209
+ prefix: "go",
210
+ body: "go func($1) {\n\t$0\n}($2)",
211
+ description: "Snippet for anonymous goroutine declaration"
212
+ },
213
+ "goroutine function": {
214
+ prefix: "gf",
215
+ body: "go ${1:func}($0)",
216
+ description: "Snippet for goroutine declaration"
217
+ },
218
+ "defer statement": {
219
+ prefix: "df",
220
+ body: "defer ${1:func}($0)",
221
+ description: "Snippet for defer statement"
222
+ },
223
+ "test function": {
224
+ prefix: "tf",
225
+ body: "func Test$1(t *testing.T) {\n\t$0\n}",
226
+ description: "Snippet for Test function"
227
+ },
228
+ "test main": {
229
+ prefix: "tm",
230
+ body: "func TestMain(m *testing.M) {\n\t$1\n\n\tos.Exit(m.Run())\n}",
231
+ description: "Snippet for TestMain function"
232
+ },
233
+ "benchmark function": {
234
+ prefix: "bf",
235
+ body: "func Benchmark$1(b *testing.B) {\n\tfor ${2:i} := 0; ${2:i} < b.N; ${2:i}++ {\n\t\t$0\n\t}\n}",
236
+ description: "Snippet for Benchmark function"
237
+ },
238
+ "example function": {
239
+ prefix: "ef",
240
+ body: "func Example$1() {\n\t$2\n\t//Output:\n\t$3\n}",
241
+ description: "Snippet for Example function"
242
+ },
243
+ "table driven test": {
244
+ prefix: "tdt",
245
+ body: "func Test$1(t *testing.T) {\n\ttestCases := []struct {\n\t\tdesc\tstring\n\t\t$2\n\t}{\n\t\t{\n\t\t\tdesc: \"$3\",\n\t\t\t$4\n\t\t},\n\t}\n\tfor _, tC := range testCases {\n\t\tt.Run(tC.desc, func(t *testing.T) {\n\t\t\t$0\n\t\t})\n\t}\n}",
246
+ description: "Snippet for table driven test"
247
+ },
248
+ "init function": {
249
+ prefix: "finit",
250
+ body: "func init() {\n\t$1\n}",
251
+ description: "Snippet for init function"
252
+ },
253
+ "main function": {
254
+ prefix: "fmain",
255
+ body: "func main() {\n\t$1\n}",
256
+ description: "Snippet for main function"
257
+ },
258
+ "method declaration": {
259
+ prefix: "meth",
260
+ body: "func (${1:receiver} ${2:type}) ${3:method}($4) $5 {\n\t$0\n}",
261
+ description: "Snippet for method declaration"
262
+ },
263
+ "hello world web app": {
264
+ prefix: "helloweb",
265
+ body: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"time\"\n)\n\nfunc greet(w http.ResponseWriter, r *http.Request) {\n\tfmt.Fprintf(w, \"Hello World! %s\", time.Now())\n}\n\nfunc main() {\n\thttp.HandleFunc(\"/\", greet)\n\thttp.ListenAndServe(\":8080\", nil)\n}",
266
+ description: "Snippet for sample hello world webapp"
267
+ },
268
+ "sort implementation": {
269
+ prefix: "sort",
270
+ body: "type ${1:SortBy} []${2:Type}\n\nfunc (a $1) Len() int { return len(a) }\nfunc (a $1) Swap(i, j int) { a[i], a[j] = a[j], a[i] }\nfunc (a $1) Less(i, j int) bool { ${3:return a[i] < a[j]} }",
271
+ description: "Snippet for a custom sort.Sort interface implementation, for a given slice type."
272
+ }
273
+ }
274
+ };
275
+
276
+ export { vscodeGoGo as default };