@codingame/monaco-editor-wrapper 2.1.2 → 2.2.2
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.
- package/dist/Scala.tmLanguage.js +32 -0
- package/dist/configuration/files.d.ts +6 -0
- package/dist/configuration/index.d.ts +6 -2
- package/dist/cpptools.js +2 -1
- package/dist/dart3.js +48 -15
- package/dist/features/extensionConfigurations.d.ts +0 -6
- package/dist/features/extensionConfigurations.js +1 -62
- package/dist/features/htmlContribution.js +21 -11
- package/dist/index.js +82 -8
- package/dist/lua2.js +180 -84
- package/dist/main.js +33 -27
- package/dist/omnisharp.js +1 -1
- package/dist/svlangserver.js +1 -1
- package/dist/vscode-python.js +16 -0
- package/package.json +3 -2
- package/stats.html +1 -1
package/dist/lua2.js
CHANGED
|
@@ -97,99 +97,101 @@ var lua = [
|
|
|
97
97
|
],
|
|
98
98
|
"items": {
|
|
99
99
|
"enum": [
|
|
100
|
-
"
|
|
101
|
-
"
|
|
100
|
+
"action-after-return",
|
|
101
|
+
"ambiguity-1",
|
|
102
|
+
"args-after-dots",
|
|
103
|
+
"assign-type-mismatch",
|
|
104
|
+
"await-in-sync",
|
|
105
|
+
"block-after-else",
|
|
102
106
|
"break-outside",
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
107
|
+
"cast-local-type",
|
|
108
|
+
"cast-type-mismatch",
|
|
109
|
+
"circle-doc-class",
|
|
110
|
+
"close-non-object",
|
|
111
|
+
"code-after-break",
|
|
112
|
+
"codestyle-check",
|
|
113
|
+
"count-down-loop",
|
|
114
|
+
"deprecated",
|
|
109
115
|
"different-requires",
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
116
|
+
"discard-returns",
|
|
117
|
+
"doc-field-no-class",
|
|
118
|
+
"duplicate-doc-alias",
|
|
119
|
+
"duplicate-doc-field",
|
|
120
|
+
"duplicate-doc-param",
|
|
121
|
+
"duplicate-index",
|
|
122
|
+
"duplicate-set-field",
|
|
123
|
+
"empty-block",
|
|
115
124
|
"err-assign-as-eq",
|
|
116
|
-
"
|
|
117
|
-
"
|
|
125
|
+
"err-c-long-comment",
|
|
126
|
+
"err-comment-prefix",
|
|
127
|
+
"err-do-as-then",
|
|
128
|
+
"err-eq-as-assign",
|
|
129
|
+
"err-esc",
|
|
130
|
+
"err-nonstandard-symbol",
|
|
131
|
+
"err-then-as-do",
|
|
132
|
+
"exp-in-action",
|
|
118
133
|
"global-in-nil-env",
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"
|
|
134
|
+
"index-in-func-name",
|
|
135
|
+
"jump-local-scope",
|
|
136
|
+
"keyword",
|
|
137
|
+
"local-limit",
|
|
138
|
+
"lowercase-global",
|
|
123
139
|
"malformed-number",
|
|
124
|
-
"
|
|
125
|
-
"spell-check",
|
|
126
|
-
"undefined-env-child",
|
|
127
|
-
"missing-return-value",
|
|
128
|
-
"discard-returns",
|
|
129
|
-
"redundant-return",
|
|
140
|
+
"miss-end",
|
|
130
141
|
"miss-esc-x",
|
|
131
|
-
"redundant-value",
|
|
132
|
-
"duplicate-doc-alias",
|
|
133
|
-
"doc-field-no-class",
|
|
134
|
-
"no-visible-label",
|
|
135
142
|
"miss-exp",
|
|
143
|
+
"miss-exponent",
|
|
144
|
+
"miss-field",
|
|
136
145
|
"miss-loop-max",
|
|
146
|
+
"miss-loop-min",
|
|
147
|
+
"miss-method",
|
|
137
148
|
"miss-name",
|
|
138
|
-
"
|
|
139
|
-
"
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"unexpect-lfunc-name",
|
|
147
|
-
"unsupport-symbol",
|
|
148
|
-
"unused-label",
|
|
149
|
-
"action-after-return",
|
|
150
|
-
"unexpect-dots",
|
|
149
|
+
"miss-sep-in-table",
|
|
150
|
+
"miss-space-between",
|
|
151
|
+
"miss-symbol",
|
|
152
|
+
"missing-parameter",
|
|
153
|
+
"missing-return",
|
|
154
|
+
"missing-return-value",
|
|
155
|
+
"need-check-nil",
|
|
156
|
+
"newfield-call",
|
|
151
157
|
"newline-call",
|
|
152
|
-
"
|
|
153
|
-
"
|
|
154
|
-
"
|
|
155
|
-
"
|
|
156
|
-
"
|
|
157
|
-
"
|
|
158
|
-
"
|
|
159
|
-
"
|
|
160
|
-
"unicode-name",
|
|
161
|
-
"miss-exponent",
|
|
162
|
-
"err-esc",
|
|
158
|
+
"no-unknown",
|
|
159
|
+
"no-visible-label",
|
|
160
|
+
"not-yieldable",
|
|
161
|
+
"param-type-mismatch",
|
|
162
|
+
"redefined-label",
|
|
163
|
+
"redefined-local",
|
|
164
|
+
"redundant-parameter",
|
|
165
|
+
"redundant-return",
|
|
163
166
|
"redundant-return-value",
|
|
167
|
+
"redundant-value",
|
|
168
|
+
"return-type-mismatch",
|
|
169
|
+
"set-const",
|
|
170
|
+
"spell-check",
|
|
171
|
+
"trailing-space",
|
|
164
172
|
"unbalanced-assignments",
|
|
165
|
-
"
|
|
173
|
+
"undefined-doc-class",
|
|
166
174
|
"undefined-doc-name",
|
|
167
|
-
"
|
|
168
|
-
"
|
|
169
|
-
"
|
|
170
|
-
"codestyle-check",
|
|
171
|
-
"missing-return",
|
|
175
|
+
"undefined-doc-param",
|
|
176
|
+
"undefined-env-child",
|
|
177
|
+
"undefined-field",
|
|
172
178
|
"undefined-global",
|
|
173
|
-
"
|
|
174
|
-
"
|
|
175
|
-
"
|
|
176
|
-
"
|
|
177
|
-
"
|
|
178
|
-
"
|
|
179
|
-
"
|
|
179
|
+
"unexpect-dots",
|
|
180
|
+
"unexpect-efunc-name",
|
|
181
|
+
"unexpect-lfunc-name",
|
|
182
|
+
"unexpect-symbol",
|
|
183
|
+
"unicode-name",
|
|
184
|
+
"unknown-attribute",
|
|
185
|
+
"unknown-cast-variable",
|
|
180
186
|
"unknown-diag-code",
|
|
181
|
-
"
|
|
182
|
-
"
|
|
183
|
-
"
|
|
184
|
-
"
|
|
185
|
-
"
|
|
186
|
-
"
|
|
187
|
-
"
|
|
188
|
-
"
|
|
189
|
-
"index-in-func-name",
|
|
190
|
-
"miss-symbol",
|
|
191
|
-
"undefined-field",
|
|
192
|
-
"miss-space-between"
|
|
187
|
+
"unknown-operator",
|
|
188
|
+
"unknown-symbol",
|
|
189
|
+
"unreachable-code",
|
|
190
|
+
"unsupport-symbol",
|
|
191
|
+
"unused-function",
|
|
192
|
+
"unused-label",
|
|
193
|
+
"unused-local",
|
|
194
|
+
"unused-vararg"
|
|
193
195
|
],
|
|
194
196
|
"type": "string"
|
|
195
197
|
},
|
|
@@ -284,7 +286,7 @@ var lua = [
|
|
|
284
286
|
},
|
|
285
287
|
"luadoc": {
|
|
286
288
|
"default": "Fallback",
|
|
287
|
-
"description": "*
|
|
289
|
+
"description": "* circle-doc-class\n* doc-field-no-class\n* duplicate-doc-alias\n* duplicate-doc-field\n* duplicate-doc-param\n* undefined-doc-class\n* undefined-doc-name\n* undefined-doc-param\n* unknown-cast-variable\n* unknown-diag-code\n* unknown-operator",
|
|
288
290
|
"enum": [
|
|
289
291
|
"Any",
|
|
290
292
|
"Opened",
|
|
@@ -350,7 +352,7 @@ var lua = [
|
|
|
350
352
|
},
|
|
351
353
|
"unused": {
|
|
352
354
|
"default": "Fallback",
|
|
353
|
-
"description": "* code-after-break\n* empty-block\n* redundant-return\n* trailing-space\n* unused-function\n* unused-label\n* unused-local\n* unused-vararg",
|
|
355
|
+
"description": "* code-after-break\n* empty-block\n* redundant-return\n* trailing-space\n* unreachable-code\n* unused-function\n* unused-label\n* unused-local\n* unused-vararg",
|
|
354
356
|
"enum": [
|
|
355
357
|
"Any",
|
|
356
358
|
"Opened",
|
|
@@ -430,7 +432,7 @@ var lua = [
|
|
|
430
432
|
},
|
|
431
433
|
"luadoc": {
|
|
432
434
|
"default": "Fallback",
|
|
433
|
-
"description": "*
|
|
435
|
+
"description": "* circle-doc-class\n* doc-field-no-class\n* duplicate-doc-alias\n* duplicate-doc-field\n* duplicate-doc-param\n* undefined-doc-class\n* undefined-doc-name\n* undefined-doc-param\n* unknown-cast-variable\n* unknown-diag-code\n* unknown-operator",
|
|
434
436
|
"enum": [
|
|
435
437
|
"Error",
|
|
436
438
|
"Warning",
|
|
@@ -502,7 +504,7 @@ var lua = [
|
|
|
502
504
|
},
|
|
503
505
|
"unused": {
|
|
504
506
|
"default": "Fallback",
|
|
505
|
-
"description": "* code-after-break\n* empty-block\n* redundant-return\n* trailing-space\n* unused-function\n* unused-label\n* unused-local\n* unused-vararg",
|
|
507
|
+
"description": "* code-after-break\n* empty-block\n* redundant-return\n* trailing-space\n* unreachable-code\n* unused-function\n* unused-label\n* unused-local\n* unused-vararg",
|
|
506
508
|
"enum": [
|
|
507
509
|
"Error",
|
|
508
510
|
"Warning",
|
|
@@ -606,7 +608,7 @@ var lua = [
|
|
|
606
608
|
"type": "string"
|
|
607
609
|
},
|
|
608
610
|
"cast-type-mismatch": {
|
|
609
|
-
"default": "
|
|
611
|
+
"default": "Opened",
|
|
610
612
|
"description": "%config.diagnostics.cast-type-mismatch%",
|
|
611
613
|
"enum": [
|
|
612
614
|
"Any",
|
|
@@ -1177,6 +1179,32 @@ var lua = [
|
|
|
1177
1179
|
],
|
|
1178
1180
|
"type": "string"
|
|
1179
1181
|
},
|
|
1182
|
+
"unknown-operator": {
|
|
1183
|
+
"default": "Any",
|
|
1184
|
+
"description": "%config.diagnostics.unknown-operator%",
|
|
1185
|
+
"enum": [
|
|
1186
|
+
"Any",
|
|
1187
|
+
"Opened",
|
|
1188
|
+
"None",
|
|
1189
|
+
"Any!",
|
|
1190
|
+
"Opened!",
|
|
1191
|
+
"None!"
|
|
1192
|
+
],
|
|
1193
|
+
"type": "string"
|
|
1194
|
+
},
|
|
1195
|
+
"unreachable-code": {
|
|
1196
|
+
"default": "Opened",
|
|
1197
|
+
"description": "%config.diagnostics.unreachable-code%",
|
|
1198
|
+
"enum": [
|
|
1199
|
+
"Any",
|
|
1200
|
+
"Opened",
|
|
1201
|
+
"None",
|
|
1202
|
+
"Any!",
|
|
1203
|
+
"Opened!",
|
|
1204
|
+
"None!"
|
|
1205
|
+
],
|
|
1206
|
+
"type": "string"
|
|
1207
|
+
},
|
|
1180
1208
|
"unused-function": {
|
|
1181
1209
|
"default": "Opened",
|
|
1182
1210
|
"description": "Enable unused function diagnostics.",
|
|
@@ -1958,6 +1986,36 @@ var lua = [
|
|
|
1958
1986
|
],
|
|
1959
1987
|
"type": "string"
|
|
1960
1988
|
},
|
|
1989
|
+
"unknown-operator": {
|
|
1990
|
+
"default": "Warning",
|
|
1991
|
+
"description": "%config.diagnostics.unknown-operator%",
|
|
1992
|
+
"enum": [
|
|
1993
|
+
"Error",
|
|
1994
|
+
"Warning",
|
|
1995
|
+
"Information",
|
|
1996
|
+
"Hint",
|
|
1997
|
+
"Error!",
|
|
1998
|
+
"Warning!",
|
|
1999
|
+
"Information!",
|
|
2000
|
+
"Hint!"
|
|
2001
|
+
],
|
|
2002
|
+
"type": "string"
|
|
2003
|
+
},
|
|
2004
|
+
"unreachable-code": {
|
|
2005
|
+
"default": "Hint",
|
|
2006
|
+
"description": "%config.diagnostics.unreachable-code%",
|
|
2007
|
+
"enum": [
|
|
2008
|
+
"Error",
|
|
2009
|
+
"Warning",
|
|
2010
|
+
"Information",
|
|
2011
|
+
"Hint",
|
|
2012
|
+
"Error!",
|
|
2013
|
+
"Warning!",
|
|
2014
|
+
"Information!",
|
|
2015
|
+
"Hint!"
|
|
2016
|
+
],
|
|
2017
|
+
"type": "string"
|
|
2018
|
+
},
|
|
1961
2019
|
"unused-function": {
|
|
1962
2020
|
"default": "Hint",
|
|
1963
2021
|
"description": "Enable unused function diagnostics.",
|
|
@@ -2023,6 +2081,15 @@ var lua = [
|
|
|
2023
2081
|
"title": "severity",
|
|
2024
2082
|
"type": "object"
|
|
2025
2083
|
},
|
|
2084
|
+
"Lua.diagnostics.unusedLocalExclude": {
|
|
2085
|
+
"default": [],
|
|
2086
|
+
"items": {
|
|
2087
|
+
"type": "string"
|
|
2088
|
+
},
|
|
2089
|
+
"markdownDescription": "Do not diagnose `unused-local` when the variable name matches the following pattern.",
|
|
2090
|
+
"scope": 4,
|
|
2091
|
+
"type": "array"
|
|
2092
|
+
},
|
|
2026
2093
|
"Lua.diagnostics.workspaceDelay": {
|
|
2027
2094
|
"default": 3000,
|
|
2028
2095
|
"markdownDescription": "Latency (milliseconds) for workspace diagnostics. When you start the workspace, or edit any file, the entire workspace will be re-diagnosed in the background. Set to negative to disable workspace diagnostics.",
|
|
@@ -2322,6 +2389,26 @@ var lua = [
|
|
|
2322
2389
|
],
|
|
2323
2390
|
"type": "string"
|
|
2324
2391
|
},
|
|
2392
|
+
"table.clear": {
|
|
2393
|
+
"default": "default",
|
|
2394
|
+
"description": "%config.runtime.builtin.table.clear%",
|
|
2395
|
+
"enum": [
|
|
2396
|
+
"default",
|
|
2397
|
+
"enable",
|
|
2398
|
+
"disable"
|
|
2399
|
+
],
|
|
2400
|
+
"type": "string"
|
|
2401
|
+
},
|
|
2402
|
+
"table.new": {
|
|
2403
|
+
"default": "default",
|
|
2404
|
+
"description": "%config.runtime.builtin.table.new%",
|
|
2405
|
+
"enum": [
|
|
2406
|
+
"default",
|
|
2407
|
+
"enable",
|
|
2408
|
+
"disable"
|
|
2409
|
+
],
|
|
2410
|
+
"type": "string"
|
|
2411
|
+
},
|
|
2325
2412
|
"utf8": {
|
|
2326
2413
|
"default": "default",
|
|
2327
2414
|
"description": "%config.runtime.builtin.utf8%",
|
|
@@ -2415,6 +2502,15 @@ var lua = [
|
|
|
2415
2502
|
"scope": 4,
|
|
2416
2503
|
"type": "string"
|
|
2417
2504
|
},
|
|
2505
|
+
"Lua.runtime.pluginArgs": {
|
|
2506
|
+
"default": [],
|
|
2507
|
+
"items": {
|
|
2508
|
+
"type": "string"
|
|
2509
|
+
},
|
|
2510
|
+
"markdownDescription": "Additional arguments for the plugin.",
|
|
2511
|
+
"scope": 4,
|
|
2512
|
+
"type": "array"
|
|
2513
|
+
},
|
|
2418
2514
|
"Lua.runtime.special": {
|
|
2419
2515
|
"additionalProperties": false,
|
|
2420
2516
|
"default": {},
|
|
@@ -2521,7 +2617,7 @@ var lua = [
|
|
|
2521
2617
|
]
|
|
2522
2618
|
},
|
|
2523
2619
|
"Lua.type.castNumberToInteger": {
|
|
2524
|
-
"default":
|
|
2620
|
+
"default": true,
|
|
2525
2621
|
"markdownDescription": "Allowed to assign the `number` type to the `integer` type.",
|
|
2526
2622
|
"scope": 4,
|
|
2527
2623
|
"type": "boolean"
|
package/dist/main.js
CHANGED
|
@@ -4,10 +4,13 @@ import { _ as _objectSpread2, a as _defineProperty } from './_rollupPluginBabelH
|
|
|
4
4
|
import onigFile from 'vscode-oniguruma/release/onig.wasm';
|
|
5
5
|
import { loadWASM, createOnigScanner, createOnigString } from 'vscode-oniguruma';
|
|
6
6
|
import { e as extensions, g as getConfiguration$1, o as onConfigurationChanged } from './index.js';
|
|
7
|
-
export { g as getConfiguration, o as onConfigurationChanged, r as registerConfigurations, a as registerDefaultConfigurations
|
|
7
|
+
export { g as getConfiguration, o as onConfigurationChanged, r as registerConfigurations, a as registerDefaultConfigurations } from './index.js';
|
|
8
8
|
import getModelEditorServiceOverride from 'vscode/service-override/modelEditor';
|
|
9
9
|
import getMessageServiceOverride from 'vscode/service-override/messages';
|
|
10
|
+
import getConfigurationServiceOverride from 'vscode/service-override/configuration';
|
|
11
|
+
export { updateUserConfiguration } from 'vscode/service-override/configuration';
|
|
10
12
|
import './worker.js';
|
|
13
|
+
import { createConfiguredEditor } from 'vscode/monaco';
|
|
11
14
|
import 'monaco-editor/esm/vs/editor/editor.all';
|
|
12
15
|
import 'monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp';
|
|
13
16
|
import 'monaco-editor/esm/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard';
|
|
@@ -18,6 +21,7 @@ import 'monaco-editor/esm/vs/editor/standalone/browser/quickAccess/standaloneGot
|
|
|
18
21
|
import 'monaco-editor/esm/vs/editor/standalone/browser/quickAccess/standaloneCommandsQuickAccess';
|
|
19
22
|
import 'monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch';
|
|
20
23
|
import * as shiftCommand from 'monaco-editor/esm/vs/editor/common/commands/shiftCommand';
|
|
24
|
+
import 'vscode/services';
|
|
21
25
|
|
|
22
26
|
function _mergeNamespaces(n, m) {
|
|
23
27
|
m.forEach(function (e) {
|
|
@@ -1852,11 +1856,10 @@ function getOrCreateGrammarFactory() {
|
|
|
1852
1856
|
return textMateGrammarFactory;
|
|
1853
1857
|
}
|
|
1854
1858
|
|
|
1855
|
-
const languageService$2 = monaco$2.extra.StandaloneServices.get(monaco$2.languages.ILanguageService);
|
|
1856
|
-
|
|
1857
1859
|
async function createTextMateTokensProvider(languageId) {
|
|
1860
|
+
const languageService = monaco$2.extra.StandaloneServices.get(monaco$2.languages.ILanguageService);
|
|
1858
1861
|
const grammarFactory = getOrCreateGrammarFactory();
|
|
1859
|
-
const encodedLanguageId = languageService
|
|
1862
|
+
const encodedLanguageId = languageService.languageIdCodec.encodeLanguageId(languageId);
|
|
1860
1863
|
|
|
1861
1864
|
if (!grammarFactory.has(languageId)) {
|
|
1862
1865
|
return null;
|
|
@@ -1875,7 +1878,7 @@ async function createTextMateTokensProvider(languageId) {
|
|
|
1875
1878
|
const tokenization = new monaco$2.extra.TMTokenization(grammar, initialState, containsEmbeddedLanguages);
|
|
1876
1879
|
tokenization.onDidEncounterLanguage(encodedLanguageId => {
|
|
1877
1880
|
// Force monaco to load this language and trigger the global `onDidEncounterLanguage`
|
|
1878
|
-
languageService
|
|
1881
|
+
languageService.createById(languageService.languageIdCodec.decodeLanguageId(encodedLanguageId));
|
|
1879
1882
|
});
|
|
1880
1883
|
return new CGTMTokenizationSupport(languageId, encodedLanguageId, tokenization, grammar);
|
|
1881
1884
|
}
|
|
@@ -4108,9 +4111,12 @@ class SimpleSnippetService {
|
|
|
4108
4111
|
|
|
4109
4112
|
}
|
|
4110
4113
|
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
monaco$2.extra.
|
|
4114
|
+
setTimeout(() => {
|
|
4115
|
+
// In a timeout so the service can be overriden
|
|
4116
|
+
const languageService = monaco$2.extra.StandaloneServices.get(monaco$2.languages.ILanguageService);
|
|
4117
|
+
const languageConfigurationService = monaco$2.extra.StandaloneServices.get(monaco$2.languages.ILanguageConfigurationService);
|
|
4118
|
+
monaco$2.extra.setSnippetSuggestSupport(new monaco$2.extra.SnippetCompletionProvider(languageService, new SimpleSnippetService(), languageConfigurationService));
|
|
4119
|
+
});
|
|
4114
4120
|
|
|
4115
4121
|
/* Add custom blocks parsing (for tech.io):
|
|
4116
4122
|
// { [autofold]
|
|
@@ -4153,7 +4159,6 @@ for (const [languageId, aliases] of Object.entries(customAliases)) {
|
|
|
4153
4159
|
});
|
|
4154
4160
|
}
|
|
4155
4161
|
|
|
4156
|
-
const languageService = monaco$2.extra.StandaloneServices.get(monaco$2.languages.ILanguageService);
|
|
4157
4162
|
const languagesIds = Array.from(new Set([...Object.keys(languageLoader), ...textMateLanguages.map(rawLanguage => rawLanguage.id)]));
|
|
4158
4163
|
|
|
4159
4164
|
for (const textMateLanguage of textMateLanguages) {
|
|
@@ -4218,19 +4223,24 @@ async function loadLanguageConfiguration(languageId) {
|
|
|
4218
4223
|
}
|
|
4219
4224
|
}
|
|
4220
4225
|
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4226
|
+
setTimeout(() => {
|
|
4227
|
+
// In a timeout so the service can be overriden
|
|
4228
|
+
const languageService = monaco$2.extra.StandaloneServices.get(monaco$2.languages.ILanguageService);
|
|
4229
|
+
languageService.onDidEncounterLanguage(async languageId => {
|
|
4230
|
+
if (languageId === 'plaintext') {
|
|
4231
|
+
return;
|
|
4232
|
+
}
|
|
4225
4233
|
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
|
|
4234
|
+
loadLanguageConfiguration(languageId).catch(error => {
|
|
4235
|
+
monaco$2.errorHandler.onUnexpectedError(new Error("Unable to load language configuration for language ".concat(languageId), {
|
|
4236
|
+
cause: error
|
|
4237
|
+
}));
|
|
4238
|
+
});
|
|
4230
4239
|
});
|
|
4231
4240
|
});
|
|
4232
4241
|
|
|
4233
4242
|
function getMonacoLanguage(languageOrModeId) {
|
|
4243
|
+
const languageService = monaco$2.extra.StandaloneServices.get(monaco$2.languages.ILanguageService);
|
|
4234
4244
|
const modeId = languageService.getLanguageIdByLanguageName(languageOrModeId.toLowerCase());
|
|
4235
4245
|
|
|
4236
4246
|
if (modeId != null) {
|
|
@@ -4626,24 +4636,20 @@ class EditorOpenHandlerRegistry {
|
|
|
4626
4636
|
}
|
|
4627
4637
|
|
|
4628
4638
|
const editorOpenHandlerRegistry = new EditorOpenHandlerRegistry();
|
|
4629
|
-
monaco$2.extra.StandaloneServices.initialize(_objectSpread2(_objectSpread2({}, getModelEditorServiceOverride((model, input, sideBySide) => {
|
|
4639
|
+
monaco$2.extra.StandaloneServices.initialize(_objectSpread2(_objectSpread2(_objectSpread2({}, getModelEditorServiceOverride((model, input, sideBySide) => {
|
|
4630
4640
|
return editorOpenHandlerRegistry.openCodeEditor(model, input, sideBySide);
|
|
4631
|
-
})), getMessageServiceOverride(document.body))); // Disable high contrast autodetection because it fallbacks on the hc-black no matter what
|
|
4632
|
-
|
|
4633
|
-
monaco$2.extra.StandaloneServices.get(monaco$2.editor.IStandaloneThemeService).setAutoDetectHighContrast(false); // Force EOL to be '\n' even on Windows
|
|
4641
|
+
})), getMessageServiceOverride(document.body)), getConfigurationServiceOverride())); // Disable high contrast autodetection because it fallbacks on the hc-black no matter what
|
|
4634
4642
|
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
monaco$2.
|
|
4638
|
-
cause: error
|
|
4639
|
-
}));
|
|
4643
|
+
setTimeout(() => {
|
|
4644
|
+
// In a timeout so the service can be overriden
|
|
4645
|
+
monaco$2.extra.StandaloneServices.get(monaco$2.editor.IStandaloneThemeService).setAutoDetectHighContrast(false);
|
|
4640
4646
|
});
|
|
4641
4647
|
monaco$2.errorHandler.setUnexpectedErrorHandler(error => {
|
|
4642
4648
|
console.warn('Unexpected error', error);
|
|
4643
4649
|
});
|
|
4644
4650
|
|
|
4645
4651
|
function createEditor(domElement, options) {
|
|
4646
|
-
const editor =
|
|
4652
|
+
const editor = createConfiguredEditor(domElement, options);
|
|
4647
4653
|
setup(editor);
|
|
4648
4654
|
return editor;
|
|
4649
4655
|
}
|
package/dist/omnisharp.js
CHANGED
|
@@ -16,7 +16,7 @@ var omnisharp = [
|
|
|
16
16
|
},
|
|
17
17
|
"csharp.unitTestDebuggingOptions": {
|
|
18
18
|
"type": "object",
|
|
19
|
-
"description": "Options to use with the debugger when launching for unit test debugging.
|
|
19
|
+
"description": "Options to use with the debugger when launching for unit test debugging.",
|
|
20
20
|
"default": {},
|
|
21
21
|
"properties": {
|
|
22
22
|
"sourceFileMap": {
|
package/dist/svlangserver.js
CHANGED
|
@@ -28,7 +28,7 @@ var svlangserver = [
|
|
|
28
28
|
},
|
|
29
29
|
"systemverilog.launchConfiguration": {
|
|
30
30
|
"type": "string",
|
|
31
|
-
"default": "iverilog -t null",
|
|
31
|
+
"default": "iverilog -g2012 -t null",
|
|
32
32
|
"description": "Command used for linting",
|
|
33
33
|
"examples": [
|
|
34
34
|
"verilator -sv --lint-only --Wall",
|
package/dist/vscode-python.js
CHANGED
|
@@ -208,6 +208,22 @@ var vscodePython = [
|
|
|
208
208
|
"scope": 4,
|
|
209
209
|
"type": "string"
|
|
210
210
|
},
|
|
211
|
+
"python.interpreter.infoVisibility": {
|
|
212
|
+
"default": "onPythonRelated",
|
|
213
|
+
"description": "Controls when to display information of selected interpreter in the status bar.",
|
|
214
|
+
"enum": [
|
|
215
|
+
"never",
|
|
216
|
+
"onPythonRelated",
|
|
217
|
+
"always"
|
|
218
|
+
],
|
|
219
|
+
"enumDescriptions": [
|
|
220
|
+
"Never display information.",
|
|
221
|
+
"Only display information if Python-related files are opened.",
|
|
222
|
+
"Always display information."
|
|
223
|
+
],
|
|
224
|
+
"scope": 2,
|
|
225
|
+
"type": "string"
|
|
226
|
+
},
|
|
211
227
|
"python.linting.flake8CategorySeverity.W": {
|
|
212
228
|
"default": "Warning",
|
|
213
229
|
"description": "Severity of Flake8 message type 'W'.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-editor-wrapper",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Enhanced Monaco editor with TextMate grammars and more",
|
|
6
6
|
"scripts": {
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
],
|
|
67
67
|
"dependencies": {
|
|
68
68
|
"monaco-editor": "npm:@codingame/monaco-editor@^0.33.6",
|
|
69
|
-
"vscode": "npm:@codingame/monaco-vscode-api@~1.67.
|
|
69
|
+
"vscode": "npm:@codingame/monaco-vscode-api@~1.67.19",
|
|
70
70
|
"vscode-oniguruma": "^1.6.2"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
@@ -88,6 +88,7 @@
|
|
|
88
88
|
"@types/js-yaml": "^4.0.5",
|
|
89
89
|
"@types/node": "16.11.7",
|
|
90
90
|
"@types/rollup-plugin-node-builtins": "^2.1.2",
|
|
91
|
+
"@types/vscode": "~1.67.0",
|
|
91
92
|
"@typescript-eslint/eslint-plugin": "5.27.1",
|
|
92
93
|
"@typescript-eslint/parser": "5.27.1",
|
|
93
94
|
"conventional-changelog-conventionalcommits": "^4.6.3",
|