@codingame/monaco-languageclient-wrapper 5.0.0-update-monaco.3 → 5.0.0-update-monaco.5
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/createLanguageClient.js +130 -0
- package/dist/{src/customRequests.js → customRequests.js} +11 -11
- package/dist/{src/extensionConfiguration.js → extensionConfiguration.js} +1 -1
- package/dist/extensions/cobol.js +27 -0
- package/dist/extensions/csharp.js +27 -0
- package/dist/extensions/java/commands.js +70 -70
- package/dist/extensions/java/extension.js +9 -8
- package/dist/extensions/java/inlayHintsProvider.js +43 -42
- package/dist/extensions/java/protocol.js +19 -19
- package/dist/extensions/java/sourceAction.js +328 -328
- package/dist/extensions/java.js +34 -0
- package/dist/extensions/tools.js +66 -0
- package/dist/extensions.js +171 -0
- package/dist/index.js +5 -5
- package/dist/infrastructure.js +89 -0
- package/dist/languageClient.js +314 -0
- package/dist/languageClientOptions.js +16 -0
- package/dist/node_modules/tslib/tslib.es6.js +9 -9
- package/dist/services.js +8 -0
- package/dist/staticOptions.js +421 -0
- package/package.json +9 -10
- package/stats.html +1 -1
- package/dist/_virtual/_commonjsHelpers.js +0 -5
- package/dist/_virtual/_rollupPluginBabelHelpers.js +0 -50
- package/dist/_virtual/api.js +0 -2
- package/dist/_virtual/cancellation.js +0 -2
- package/dist/_virtual/connection.js +0 -2
- package/dist/_virtual/disposable.js +0 -2
- package/dist/_virtual/events.js +0 -2
- package/dist/_virtual/is.js +0 -2
- package/dist/_virtual/linkedMap.js +0 -2
- package/dist/_virtual/main.js +0 -2
- package/dist/_virtual/messageBuffer.js +0 -2
- package/dist/_virtual/messageReader.js +0 -2
- package/dist/_virtual/messageWriter.js +0 -2
- package/dist/_virtual/messages.js +0 -2
- package/dist/_virtual/once.js +0 -2
- package/dist/_virtual/ral.js +0 -2
- package/dist/_virtual/ril.js +0 -2
- package/dist/_virtual/semaphore.js +0 -2
- package/dist/_virtual/sharedArrayCancellation.js +0 -2
- package/dist/node_modules/delay/index.js +0 -45
- package/dist/node_modules/once/once.js +0 -44
- package/dist/node_modules/vscode-jsonrpc/lib/browser/main.js +0 -77
- package/dist/node_modules/vscode-jsonrpc/lib/browser/ril.js +0 -153
- package/dist/node_modules/vscode-jsonrpc/lib/common/api.js +0 -96
- package/dist/node_modules/vscode-jsonrpc/lib/common/cancellation.js +0 -95
- package/dist/node_modules/vscode-jsonrpc/lib/common/connection.js +0 -1182
- package/dist/node_modules/vscode-jsonrpc/lib/common/disposable.js +0 -19
- package/dist/node_modules/vscode-jsonrpc/lib/common/events.js +0 -121
- package/dist/node_modules/vscode-jsonrpc/lib/common/is.js +0 -38
- package/dist/node_modules/vscode-jsonrpc/lib/common/linkedMap.js +0 -386
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js +0 -149
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageReader.js +0 -198
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageWriter.js +0 -122
- package/dist/node_modules/vscode-jsonrpc/lib/common/messages.js +0 -240
- package/dist/node_modules/vscode-jsonrpc/lib/common/ral.js +0 -26
- package/dist/node_modules/vscode-jsonrpc/lib/common/semaphore.js +0 -72
- package/dist/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +0 -80
- package/dist/node_modules/wrappy/wrappy.js +0 -25
- package/dist/src/createLanguageClient.js +0 -131
- package/dist/src/extensions/cobol.js +0 -24
- package/dist/src/extensions/csharp.js +0 -29
- package/dist/src/extensions/java.js +0 -36
- package/dist/src/extensions/tools.js +0 -91
- package/dist/src/extensions.js +0 -166
- package/dist/src/infrastructure.js +0 -87
- package/dist/src/languageClient.js +0 -305
- package/dist/src/languageClientOptions.js +0 -16
- package/dist/src/services.js +0 -8
- package/dist/src/staticOptions.js +0 -441
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Disposable } from 'vscode-languageserver-protocol';
|
|
2
|
+
import staticOptions from './staticOptions.js';
|
|
3
|
+
const dynamicOptions = {};
|
|
4
|
+
function registerLanguageClient(id, options) {
|
|
5
|
+
dynamicOptions[id] = options;
|
|
6
|
+
return Disposable.create(() => {
|
|
7
|
+
if (dynamicOptions[id] === options) {
|
|
8
|
+
delete dynamicOptions[id];
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
function getLanguageClientOptions(id) {
|
|
13
|
+
var _a;
|
|
14
|
+
return (_a = dynamicOptions[id]) !== null && _a !== void 0 ? _a : staticOptions[id];
|
|
15
|
+
}
|
|
16
|
+
export { getLanguageClientOptions, registerLanguageClient };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
function __awaiter(thisArg, _arguments, P, generator) {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
9
|
}
|
|
10
10
|
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
var e = new Error(message);
|
|
12
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
13
13
|
};
|
|
14
14
|
export { __awaiter };
|
package/dist/services.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as vscode from 'vscode';
|
|
2
|
+
function updateServices(infrastructure) {
|
|
3
|
+
var _a;
|
|
4
|
+
if (infrastructure.workspaceFolders != null) {
|
|
5
|
+
vscode.workspace.updateWorkspaceFolders(0, (_a = vscode.workspace.workspaceFolders) === null || _a === void 0 ? void 0 : _a.length, ...infrastructure.workspaceFolders);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
export { updateServices };
|
|
@@ -0,0 +1,421 @@
|
|
|
1
|
+
import * as vscode from 'vscode';
|
|
2
|
+
const asLanguageClientOptionsById = (options) => options;
|
|
3
|
+
const clangdHotfixMiddleware = {
|
|
4
|
+
async provideCompletionItem(document, position, context, token, next) {
|
|
5
|
+
const list = await next(document, position, context, token);
|
|
6
|
+
const items = Array.isArray(list) ? list : list === null || list === void 0 ? void 0 : list.items;
|
|
7
|
+
if (items != null) {
|
|
8
|
+
for (const item of items) {
|
|
9
|
+
item.commitCharacters = [];
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
return list;
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
const staticOptions = asLanguageClientOptionsById({
|
|
16
|
+
angular: {
|
|
17
|
+
documentSelector: [
|
|
18
|
+
{
|
|
19
|
+
scheme: 'file',
|
|
20
|
+
pattern: '**/*.ts'
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
mutualizable: true,
|
|
24
|
+
vscodeExtensionIds: ['typescript-language-features', 'angular']
|
|
25
|
+
},
|
|
26
|
+
bash: {
|
|
27
|
+
documentSelector: [
|
|
28
|
+
{
|
|
29
|
+
scheme: 'file',
|
|
30
|
+
pattern: '**/*.bash'
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
mutualizable: true,
|
|
34
|
+
maxInitializeDuration: 1000
|
|
35
|
+
},
|
|
36
|
+
c: {
|
|
37
|
+
documentSelector: [
|
|
38
|
+
{ scheme: 'file', language: 'c' },
|
|
39
|
+
{ scheme: 'file', language: 'cpp' }
|
|
40
|
+
],
|
|
41
|
+
middleware: clangdHotfixMiddleware,
|
|
42
|
+
mutualizable: false
|
|
43
|
+
},
|
|
44
|
+
csharp: {
|
|
45
|
+
documentSelector: [
|
|
46
|
+
{ scheme: 'file', language: 'csharp' }
|
|
47
|
+
],
|
|
48
|
+
mutualizable: true,
|
|
49
|
+
vscodeExtensionIds: ['omnisharp'],
|
|
50
|
+
middleware: {
|
|
51
|
+
async provideDefinition(document, position, token, next) {
|
|
52
|
+
const definition = await next(document, position, token);
|
|
53
|
+
if (definition != null && !Array.isArray(definition)) {
|
|
54
|
+
const metadataMatch = /^\/\$metadata\$(.*)$/.exec(definition.uri.fsPath);
|
|
55
|
+
if (metadataMatch != null) {
|
|
56
|
+
return {
|
|
57
|
+
...definition,
|
|
58
|
+
uri: vscode.Uri.from({ scheme: 'omnisharp-metadata', path: metadataMatch[1] })
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
return definition;
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
async createAdditionalFeatures(client) {
|
|
66
|
+
const { CsharpExtensionFeature } = await import('./extensions/csharp.js').then(module => module);
|
|
67
|
+
return [
|
|
68
|
+
new CsharpExtensionFeature(client)
|
|
69
|
+
];
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
cpp: {
|
|
73
|
+
documentSelector: [
|
|
74
|
+
{ scheme: 'file', language: 'c' },
|
|
75
|
+
{ scheme: 'file', language: 'cpp' },
|
|
76
|
+
{ scheme: 'file', language: 'cuda-cpp' }
|
|
77
|
+
],
|
|
78
|
+
middleware: clangdHotfixMiddleware,
|
|
79
|
+
mutualizable: false
|
|
80
|
+
},
|
|
81
|
+
clojure: {
|
|
82
|
+
documentSelector: [
|
|
83
|
+
{
|
|
84
|
+
scheme: 'file',
|
|
85
|
+
pattern: '**/*.clj',
|
|
86
|
+
language: 'clojure'
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
mutualizable: true
|
|
90
|
+
},
|
|
91
|
+
cobol: {
|
|
92
|
+
documentSelector: [{ scheme: 'file', language: 'COBOL' }],
|
|
93
|
+
synchronize: {
|
|
94
|
+
configurationSection: 'cobol-lsp'
|
|
95
|
+
},
|
|
96
|
+
mutualizable: false,
|
|
97
|
+
vscodeExtensionIds: ['cobol'],
|
|
98
|
+
defaultConfigurationOverride: {
|
|
99
|
+
'cobol-lsp.subroutine-manager.paths-local': ['/tmp/project']
|
|
100
|
+
},
|
|
101
|
+
async createAdditionalFeatures(client) {
|
|
102
|
+
const { CobolResolveSubroutineFeature } = await import('./extensions/cobol.js').then(module => module);
|
|
103
|
+
return [
|
|
104
|
+
new CobolResolveSubroutineFeature(client)
|
|
105
|
+
];
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
dart: {
|
|
109
|
+
documentSelector: [
|
|
110
|
+
{
|
|
111
|
+
scheme: 'file',
|
|
112
|
+
pattern: '**/*.dart',
|
|
113
|
+
language: 'dart'
|
|
114
|
+
}
|
|
115
|
+
],
|
|
116
|
+
mutualizable: true,
|
|
117
|
+
vscodeExtensionIds: ['dart']
|
|
118
|
+
},
|
|
119
|
+
go: {
|
|
120
|
+
documentSelector: [
|
|
121
|
+
{ language: 'go', scheme: 'file' },
|
|
122
|
+
{ language: 'go.mod', scheme: 'file' },
|
|
123
|
+
{ language: 'go.sum', scheme: 'file' },
|
|
124
|
+
{ language: 'go.work', scheme: 'file' },
|
|
125
|
+
{ language: 'tmpl', scheme: 'file' }
|
|
126
|
+
],
|
|
127
|
+
mutualizable: true,
|
|
128
|
+
vscodeExtensionIds: ['vscode-go'],
|
|
129
|
+
defaultConfigurationOverride: {
|
|
130
|
+
gopls: {
|
|
131
|
+
'ui.navigation.importShortcut': 'Definition'
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
groovy: {
|
|
136
|
+
documentSelector: [
|
|
137
|
+
{ scheme: 'file', language: 'groovy' }
|
|
138
|
+
],
|
|
139
|
+
synchronize: {
|
|
140
|
+
configurationSection: 'groovy'
|
|
141
|
+
},
|
|
142
|
+
mutualizable: true,
|
|
143
|
+
vscodeExtensionIds: ['vscode-groovy']
|
|
144
|
+
},
|
|
145
|
+
java: {
|
|
146
|
+
documentSelector: [
|
|
147
|
+
{ scheme: 'file', language: 'java' },
|
|
148
|
+
{ scheme: 'jdt', language: 'java' },
|
|
149
|
+
{ scheme: 'untitled', language: 'java' }
|
|
150
|
+
],
|
|
151
|
+
synchronize: {
|
|
152
|
+
configurationSection: ['java', 'editor.insertSpaces', 'editor.tabSize']
|
|
153
|
+
},
|
|
154
|
+
mutualizable: true,
|
|
155
|
+
vscodeExtensionIds: ['java'],
|
|
156
|
+
async createAdditionalFeatures(client) {
|
|
157
|
+
const { JavaExtensionFeature } = await import('./extensions/java.js').then(module => module);
|
|
158
|
+
return [
|
|
159
|
+
new JavaExtensionFeature(client)
|
|
160
|
+
];
|
|
161
|
+
},
|
|
162
|
+
initializationOptions: {
|
|
163
|
+
extendedClientCapabilities: {
|
|
164
|
+
classFileContentsSupport: true,
|
|
165
|
+
overrideMethodsPromptSupport: true,
|
|
166
|
+
hashCodeEqualsPromptSupport: true,
|
|
167
|
+
advancedOrganizeImportsSupport: true,
|
|
168
|
+
generateToStringPromptSupport: true,
|
|
169
|
+
advancedGenerateAccessorsSupport: true,
|
|
170
|
+
generateConstructorsPromptSupport: true,
|
|
171
|
+
generateDelegateMethodsPromptSupport: true
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
javascript: {
|
|
176
|
+
documentSelector: [
|
|
177
|
+
{
|
|
178
|
+
scheme: 'file',
|
|
179
|
+
pattern: '**/*.{js}',
|
|
180
|
+
language: 'javascript'
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
scheme: 'file',
|
|
184
|
+
pattern: '**/**.{js,jsx}',
|
|
185
|
+
language: 'javascript'
|
|
186
|
+
}
|
|
187
|
+
],
|
|
188
|
+
mutualizable: true,
|
|
189
|
+
vscodeExtensionIds: ['typescript-language-features']
|
|
190
|
+
},
|
|
191
|
+
kotlin: {
|
|
192
|
+
documentSelector: [
|
|
193
|
+
{ language: 'kotlin', scheme: 'file' },
|
|
194
|
+
{ language: 'kotlin', scheme: 'kls' }
|
|
195
|
+
],
|
|
196
|
+
synchronize: {
|
|
197
|
+
configurationSection: 'kotlin'
|
|
198
|
+
},
|
|
199
|
+
mutualizable: false,
|
|
200
|
+
maxInitializeDuration: 60000
|
|
201
|
+
},
|
|
202
|
+
lua: {
|
|
203
|
+
documentSelector: [
|
|
204
|
+
{ scheme: 'file', language: 'lua' }
|
|
205
|
+
],
|
|
206
|
+
synchronize: {
|
|
207
|
+
configurationSection: 'Lua'
|
|
208
|
+
},
|
|
209
|
+
mutualizable: true,
|
|
210
|
+
vscodeExtensionIds: ['lua'],
|
|
211
|
+
defaultConfigurationOverride: {
|
|
212
|
+
'Lua.runtime.version': 'Lua 5.4',
|
|
213
|
+
'Lua.diagnostics.enable': true,
|
|
214
|
+
'Lua.diagnostics.disable': ['lowercase-global']
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
mysql: {
|
|
218
|
+
documentSelector: [{
|
|
219
|
+
scheme: 'file',
|
|
220
|
+
language: 'sql'
|
|
221
|
+
}],
|
|
222
|
+
middleware: {
|
|
223
|
+
provideCodeActions() {
|
|
224
|
+
return [];
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
mutualizable: false
|
|
228
|
+
},
|
|
229
|
+
ocaml: {
|
|
230
|
+
documentSelector: [{
|
|
231
|
+
scheme: 'file',
|
|
232
|
+
language: 'ocaml'
|
|
233
|
+
}],
|
|
234
|
+
mutualizable: false
|
|
235
|
+
},
|
|
236
|
+
'objective-c': {
|
|
237
|
+
documentSelector: [
|
|
238
|
+
{ scheme: 'file', language: 'c' },
|
|
239
|
+
{ scheme: 'file', language: 'cpp' },
|
|
240
|
+
{ scheme: 'file', language: 'objective-c' }
|
|
241
|
+
],
|
|
242
|
+
middleware: clangdHotfixMiddleware,
|
|
243
|
+
mutualizable: false
|
|
244
|
+
},
|
|
245
|
+
'php-serenata': {
|
|
246
|
+
documentSelector: [
|
|
247
|
+
{
|
|
248
|
+
pattern: '**/*.php',
|
|
249
|
+
scheme: 'file'
|
|
250
|
+
}
|
|
251
|
+
],
|
|
252
|
+
synchronize: {
|
|
253
|
+
configurationSection: 'serenata'
|
|
254
|
+
},
|
|
255
|
+
initializationOptions: () => {
|
|
256
|
+
var _a;
|
|
257
|
+
return ({
|
|
258
|
+
configuration: {
|
|
259
|
+
uris: (_a = vscode.workspace.workspaceFolders) === null || _a === void 0 ? void 0 : _a.map(folder => folder.uri.toString()),
|
|
260
|
+
phpVersion: 7.3,
|
|
261
|
+
fileExtensions: [
|
|
262
|
+
'php'
|
|
263
|
+
],
|
|
264
|
+
indexDatabaseUri: 'file:///tmp/index.sqlite',
|
|
265
|
+
excludedPathExpressions: [
|
|
266
|
+
'file:///opt/serenata'
|
|
267
|
+
]
|
|
268
|
+
}
|
|
269
|
+
});
|
|
270
|
+
},
|
|
271
|
+
mutualizable: true
|
|
272
|
+
},
|
|
273
|
+
php: {
|
|
274
|
+
documentSelector: [
|
|
275
|
+
{
|
|
276
|
+
scheme: 'file',
|
|
277
|
+
pattern: '**/*.php',
|
|
278
|
+
language: 'php'
|
|
279
|
+
}
|
|
280
|
+
],
|
|
281
|
+
mutualizable: true
|
|
282
|
+
},
|
|
283
|
+
postgresql: {
|
|
284
|
+
documentSelector: [{
|
|
285
|
+
scheme: 'file',
|
|
286
|
+
language: 'postgres'
|
|
287
|
+
}],
|
|
288
|
+
middleware: {
|
|
289
|
+
provideCodeActions() {
|
|
290
|
+
return [];
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
mutualizable: false
|
|
294
|
+
},
|
|
295
|
+
python: {
|
|
296
|
+
documentSelector: [
|
|
297
|
+
{ scheme: 'file', language: 'python' }
|
|
298
|
+
],
|
|
299
|
+
synchronize: {
|
|
300
|
+
configurationSection: 'python'
|
|
301
|
+
},
|
|
302
|
+
mutualizable: true,
|
|
303
|
+
vscodeExtensionIds: ['vscode-python']
|
|
304
|
+
},
|
|
305
|
+
r: {
|
|
306
|
+
documentSelector: [
|
|
307
|
+
{ scheme: 'file', language: 'r' },
|
|
308
|
+
{ scheme: 'file', language: 'rmd' }
|
|
309
|
+
],
|
|
310
|
+
synchronize: {
|
|
311
|
+
configurationSection: 'r.lsp'
|
|
312
|
+
},
|
|
313
|
+
mutualizable: true,
|
|
314
|
+
vscodeExtensionIds: ['vscode-R'],
|
|
315
|
+
defaultConfigurationOverride: {
|
|
316
|
+
'r.lsp.diagnostics': false
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
react: {
|
|
320
|
+
documentSelector: [
|
|
321
|
+
{
|
|
322
|
+
scheme: 'file',
|
|
323
|
+
pattern: '**/*.{tsx,jsx}'
|
|
324
|
+
}
|
|
325
|
+
],
|
|
326
|
+
synchronize: {},
|
|
327
|
+
mutualizable: true,
|
|
328
|
+
vscodeExtensionIds: ['typescript-language-features']
|
|
329
|
+
},
|
|
330
|
+
ruby: {
|
|
331
|
+
documentSelector: [
|
|
332
|
+
{ scheme: 'file', language: 'ruby' }
|
|
333
|
+
],
|
|
334
|
+
mutualizable: true,
|
|
335
|
+
vscodeExtensionIds: ['solargraph'],
|
|
336
|
+
defaultConfigurationOverride: {
|
|
337
|
+
'solargraph.diagnostics': true,
|
|
338
|
+
'solargraph.formatting': true
|
|
339
|
+
},
|
|
340
|
+
synchronize: {
|
|
341
|
+
configurationSection: 'solargraph'
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
rust: {
|
|
345
|
+
documentSelector: [
|
|
346
|
+
{ scheme: 'file', language: 'rust' }
|
|
347
|
+
],
|
|
348
|
+
mutualizable: false
|
|
349
|
+
},
|
|
350
|
+
scala: {
|
|
351
|
+
documentSelector: [
|
|
352
|
+
{ scheme: 'file', language: 'scala' }
|
|
353
|
+
],
|
|
354
|
+
synchronize: {
|
|
355
|
+
configurationSection: 'metals'
|
|
356
|
+
},
|
|
357
|
+
mutualizable: false,
|
|
358
|
+
vscodeExtensionIds: ['scalameta'],
|
|
359
|
+
maxInitializeDuration: 60000,
|
|
360
|
+
readinessMessageMatcher: /compiled scala-project in/
|
|
361
|
+
},
|
|
362
|
+
sql: {
|
|
363
|
+
documentSelector: [
|
|
364
|
+
{
|
|
365
|
+
scheme: 'file',
|
|
366
|
+
language: 'sql'
|
|
367
|
+
}
|
|
368
|
+
],
|
|
369
|
+
middleware: {
|
|
370
|
+
provideCodeActions() {
|
|
371
|
+
return [];
|
|
372
|
+
}
|
|
373
|
+
},
|
|
374
|
+
mutualizable: false
|
|
375
|
+
},
|
|
376
|
+
swift: {
|
|
377
|
+
documentSelector: [{ scheme: 'file', language: 'swift' }],
|
|
378
|
+
synchronize: {},
|
|
379
|
+
mutualizable: true
|
|
380
|
+
},
|
|
381
|
+
typescript: {
|
|
382
|
+
documentSelector: [
|
|
383
|
+
{
|
|
384
|
+
scheme: 'file',
|
|
385
|
+
pattern: '**/*.{ts}',
|
|
386
|
+
language: 'typescript'
|
|
387
|
+
}
|
|
388
|
+
],
|
|
389
|
+
synchronize: {},
|
|
390
|
+
mutualizable: true,
|
|
391
|
+
vscodeExtensionIds: ['typescript-language-features']
|
|
392
|
+
},
|
|
393
|
+
verilog: {
|
|
394
|
+
documentSelector: [
|
|
395
|
+
{
|
|
396
|
+
scheme: 'file',
|
|
397
|
+
language: 'verilog'
|
|
398
|
+
}
|
|
399
|
+
],
|
|
400
|
+
mutualizable: false,
|
|
401
|
+
vscodeExtensionIds: ['svlangserver'],
|
|
402
|
+
defaultConfigurationOverride: {
|
|
403
|
+
'systemverilog.linter': 'icarus',
|
|
404
|
+
'systemverilog.launchConfiguration': 'iverilog -g2012 -t null'
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
vue: {
|
|
408
|
+
documentSelector: [
|
|
409
|
+
{
|
|
410
|
+
scheme: 'file',
|
|
411
|
+
pattern: '**/*.js',
|
|
412
|
+
language: 'javascript'
|
|
413
|
+
}
|
|
414
|
+
],
|
|
415
|
+
synchronize: {},
|
|
416
|
+
mutualizable: true,
|
|
417
|
+
vscodeExtensionIds: ['typescript-language-features']
|
|
418
|
+
}
|
|
419
|
+
});
|
|
420
|
+
var staticOptions$1 = staticOptions;
|
|
421
|
+
export { staticOptions$1 as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-languageclient-wrapper",
|
|
3
|
-
"version": "5.0.0-update-monaco.
|
|
3
|
+
"version": "5.0.0-update-monaco.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Enhanced Monaco editor with TextMate grammars and more",
|
|
6
6
|
"scripts": {
|
|
@@ -24,12 +24,15 @@
|
|
|
24
24
|
"types": "./dist/index.d.ts",
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@codingame/monaco-editor-wrapper": "4.0.0-monaco-update.2",
|
|
27
|
-
"@codingame/monaco-vscode-files-service-override": "~2.0.
|
|
28
|
-
"
|
|
29
|
-
"monaco-editor": "npm:@codingame/monaco-vscode-editor-api@~2.0.
|
|
27
|
+
"@codingame/monaco-vscode-files-service-override": "~2.0.2",
|
|
28
|
+
"delay": "^6.0.0",
|
|
29
|
+
"monaco-editor": "npm:@codingame/monaco-vscode-editor-api@~2.0.2",
|
|
30
|
+
"once": "^1.4.0",
|
|
31
|
+
"vscode": "npm:@codingame/monaco-vscode-api@~2.0.2",
|
|
32
|
+
"vscode-jsonrpc": "^8.2.0",
|
|
30
33
|
"vscode-languageclient": "~9.0.1",
|
|
31
|
-
"vscode-
|
|
32
|
-
"vscode-
|
|
34
|
+
"vscode-languageserver-protocol": "^3.17.5",
|
|
35
|
+
"vscode-ws-jsonrpc": "^3.1.0"
|
|
33
36
|
},
|
|
34
37
|
"devDependencies": {
|
|
35
38
|
"@babel/core": "7.23.9",
|
|
@@ -44,8 +47,6 @@
|
|
|
44
47
|
"@codingame/semantic-release-config": "^1.3.5",
|
|
45
48
|
"@codingame/tsconfig": "^1.1.1",
|
|
46
49
|
"@commitlint/cli": "^18.6.0",
|
|
47
|
-
"@rollup/plugin-alias": "5.1.0",
|
|
48
|
-
"@rollup/plugin-babel": "6.0.4",
|
|
49
50
|
"@rollup/plugin-commonjs": "25.0.7",
|
|
50
51
|
"@rollup/plugin-eslint": "9.0.5",
|
|
51
52
|
"@rollup/plugin-json": "6.1.0",
|
|
@@ -60,7 +61,6 @@
|
|
|
60
61
|
"browser-resolve": "^2.0.0",
|
|
61
62
|
"canvas": "^2.11.2",
|
|
62
63
|
"conventional-changelog-conventionalcommits": "^7.0.2",
|
|
63
|
-
"delay": "^6.0.0",
|
|
64
64
|
"eslint": "8.56.0",
|
|
65
65
|
"eslint-config-standard": "17.1.0",
|
|
66
66
|
"eslint-plugin-import": "2.29.1",
|
|
@@ -72,7 +72,6 @@
|
|
|
72
72
|
"jest": "^29.7.0",
|
|
73
73
|
"jest-environment-jsdom": "^29.7.0",
|
|
74
74
|
"js-cleanup": "^1.2.0",
|
|
75
|
-
"once": "^1.4.0",
|
|
76
75
|
"proxy-polyfill": "^0.3.2",
|
|
77
76
|
"recast": "^0.23.4",
|
|
78
77
|
"rollup": "4.9.6",
|