@codingame/monaco-languageclient-wrapper 4.1.1 → 4.2.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.
- package/dist/csharp.js +1 -1
- package/dist/index.d.ts +7 -6
- package/dist/index2.js +178 -152
- package/package.json +47 -44
- package/stats.html +2513 -370
package/dist/index2.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { toSocket, WebSocketMessageReader, WebSocketMessageWriter } from 'vscode-ws-jsonrpc';
|
|
2
2
|
import * as monaco from 'monaco-editor/esm/vs/editor/editor.api';
|
|
3
|
-
import * as
|
|
4
|
-
import { ProtocolNotificationType, ProtocolRequestType, Emitter, TextDocumentSaveReason,
|
|
3
|
+
import * as vscodeLanguageserverProtocol from 'vscode-languageserver-protocol';
|
|
4
|
+
import { ProtocolNotificationType, ProtocolRequestType, Emitter, TextDocumentSaveReason, InitializeRequest, DidSaveTextDocumentNotification, LogMessageNotification } from 'vscode-languageserver-protocol';
|
|
5
5
|
import { loadConfigurationForExtension } from '@codingame/monaco-editor-wrapper/features/extensionConfigurations';
|
|
6
|
+
import { registerDefaultConfigurations, registerTextModelContentProvider } from '@codingame/monaco-editor-wrapper';
|
|
6
7
|
import * as browser from 'vscode-languageserver-protocol/browser';
|
|
7
8
|
import * as vscode$3 from 'vscode';
|
|
8
9
|
import { errorHandler } from 'vscode/monaco';
|
|
9
10
|
import { Services } from 'vscode/services';
|
|
10
|
-
import { Disposable } from 'vscode-languageserver-protocol/lib/common/api';
|
|
11
|
-
import { registerTextModelContentProvider } from '@codingame/monaco-editor-wrapper';
|
|
11
|
+
import { Disposable } from 'vscode-languageserver-protocol/lib/common/api.js';
|
|
12
12
|
function ownKeys(object, enumerableOnly) {
|
|
13
13
|
var keys = Object.keys(object);
|
|
14
14
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -31,6 +31,7 @@ function _objectSpread2(target) {
|
|
|
31
31
|
return target;
|
|
32
32
|
}
|
|
33
33
|
function _defineProperty(obj, key, value) {
|
|
34
|
+
key = _toPropertyKey(key);
|
|
34
35
|
if (key in obj) {
|
|
35
36
|
Object.defineProperty(obj, key, {
|
|
36
37
|
value: value,
|
|
@@ -43,6 +44,20 @@ function _defineProperty(obj, key, value) {
|
|
|
43
44
|
}
|
|
44
45
|
return obj;
|
|
45
46
|
}
|
|
47
|
+
function _toPrimitive(input, hint) {
|
|
48
|
+
if (typeof input !== "object" || input === null) return input;
|
|
49
|
+
var prim = input[Symbol.toPrimitive];
|
|
50
|
+
if (prim !== undefined) {
|
|
51
|
+
var res = prim.call(input, hint || "default");
|
|
52
|
+
if (typeof res !== "object") return res;
|
|
53
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
54
|
+
}
|
|
55
|
+
return (hint === "string" ? String : Number)(input);
|
|
56
|
+
}
|
|
57
|
+
function _toPropertyKey(arg) {
|
|
58
|
+
var key = _toPrimitive(arg, "string");
|
|
59
|
+
return typeof key === "symbol" ? key : String(key);
|
|
60
|
+
}
|
|
46
61
|
const willShutdownNotificationType = new ProtocolNotificationType('willShutdown');
|
|
47
62
|
const saveTextDocumentRequestType = new ProtocolRequestType('textDocument/save');
|
|
48
63
|
const getTextDocumentRequestType = new ProtocolRequestType('textDocument/get');
|
|
@@ -136,12 +151,20 @@ async function loadExtensionConfigurations(clientOptions, useMutualizedProxy) {
|
|
|
136
151
|
}
|
|
137
152
|
}
|
|
138
153
|
await Promise.all(Array.from(extensionConfigurationToLoad).map(extensionId => loadConfigurationForExtension(extensionId)));
|
|
154
|
+
registerDefaultConfigurations(clientOptions.map(clientOption => clientOption.defaultConfigurationOverride).filter(v => v != null));
|
|
139
155
|
}
|
|
140
156
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
141
157
|
function getAugmentedNamespace(n) {
|
|
158
|
+
if (n.__esModule) return n;
|
|
142
159
|
var f = n.default;
|
|
143
160
|
if (typeof f == "function") {
|
|
144
|
-
var a = function () {
|
|
161
|
+
var a = function a () {
|
|
162
|
+
if (this instanceof a) {
|
|
163
|
+
var args = [null];
|
|
164
|
+
args.push.apply(args, arguments);
|
|
165
|
+
var Ctor = Function.bind.apply(f, args);
|
|
166
|
+
return new Ctor();
|
|
167
|
+
}
|
|
145
168
|
return f.apply(this, arguments);
|
|
146
169
|
};
|
|
147
170
|
a.prototype = f.prototype;
|
|
@@ -160,9 +183,9 @@ function getAugmentedNamespace(n) {
|
|
|
160
183
|
}
|
|
161
184
|
var main$1 = {};
|
|
162
185
|
var api$1 = {};
|
|
163
|
-
var require$$0$
|
|
186
|
+
var require$$0$1 = getAugmentedNamespace(vscodeLanguageserverProtocol);
|
|
164
187
|
var features = {};
|
|
165
|
-
var require$$0
|
|
188
|
+
var require$$0 = getAugmentedNamespace(vscode$3);
|
|
166
189
|
var is$1 = {};
|
|
167
190
|
Object.defineProperty(is$1, "__esModule", {
|
|
168
191
|
value: true
|
|
@@ -271,8 +294,8 @@ uuid.generateUuid = generateUuid;
|
|
|
271
294
|
value: true
|
|
272
295
|
});
|
|
273
296
|
exports.WorkspaceFeature = exports.TextDocumentLanguageFeature = exports.TextDocumentEventFeature = exports.DynamicDocumentFeature = exports.DynamicFeature = exports.StaticFeature = exports.ensure = exports.LSPCancellationError = void 0;
|
|
274
|
-
const vscode_1 = require$$0
|
|
275
|
-
const vscode_languageserver_protocol_1 = require$$0$
|
|
297
|
+
const vscode_1 = require$$0;
|
|
298
|
+
const vscode_languageserver_protocol_1 = require$$0$1;
|
|
276
299
|
const Is = is$1;
|
|
277
300
|
const UUID = uuid;
|
|
278
301
|
class LSPCancellationError extends vscode_1.CancellationError {
|
|
@@ -723,19 +746,19 @@ var substr = 'ab'.substr(-1) === 'b' ?
|
|
|
723
746
|
;
|
|
724
747
|
var _polyfillNode_path$1 = Object.freeze({
|
|
725
748
|
__proto__: null,
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
isAbsolute: isAbsolute,
|
|
729
|
-
join: join,
|
|
730
|
-
relative: relative,
|
|
731
|
-
sep: sep,
|
|
749
|
+
basename: basename,
|
|
750
|
+
default: _polyfillNode_path,
|
|
732
751
|
delimiter: delimiter,
|
|
733
752
|
dirname: dirname,
|
|
734
|
-
basename: basename,
|
|
735
753
|
extname: extname,
|
|
736
|
-
|
|
754
|
+
isAbsolute: isAbsolute,
|
|
755
|
+
join: join,
|
|
756
|
+
normalize: normalize,
|
|
757
|
+
relative: relative,
|
|
758
|
+
resolve: resolve,
|
|
759
|
+
sep: sep
|
|
737
760
|
});
|
|
738
|
-
var require$$
|
|
761
|
+
var require$$1$1 = getAugmentedNamespace(_polyfillNode_path$1);
|
|
739
762
|
var concatMap$1 = function (xs, fn) {
|
|
740
763
|
var res = [];
|
|
741
764
|
for (var i = 0; i < xs.length; i++) {
|
|
@@ -953,7 +976,7 @@ function expand$1(str, isTop) {
|
|
|
953
976
|
}
|
|
954
977
|
var minimatch_1 = minimatch$2;
|
|
955
978
|
minimatch$2.Minimatch = Minimatch;
|
|
956
|
-
var path = (function () { try { return require$$
|
|
979
|
+
var path = (function () { try { return require$$1$1 } catch (e) {}}()) || {
|
|
957
980
|
sep: '/'
|
|
958
981
|
};
|
|
959
982
|
minimatch$2.sep = path.sep;
|
|
@@ -1528,8 +1551,8 @@ function regExpEscape (s) {
|
|
|
1528
1551
|
});
|
|
1529
1552
|
exports.DiagnosticFeature = exports.DiagnosticPullMode = exports.vsdiag = void 0;
|
|
1530
1553
|
const minimatch = minimatch_1;
|
|
1531
|
-
const vscode_1 = require$$0
|
|
1532
|
-
const vscode_languageserver_protocol_1 = require$$0$
|
|
1554
|
+
const vscode_1 = require$$0;
|
|
1555
|
+
const vscode_languageserver_protocol_1 = require$$0$1;
|
|
1533
1556
|
const uuid_1 = uuid;
|
|
1534
1557
|
const features_1 = features;
|
|
1535
1558
|
function ensure(target, key) {
|
|
@@ -2333,7 +2356,7 @@ Object.defineProperty(async$2, "__esModule", {
|
|
|
2333
2356
|
value: true
|
|
2334
2357
|
});
|
|
2335
2358
|
async$2.forEach = async$2.mapAsync = async$2.map = async$2.clearTestMode = async$2.setTestMode = async$2.Semaphore = async$2.Delayer = void 0;
|
|
2336
|
-
const vscode_languageserver_protocol_1$v = require$$0$
|
|
2359
|
+
const vscode_languageserver_protocol_1$v = require$$0$1;
|
|
2337
2360
|
class Delayer {
|
|
2338
2361
|
constructor(defaultDelay) {
|
|
2339
2362
|
this.defaultDelay = defaultDelay;
|
|
@@ -2393,7 +2416,7 @@ class Delayer {
|
|
|
2393
2416
|
}
|
|
2394
2417
|
}
|
|
2395
2418
|
async$2.Delayer = Delayer;
|
|
2396
|
-
|
|
2419
|
+
let Semaphore$1 = class Semaphore {
|
|
2397
2420
|
constructor() {
|
|
2398
2421
|
let capacity = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
|
|
2399
2422
|
if (capacity <= 0) {
|
|
@@ -2454,7 +2477,7 @@ class Semaphore$1 {
|
|
|
2454
2477
|
this.runNext();
|
|
2455
2478
|
}
|
|
2456
2479
|
}
|
|
2457
|
-
}
|
|
2480
|
+
};
|
|
2458
2481
|
async$2.Semaphore = Semaphore$1;
|
|
2459
2482
|
let $test = false;
|
|
2460
2483
|
function setTestMode() {
|
|
@@ -2465,8 +2488,7 @@ function clearTestMode() {
|
|
|
2465
2488
|
$test = false;
|
|
2466
2489
|
}
|
|
2467
2490
|
async$2.clearTestMode = clearTestMode;
|
|
2468
|
-
const defaultYieldTimeout = 15
|
|
2469
|
-
;
|
|
2491
|
+
const defaultYieldTimeout = 15 ;
|
|
2470
2492
|
class Timer {
|
|
2471
2493
|
constructor() {
|
|
2472
2494
|
let yieldAfter = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultYieldTimeout;
|
|
@@ -2599,7 +2621,7 @@ var protocolCompletionItem = {};
|
|
|
2599
2621
|
Object.defineProperty(protocolCompletionItem, "__esModule", {
|
|
2600
2622
|
value: true
|
|
2601
2623
|
});
|
|
2602
|
-
const code$a = require$$0
|
|
2624
|
+
const code$a = require$$0;
|
|
2603
2625
|
class ProtocolCompletionItem extends code$a.CompletionItem {
|
|
2604
2626
|
constructor(label) {
|
|
2605
2627
|
super(label);
|
|
@@ -2610,7 +2632,7 @@ var protocolCodeLens = {};
|
|
|
2610
2632
|
Object.defineProperty(protocolCodeLens, "__esModule", {
|
|
2611
2633
|
value: true
|
|
2612
2634
|
});
|
|
2613
|
-
const code$9 = require$$0
|
|
2635
|
+
const code$9 = require$$0;
|
|
2614
2636
|
class ProtocolCodeLens extends code$9.CodeLens {
|
|
2615
2637
|
constructor(range) {
|
|
2616
2638
|
super(range);
|
|
@@ -2621,7 +2643,7 @@ var protocolDocumentLink = {};
|
|
|
2621
2643
|
Object.defineProperty(protocolDocumentLink, "__esModule", {
|
|
2622
2644
|
value: true
|
|
2623
2645
|
});
|
|
2624
|
-
const code$8 = require$$0
|
|
2646
|
+
const code$8 = require$$0;
|
|
2625
2647
|
class ProtocolDocumentLink extends code$8.DocumentLink {
|
|
2626
2648
|
constructor(range, target) {
|
|
2627
2649
|
super(range, target);
|
|
@@ -2632,7 +2654,7 @@ var protocolCodeAction = {};
|
|
|
2632
2654
|
Object.defineProperty(protocolCodeAction, "__esModule", {
|
|
2633
2655
|
value: true
|
|
2634
2656
|
});
|
|
2635
|
-
const vscode$2 = require$$0
|
|
2657
|
+
const vscode$2 = require$$0;
|
|
2636
2658
|
class ProtocolCodeAction extends vscode$2.CodeAction {
|
|
2637
2659
|
constructor(title, data) {
|
|
2638
2660
|
super(title);
|
|
@@ -2646,7 +2668,7 @@ var protocolDiagnostic = {};
|
|
|
2646
2668
|
value: true
|
|
2647
2669
|
});
|
|
2648
2670
|
exports.ProtocolDiagnostic = exports.DiagnosticCode = void 0;
|
|
2649
|
-
const vscode = require$$0
|
|
2671
|
+
const vscode = require$$0;
|
|
2650
2672
|
const Is = is$1;
|
|
2651
2673
|
(function (DiagnosticCode) {
|
|
2652
2674
|
function is(value) {
|
|
@@ -2668,7 +2690,7 @@ var protocolCallHierarchyItem = {};
|
|
|
2668
2690
|
Object.defineProperty(protocolCallHierarchyItem, "__esModule", {
|
|
2669
2691
|
value: true
|
|
2670
2692
|
});
|
|
2671
|
-
const code$7 = require$$0
|
|
2693
|
+
const code$7 = require$$0;
|
|
2672
2694
|
class ProtocolCallHierarchyItem extends code$7.CallHierarchyItem {
|
|
2673
2695
|
constructor(kind, name, detail, uri, range, selectionRange, data) {
|
|
2674
2696
|
super(kind, name, detail, uri, range, selectionRange);
|
|
@@ -2682,7 +2704,7 @@ var protocolTypeHierarchyItem = {};
|
|
|
2682
2704
|
Object.defineProperty(protocolTypeHierarchyItem, "__esModule", {
|
|
2683
2705
|
value: true
|
|
2684
2706
|
});
|
|
2685
|
-
const code$6 = require$$0
|
|
2707
|
+
const code$6 = require$$0;
|
|
2686
2708
|
class ProtocolTypeHierarchyItem extends code$6.TypeHierarchyItem {
|
|
2687
2709
|
constructor(kind, name, detail, uri, range, selectionRange, data) {
|
|
2688
2710
|
super(kind, name, detail, uri, range, selectionRange);
|
|
@@ -2696,7 +2718,7 @@ var protocolWorkspaceSymbol = {};
|
|
|
2696
2718
|
Object.defineProperty(protocolWorkspaceSymbol, "__esModule", {
|
|
2697
2719
|
value: true
|
|
2698
2720
|
});
|
|
2699
|
-
const code$5 = require$$0
|
|
2721
|
+
const code$5 = require$$0;
|
|
2700
2722
|
class WorkspaceSymbol extends code$5.SymbolInformation {
|
|
2701
2723
|
constructor(name, kind, containerName, locationOrUri, data) {
|
|
2702
2724
|
const hasRange = !(locationOrUri instanceof code$5.Uri);
|
|
@@ -2712,7 +2734,7 @@ var protocolInlayHint = {};
|
|
|
2712
2734
|
Object.defineProperty(protocolInlayHint, "__esModule", {
|
|
2713
2735
|
value: true
|
|
2714
2736
|
});
|
|
2715
|
-
const code$4 = require$$0
|
|
2737
|
+
const code$4 = require$$0;
|
|
2716
2738
|
class ProtocolInlayHint extends code$4.InlayHint {
|
|
2717
2739
|
constructor(position, label, kind) {
|
|
2718
2740
|
super(position, label, kind);
|
|
@@ -2723,8 +2745,8 @@ Object.defineProperty(codeConverter, "__esModule", {
|
|
|
2723
2745
|
value: true
|
|
2724
2746
|
});
|
|
2725
2747
|
codeConverter.createConverter = void 0;
|
|
2726
|
-
const code$3 = require$$0
|
|
2727
|
-
const proto$3 = require$$0$
|
|
2748
|
+
const code$3 = require$$0;
|
|
2749
|
+
const proto$3 = require$$0$1;
|
|
2728
2750
|
const Is$6 = is$1;
|
|
2729
2751
|
const async$1 = async$2;
|
|
2730
2752
|
const protocolCompletionItem_1$1 = protocolCompletionItem;
|
|
@@ -3577,8 +3599,8 @@ Object.defineProperty(protocolConverter, "__esModule", {
|
|
|
3577
3599
|
value: true
|
|
3578
3600
|
});
|
|
3579
3601
|
protocolConverter.createConverter = void 0;
|
|
3580
|
-
const code$2 = require$$0
|
|
3581
|
-
const ls = require$$0$
|
|
3602
|
+
const code$2 = require$$0;
|
|
3603
|
+
const ls = require$$0$1;
|
|
3582
3604
|
const Is$5 = is$1;
|
|
3583
3605
|
const async = async$2;
|
|
3584
3606
|
const protocolCompletionItem_1 = protocolCompletionItem;
|
|
@@ -3590,7 +3612,7 @@ const protocolCallHierarchyItem_1 = protocolCallHierarchyItem;
|
|
|
3590
3612
|
const protocolTypeHierarchyItem_1 = protocolTypeHierarchyItem;
|
|
3591
3613
|
const protocolWorkspaceSymbol_1 = protocolWorkspaceSymbol;
|
|
3592
3614
|
const protocolInlayHint_1 = protocolInlayHint;
|
|
3593
|
-
const vscode_languageserver_protocol_1$u = require$$0$
|
|
3615
|
+
const vscode_languageserver_protocol_1$u = require$$0$1;
|
|
3594
3616
|
var CodeBlock;
|
|
3595
3617
|
(function (CodeBlock) {
|
|
3596
3618
|
function is(value) {
|
|
@@ -4680,8 +4702,8 @@ Object.defineProperty(progressPart, "__esModule", {
|
|
|
4680
4702
|
value: true
|
|
4681
4703
|
});
|
|
4682
4704
|
progressPart.ProgressPart = void 0;
|
|
4683
|
-
const vscode_1$r = require$$0
|
|
4684
|
-
const vscode_languageserver_protocol_1$t = require$$0$
|
|
4705
|
+
const vscode_1$r = require$$0;
|
|
4706
|
+
const vscode_languageserver_protocol_1$t = require$$0$1;
|
|
4685
4707
|
const Is$4 = is$1;
|
|
4686
4708
|
class ProgressPart {
|
|
4687
4709
|
constructor(_client, _token, done) {
|
|
@@ -4781,9 +4803,9 @@ Object.defineProperty(notebook, "__esModule", {
|
|
|
4781
4803
|
value: true
|
|
4782
4804
|
});
|
|
4783
4805
|
notebook.NotebookDocumentSyncFeature = void 0;
|
|
4784
|
-
const vscode$1 = require$$0
|
|
4806
|
+
const vscode$1 = require$$0;
|
|
4785
4807
|
const minimatch$1 = minimatch_1;
|
|
4786
|
-
const proto$2 = require$$0$
|
|
4808
|
+
const proto$2 = require$$0$1;
|
|
4787
4809
|
const UUID$h = uuid;
|
|
4788
4810
|
const Is$3 = is$1;
|
|
4789
4811
|
function ensure$2(target, key) {
|
|
@@ -5630,8 +5652,8 @@ Object.defineProperty(configuration, "__esModule", {
|
|
|
5630
5652
|
value: true
|
|
5631
5653
|
});
|
|
5632
5654
|
var SyncConfigurationFeature_1 = configuration.SyncConfigurationFeature = configuration.toJSONObject = ConfigurationFeature_1 = configuration.ConfigurationFeature = void 0;
|
|
5633
|
-
const vscode_1$q = require$$0
|
|
5634
|
-
const vscode_languageserver_protocol_1$s = require$$0$
|
|
5655
|
+
const vscode_1$q = require$$0;
|
|
5656
|
+
const vscode_languageserver_protocol_1$s = require$$0$1;
|
|
5635
5657
|
const Is$2 = is$1;
|
|
5636
5658
|
const UUID$g = uuid;
|
|
5637
5659
|
const features_1$r = features;
|
|
@@ -5829,8 +5851,8 @@ Object.defineProperty(textSynchronization, "__esModule", {
|
|
|
5829
5851
|
value: true
|
|
5830
5852
|
});
|
|
5831
5853
|
var DidSaveTextDocumentFeature_1 = textSynchronization.DidSaveTextDocumentFeature = WillSaveWaitUntilFeature_1 = textSynchronization.WillSaveWaitUntilFeature = WillSaveFeature_1 = textSynchronization.WillSaveFeature = DidChangeTextDocumentFeature_1 = textSynchronization.DidChangeTextDocumentFeature = DidCloseTextDocumentFeature_1 = textSynchronization.DidCloseTextDocumentFeature = DidOpenTextDocumentFeature_1 = textSynchronization.DidOpenTextDocumentFeature = void 0;
|
|
5832
|
-
const vscode_1$p = require$$0
|
|
5833
|
-
const vscode_languageserver_protocol_1$r = require$$0$
|
|
5854
|
+
const vscode_1$p = require$$0;
|
|
5855
|
+
const vscode_languageserver_protocol_1$r = require$$0$1;
|
|
5834
5856
|
const features_1$q = features;
|
|
5835
5857
|
const async_1 = async$2;
|
|
5836
5858
|
const UUID$f = uuid;
|
|
@@ -6200,8 +6222,8 @@ Object.defineProperty(completion, "__esModule", {
|
|
|
6200
6222
|
value: true
|
|
6201
6223
|
});
|
|
6202
6224
|
var CompletionItemFeature_1 = completion.CompletionItemFeature = void 0;
|
|
6203
|
-
const vscode_1$o = require$$0
|
|
6204
|
-
const vscode_languageserver_protocol_1$q = require$$0$
|
|
6225
|
+
const vscode_1$o = require$$0;
|
|
6226
|
+
const vscode_languageserver_protocol_1$q = require$$0$1;
|
|
6205
6227
|
const features_1$p = features;
|
|
6206
6228
|
const UUID$e = uuid;
|
|
6207
6229
|
const SupportedCompletionItemKinds = [vscode_languageserver_protocol_1$q.CompletionItemKind.Text, vscode_languageserver_protocol_1$q.CompletionItemKind.Method, vscode_languageserver_protocol_1$q.CompletionItemKind.Function, vscode_languageserver_protocol_1$q.CompletionItemKind.Constructor, vscode_languageserver_protocol_1$q.CompletionItemKind.Field, vscode_languageserver_protocol_1$q.CompletionItemKind.Variable, vscode_languageserver_protocol_1$q.CompletionItemKind.Class, vscode_languageserver_protocol_1$q.CompletionItemKind.Interface, vscode_languageserver_protocol_1$q.CompletionItemKind.Module, vscode_languageserver_protocol_1$q.CompletionItemKind.Property, vscode_languageserver_protocol_1$q.CompletionItemKind.Unit, vscode_languageserver_protocol_1$q.CompletionItemKind.Value, vscode_languageserver_protocol_1$q.CompletionItemKind.Enum, vscode_languageserver_protocol_1$q.CompletionItemKind.Keyword, vscode_languageserver_protocol_1$q.CompletionItemKind.Snippet, vscode_languageserver_protocol_1$q.CompletionItemKind.Color, vscode_languageserver_protocol_1$q.CompletionItemKind.File, vscode_languageserver_protocol_1$q.CompletionItemKind.Reference, vscode_languageserver_protocol_1$q.CompletionItemKind.Folder, vscode_languageserver_protocol_1$q.CompletionItemKind.EnumMember, vscode_languageserver_protocol_1$q.CompletionItemKind.Constant, vscode_languageserver_protocol_1$q.CompletionItemKind.Struct, vscode_languageserver_protocol_1$q.CompletionItemKind.Event, vscode_languageserver_protocol_1$q.CompletionItemKind.Operator, vscode_languageserver_protocol_1$q.CompletionItemKind.TypeParameter];
|
|
@@ -6297,8 +6319,8 @@ Object.defineProperty(hover, "__esModule", {
|
|
|
6297
6319
|
value: true
|
|
6298
6320
|
});
|
|
6299
6321
|
var HoverFeature_1 = hover.HoverFeature = void 0;
|
|
6300
|
-
const vscode_1$n = require$$0
|
|
6301
|
-
const vscode_languageserver_protocol_1$p = require$$0$
|
|
6322
|
+
const vscode_1$n = require$$0;
|
|
6323
|
+
const vscode_languageserver_protocol_1$p = require$$0$1;
|
|
6302
6324
|
const features_1$o = features;
|
|
6303
6325
|
const UUID$d = uuid;
|
|
6304
6326
|
class HoverFeature extends features_1$o.TextDocumentLanguageFeature {
|
|
@@ -6351,8 +6373,8 @@ Object.defineProperty(definition, "__esModule", {
|
|
|
6351
6373
|
value: true
|
|
6352
6374
|
});
|
|
6353
6375
|
var DefinitionFeature_1 = definition.DefinitionFeature = void 0;
|
|
6354
|
-
const vscode_1$m = require$$0
|
|
6355
|
-
const vscode_languageserver_protocol_1$o = require$$0$
|
|
6376
|
+
const vscode_1$m = require$$0;
|
|
6377
|
+
const vscode_languageserver_protocol_1$o = require$$0$1;
|
|
6356
6378
|
const features_1$n = features;
|
|
6357
6379
|
const UUID$c = uuid;
|
|
6358
6380
|
class DefinitionFeature extends features_1$n.TextDocumentLanguageFeature {
|
|
@@ -6405,8 +6427,8 @@ Object.defineProperty(signatureHelp, "__esModule", {
|
|
|
6405
6427
|
value: true
|
|
6406
6428
|
});
|
|
6407
6429
|
var SignatureHelpFeature_1 = signatureHelp.SignatureHelpFeature = void 0;
|
|
6408
|
-
const vscode_1$l = require$$0
|
|
6409
|
-
const vscode_languageserver_protocol_1$n = require$$0$
|
|
6430
|
+
const vscode_1$l = require$$0;
|
|
6431
|
+
const vscode_languageserver_protocol_1$n = require$$0$1;
|
|
6410
6432
|
const features_1$m = features;
|
|
6411
6433
|
const UUID$b = uuid;
|
|
6412
6434
|
class SignatureHelpFeature extends features_1$m.TextDocumentLanguageFeature {
|
|
@@ -6475,8 +6497,8 @@ Object.defineProperty(documentHighlight, "__esModule", {
|
|
|
6475
6497
|
value: true
|
|
6476
6498
|
});
|
|
6477
6499
|
var DocumentHighlightFeature_1 = documentHighlight.DocumentHighlightFeature = void 0;
|
|
6478
|
-
const vscode_1$k = require$$0
|
|
6479
|
-
const vscode_languageserver_protocol_1$m = require$$0$
|
|
6500
|
+
const vscode_1$k = require$$0;
|
|
6501
|
+
const vscode_languageserver_protocol_1$m = require$$0$1;
|
|
6480
6502
|
const features_1$l = features;
|
|
6481
6503
|
const UUID$a = uuid;
|
|
6482
6504
|
class DocumentHighlightFeature extends features_1$l.TextDocumentLanguageFeature {
|
|
@@ -6525,8 +6547,8 @@ var documentSymbol = {};
|
|
|
6525
6547
|
value: true
|
|
6526
6548
|
});
|
|
6527
6549
|
exports.DocumentSymbolFeature = exports.SupportedSymbolTags = exports.SupportedSymbolKinds = void 0;
|
|
6528
|
-
const vscode_1 = require$$0
|
|
6529
|
-
const vscode_languageserver_protocol_1 = require$$0$
|
|
6550
|
+
const vscode_1 = require$$0;
|
|
6551
|
+
const vscode_languageserver_protocol_1 = require$$0$1;
|
|
6530
6552
|
const features_1 = features;
|
|
6531
6553
|
const UUID = uuid;
|
|
6532
6554
|
exports.SupportedSymbolKinds = [vscode_languageserver_protocol_1.SymbolKind.File, vscode_languageserver_protocol_1.SymbolKind.Module, vscode_languageserver_protocol_1.SymbolKind.Namespace, vscode_languageserver_protocol_1.SymbolKind.Package, vscode_languageserver_protocol_1.SymbolKind.Class, vscode_languageserver_protocol_1.SymbolKind.Method, vscode_languageserver_protocol_1.SymbolKind.Property, vscode_languageserver_protocol_1.SymbolKind.Field, vscode_languageserver_protocol_1.SymbolKind.Constructor, vscode_languageserver_protocol_1.SymbolKind.Enum, vscode_languageserver_protocol_1.SymbolKind.Interface, vscode_languageserver_protocol_1.SymbolKind.Function, vscode_languageserver_protocol_1.SymbolKind.Variable, vscode_languageserver_protocol_1.SymbolKind.Constant, vscode_languageserver_protocol_1.SymbolKind.String, vscode_languageserver_protocol_1.SymbolKind.Number, vscode_languageserver_protocol_1.SymbolKind.Boolean, vscode_languageserver_protocol_1.SymbolKind.Array, vscode_languageserver_protocol_1.SymbolKind.Object, vscode_languageserver_protocol_1.SymbolKind.Key, vscode_languageserver_protocol_1.SymbolKind.Null, vscode_languageserver_protocol_1.SymbolKind.EnumMember, vscode_languageserver_protocol_1.SymbolKind.Struct, vscode_languageserver_protocol_1.SymbolKind.Event, vscode_languageserver_protocol_1.SymbolKind.Operator, vscode_languageserver_protocol_1.SymbolKind.TypeParameter];
|
|
@@ -6598,8 +6620,8 @@ Object.defineProperty(workspaceSymbol, "__esModule", {
|
|
|
6598
6620
|
value: true
|
|
6599
6621
|
});
|
|
6600
6622
|
workspaceSymbol.WorkspaceSymbolFeature = void 0;
|
|
6601
|
-
const vscode_1$j = require$$0
|
|
6602
|
-
const vscode_languageserver_protocol_1$l = require$$0$
|
|
6623
|
+
const vscode_1$j = require$$0;
|
|
6624
|
+
const vscode_languageserver_protocol_1$l = require$$0$1;
|
|
6603
6625
|
const features_1$k = features;
|
|
6604
6626
|
const documentSymbol_1 = documentSymbol;
|
|
6605
6627
|
const UUID$9 = uuid;
|
|
@@ -6675,8 +6697,8 @@ Object.defineProperty(reference, "__esModule", {
|
|
|
6675
6697
|
value: true
|
|
6676
6698
|
});
|
|
6677
6699
|
var ReferencesFeature_1 = reference.ReferencesFeature = void 0;
|
|
6678
|
-
const vscode_1$i = require$$0
|
|
6679
|
-
const vscode_languageserver_protocol_1$k = require$$0$
|
|
6700
|
+
const vscode_1$i = require$$0;
|
|
6701
|
+
const vscode_languageserver_protocol_1$k = require$$0$1;
|
|
6680
6702
|
const features_1$j = features;
|
|
6681
6703
|
const UUID$8 = uuid;
|
|
6682
6704
|
class ReferencesFeature extends features_1$j.TextDocumentLanguageFeature {
|
|
@@ -6727,8 +6749,8 @@ Object.defineProperty(codeAction, "__esModule", {
|
|
|
6727
6749
|
value: true
|
|
6728
6750
|
});
|
|
6729
6751
|
var CodeActionFeature_1 = codeAction.CodeActionFeature = void 0;
|
|
6730
|
-
const vscode_1$h = require$$0
|
|
6731
|
-
const vscode_languageserver_protocol_1$j = require$$0$
|
|
6752
|
+
const vscode_1$h = require$$0;
|
|
6753
|
+
const vscode_languageserver_protocol_1$j = require$$0$1;
|
|
6732
6754
|
const UUID$7 = uuid;
|
|
6733
6755
|
const features_1$i = features;
|
|
6734
6756
|
class CodeActionFeature extends features_1$i.TextDocumentLanguageFeature {
|
|
@@ -6811,8 +6833,8 @@ Object.defineProperty(codeLens, "__esModule", {
|
|
|
6811
6833
|
value: true
|
|
6812
6834
|
});
|
|
6813
6835
|
var CodeLensFeature_1 = codeLens.CodeLensFeature = void 0;
|
|
6814
|
-
const vscode_1$g = require$$0
|
|
6815
|
-
const vscode_languageserver_protocol_1$i = require$$0$
|
|
6836
|
+
const vscode_1$g = require$$0;
|
|
6837
|
+
const vscode_languageserver_protocol_1$i = require$$0$1;
|
|
6816
6838
|
const UUID$6 = uuid;
|
|
6817
6839
|
const features_1$h = features;
|
|
6818
6840
|
class CodeLensFeature extends features_1$h.TextDocumentLanguageFeature {
|
|
@@ -6887,8 +6909,8 @@ Object.defineProperty(formatting, "__esModule", {
|
|
|
6887
6909
|
value: true
|
|
6888
6910
|
});
|
|
6889
6911
|
var DocumentOnTypeFormattingFeature_1 = formatting.DocumentOnTypeFormattingFeature = DocumentRangeFormattingFeature_1 = formatting.DocumentRangeFormattingFeature = DocumentFormattingFeature_1 = formatting.DocumentFormattingFeature = void 0;
|
|
6890
|
-
const vscode_1$f = require$$0
|
|
6891
|
-
const vscode_languageserver_protocol_1$h = require$$0$
|
|
6912
|
+
const vscode_1$f = require$$0;
|
|
6913
|
+
const vscode_languageserver_protocol_1$h = require$$0$1;
|
|
6892
6914
|
const UUID$5 = uuid;
|
|
6893
6915
|
const features_1$g = features;
|
|
6894
6916
|
var FileFormattingOptions;
|
|
@@ -7044,8 +7066,8 @@ Object.defineProperty(rename, "__esModule", {
|
|
|
7044
7066
|
value: true
|
|
7045
7067
|
});
|
|
7046
7068
|
var RenameFeature_1 = rename.RenameFeature = void 0;
|
|
7047
|
-
const vscode_1$e = require$$0
|
|
7048
|
-
const vscode_languageserver_protocol_1$g = require$$0$
|
|
7069
|
+
const vscode_1$e = require$$0;
|
|
7070
|
+
const vscode_languageserver_protocol_1$g = require$$0$1;
|
|
7049
7071
|
const UUID$4 = uuid;
|
|
7050
7072
|
const Is$1 = is$1;
|
|
7051
7073
|
const features_1$f = features;
|
|
@@ -7146,8 +7168,8 @@ Object.defineProperty(documentLink, "__esModule", {
|
|
|
7146
7168
|
value: true
|
|
7147
7169
|
});
|
|
7148
7170
|
var DocumentLinkFeature_1 = documentLink.DocumentLinkFeature = void 0;
|
|
7149
|
-
const vscode_1$d = require$$0
|
|
7150
|
-
const vscode_languageserver_protocol_1$f = require$$0$
|
|
7171
|
+
const vscode_1$d = require$$0;
|
|
7172
|
+
const vscode_languageserver_protocol_1$f = require$$0$1;
|
|
7151
7173
|
const features_1$e = features;
|
|
7152
7174
|
const UUID$3 = uuid;
|
|
7153
7175
|
class DocumentLinkFeature extends features_1$e.TextDocumentLanguageFeature {
|
|
@@ -7212,8 +7234,8 @@ Object.defineProperty(executeCommand, "__esModule", {
|
|
|
7212
7234
|
value: true
|
|
7213
7235
|
});
|
|
7214
7236
|
var ExecuteCommandFeature_1 = executeCommand.ExecuteCommandFeature = void 0;
|
|
7215
|
-
const vscode_1$c = require$$0
|
|
7216
|
-
const vscode_languageserver_protocol_1$e = require$$0$
|
|
7237
|
+
const vscode_1$c = require$$0;
|
|
7238
|
+
const vscode_languageserver_protocol_1$e = require$$0$1;
|
|
7217
7239
|
const UUID$2 = uuid;
|
|
7218
7240
|
const features_1$d = features;
|
|
7219
7241
|
class ExecuteCommandFeature {
|
|
@@ -7287,8 +7309,8 @@ Object.defineProperty(fileSystemWatcher, "__esModule", {
|
|
|
7287
7309
|
value: true
|
|
7288
7310
|
});
|
|
7289
7311
|
fileSystemWatcher.FileSystemWatcherFeature = void 0;
|
|
7290
|
-
const vscode_1$b = require$$0
|
|
7291
|
-
const vscode_languageserver_protocol_1$d = require$$0$
|
|
7312
|
+
const vscode_1$b = require$$0;
|
|
7313
|
+
const vscode_languageserver_protocol_1$d = require$$0$1;
|
|
7292
7314
|
const features_1$c = features;
|
|
7293
7315
|
class FileSystemWatcherFeature {
|
|
7294
7316
|
constructor(client, notifyFileEvent) {
|
|
@@ -7322,8 +7344,8 @@ class FileSystemWatcherFeature {
|
|
|
7322
7344
|
continue;
|
|
7323
7345
|
}
|
|
7324
7346
|
let watchCreate = true,
|
|
7325
|
-
|
|
7326
|
-
|
|
7347
|
+
watchChange = true,
|
|
7348
|
+
watchDelete = true;
|
|
7327
7349
|
if (watcher.kind !== undefined && watcher.kind !== null) {
|
|
7328
7350
|
watchCreate = (watcher.kind & vscode_languageserver_protocol_1$d.WatchKind.Create) !== 0;
|
|
7329
7351
|
watchChange = (watcher.kind & vscode_languageserver_protocol_1$d.WatchKind.Change) !== 0;
|
|
@@ -7385,8 +7407,8 @@ Object.defineProperty(colorProvider, "__esModule", {
|
|
|
7385
7407
|
value: true
|
|
7386
7408
|
});
|
|
7387
7409
|
var ColorProviderFeature_1 = colorProvider.ColorProviderFeature = void 0;
|
|
7388
|
-
const vscode_1$a = require$$0
|
|
7389
|
-
const vscode_languageserver_protocol_1$c = require$$0$
|
|
7410
|
+
const vscode_1$a = require$$0;
|
|
7411
|
+
const vscode_languageserver_protocol_1$c = require$$0$1;
|
|
7390
7412
|
const features_1$b = features;
|
|
7391
7413
|
class ColorProviderFeature extends features_1$b.TextDocumentLanguageFeature {
|
|
7392
7414
|
constructor(client) {
|
|
@@ -7456,8 +7478,8 @@ Object.defineProperty(implementation, "__esModule", {
|
|
|
7456
7478
|
value: true
|
|
7457
7479
|
});
|
|
7458
7480
|
var ImplementationFeature_1 = implementation.ImplementationFeature = void 0;
|
|
7459
|
-
const vscode_1$9 = require$$0
|
|
7460
|
-
const vscode_languageserver_protocol_1$b = require$$0$
|
|
7481
|
+
const vscode_1$9 = require$$0;
|
|
7482
|
+
const vscode_languageserver_protocol_1$b = require$$0$1;
|
|
7461
7483
|
const features_1$a = features;
|
|
7462
7484
|
class ImplementationFeature extends features_1$a.TextDocumentLanguageFeature {
|
|
7463
7485
|
constructor(client) {
|
|
@@ -7509,8 +7531,8 @@ Object.defineProperty(typeDefinition, "__esModule", {
|
|
|
7509
7531
|
value: true
|
|
7510
7532
|
});
|
|
7511
7533
|
var TypeDefinitionFeature_1 = typeDefinition.TypeDefinitionFeature = void 0;
|
|
7512
|
-
const vscode_1$8 = require$$0
|
|
7513
|
-
const vscode_languageserver_protocol_1$a = require$$0$
|
|
7534
|
+
const vscode_1$8 = require$$0;
|
|
7535
|
+
const vscode_languageserver_protocol_1$a = require$$0$1;
|
|
7514
7536
|
const features_1$9 = features;
|
|
7515
7537
|
class TypeDefinitionFeature extends features_1$9.TextDocumentLanguageFeature {
|
|
7516
7538
|
constructor(client) {
|
|
@@ -7564,8 +7586,8 @@ Object.defineProperty(workspaceFolder, "__esModule", {
|
|
|
7564
7586
|
});
|
|
7565
7587
|
var WorkspaceFoldersFeature_1 = workspaceFolder.WorkspaceFoldersFeature = workspaceFolder.arrayDiff = void 0;
|
|
7566
7588
|
const UUID$1 = uuid;
|
|
7567
|
-
const vscode_1$7 = require$$0
|
|
7568
|
-
const vscode_languageserver_protocol_1$9 = require$$0$
|
|
7589
|
+
const vscode_1$7 = require$$0;
|
|
7590
|
+
const vscode_languageserver_protocol_1$9 = require$$0$1;
|
|
7569
7591
|
function access$1(target, key) {
|
|
7570
7592
|
if (target === void 0) {
|
|
7571
7593
|
return undefined;
|
|
@@ -7711,8 +7733,8 @@ Object.defineProperty(foldingRange, "__esModule", {
|
|
|
7711
7733
|
value: true
|
|
7712
7734
|
});
|
|
7713
7735
|
var FoldingRangeFeature_1 = foldingRange.FoldingRangeFeature = void 0;
|
|
7714
|
-
const vscode_1$6 = require$$0
|
|
7715
|
-
const vscode_languageserver_protocol_1$8 = require$$0$
|
|
7736
|
+
const vscode_1$6 = require$$0;
|
|
7737
|
+
const vscode_languageserver_protocol_1$8 = require$$0$1;
|
|
7716
7738
|
const features_1$8 = features;
|
|
7717
7739
|
class FoldingRangeFeature extends features_1$8.TextDocumentLanguageFeature {
|
|
7718
7740
|
constructor(client) {
|
|
@@ -7771,8 +7793,8 @@ Object.defineProperty(declaration, "__esModule", {
|
|
|
7771
7793
|
value: true
|
|
7772
7794
|
});
|
|
7773
7795
|
var DeclarationFeature_1 = declaration.DeclarationFeature = void 0;
|
|
7774
|
-
const vscode_1$5 = require$$0
|
|
7775
|
-
const vscode_languageserver_protocol_1$7 = require$$0$
|
|
7796
|
+
const vscode_1$5 = require$$0;
|
|
7797
|
+
const vscode_languageserver_protocol_1$7 = require$$0$1;
|
|
7776
7798
|
const features_1$7 = features;
|
|
7777
7799
|
class DeclarationFeature extends features_1$7.TextDocumentLanguageFeature {
|
|
7778
7800
|
constructor(client) {
|
|
@@ -7824,8 +7846,8 @@ Object.defineProperty(selectionRange, "__esModule", {
|
|
|
7824
7846
|
value: true
|
|
7825
7847
|
});
|
|
7826
7848
|
var SelectionRangeFeature_1 = selectionRange.SelectionRangeFeature = void 0;
|
|
7827
|
-
const vscode_1$4 = require$$0
|
|
7828
|
-
const vscode_languageserver_protocol_1$6 = require$$0$
|
|
7849
|
+
const vscode_1$4 = require$$0;
|
|
7850
|
+
const vscode_languageserver_protocol_1$6 = require$$0$1;
|
|
7829
7851
|
const features_1$6 = features;
|
|
7830
7852
|
class SelectionRangeFeature extends features_1$6.TextDocumentLanguageFeature {
|
|
7831
7853
|
constructor(client) {
|
|
@@ -7880,7 +7902,7 @@ Object.defineProperty(progress, "__esModule", {
|
|
|
7880
7902
|
value: true
|
|
7881
7903
|
});
|
|
7882
7904
|
var ProgressFeature_1 = progress.ProgressFeature = void 0;
|
|
7883
|
-
const vscode_languageserver_protocol_1$5 = require$$0$
|
|
7905
|
+
const vscode_languageserver_protocol_1$5 = require$$0$1;
|
|
7884
7906
|
const progressPart_1 = progressPart;
|
|
7885
7907
|
function ensure$1(target, key) {
|
|
7886
7908
|
if (target[key] === void 0) {
|
|
@@ -7926,8 +7948,8 @@ Object.defineProperty(callHierarchy, "__esModule", {
|
|
|
7926
7948
|
value: true
|
|
7927
7949
|
});
|
|
7928
7950
|
callHierarchy.CallHierarchyFeature = void 0;
|
|
7929
|
-
const vscode_1$3 = require$$0
|
|
7930
|
-
const vscode_languageserver_protocol_1$4 = require$$0$
|
|
7951
|
+
const vscode_1$3 = require$$0;
|
|
7952
|
+
const vscode_languageserver_protocol_1$4 = require$$0$1;
|
|
7931
7953
|
const features_1$5 = features;
|
|
7932
7954
|
class CallHierarchyProvider {
|
|
7933
7955
|
constructor(client) {
|
|
@@ -8018,8 +8040,8 @@ Object.defineProperty(semanticTokens, "__esModule", {
|
|
|
8018
8040
|
value: true
|
|
8019
8041
|
});
|
|
8020
8042
|
var SemanticTokensFeature_1 = semanticTokens.SemanticTokensFeature = void 0;
|
|
8021
|
-
const vscode = require$$0
|
|
8022
|
-
const vscode_languageserver_protocol_1$3 = require$$0$
|
|
8043
|
+
const vscode = require$$0;
|
|
8044
|
+
const vscode_languageserver_protocol_1$3 = require$$0$1;
|
|
8023
8045
|
const features_1$4 = features;
|
|
8024
8046
|
const Is = is$1;
|
|
8025
8047
|
class SemanticTokensFeature extends features_1$4.TextDocumentLanguageFeature {
|
|
@@ -8154,9 +8176,9 @@ Object.defineProperty(fileOperations, "__esModule", {
|
|
|
8154
8176
|
value: true
|
|
8155
8177
|
});
|
|
8156
8178
|
fileOperations.WillDeleteFilesFeature = fileOperations.WillRenameFilesFeature = fileOperations.WillCreateFilesFeature = fileOperations.DidDeleteFilesFeature = fileOperations.DidRenameFilesFeature = fileOperations.DidCreateFilesFeature = void 0;
|
|
8157
|
-
const code$1 = require$$0
|
|
8179
|
+
const code$1 = require$$0;
|
|
8158
8180
|
const minimatch = minimatch_1;
|
|
8159
|
-
const proto$1 = require$$0$
|
|
8181
|
+
const proto$1 = require$$0$1;
|
|
8160
8182
|
const UUID = uuid;
|
|
8161
8183
|
function ensure(target, key) {
|
|
8162
8184
|
if (target[key] === void 0) {
|
|
@@ -8465,8 +8487,8 @@ Object.defineProperty(linkedEditingRange, "__esModule", {
|
|
|
8465
8487
|
value: true
|
|
8466
8488
|
});
|
|
8467
8489
|
var LinkedEditingFeature_1 = linkedEditingRange.LinkedEditingFeature = void 0;
|
|
8468
|
-
const code = require$$0
|
|
8469
|
-
const proto = require$$0$
|
|
8490
|
+
const code = require$$0;
|
|
8491
|
+
const proto = require$$0$1;
|
|
8470
8492
|
const features_1$3 = features;
|
|
8471
8493
|
class LinkedEditingFeature extends features_1$3.TextDocumentLanguageFeature {
|
|
8472
8494
|
constructor(client) {
|
|
@@ -8517,8 +8539,8 @@ Object.defineProperty(typeHierarchy, "__esModule", {
|
|
|
8517
8539
|
value: true
|
|
8518
8540
|
});
|
|
8519
8541
|
typeHierarchy.TypeHierarchyFeature = void 0;
|
|
8520
|
-
const vscode_1$2 = require$$0
|
|
8521
|
-
const vscode_languageserver_protocol_1$2 = require$$0$
|
|
8542
|
+
const vscode_1$2 = require$$0;
|
|
8543
|
+
const vscode_languageserver_protocol_1$2 = require$$0$1;
|
|
8522
8544
|
const features_1$2 = features;
|
|
8523
8545
|
class TypeHierarchyProvider {
|
|
8524
8546
|
constructor(client) {
|
|
@@ -8608,8 +8630,8 @@ Object.defineProperty(inlineValue, "__esModule", {
|
|
|
8608
8630
|
value: true
|
|
8609
8631
|
});
|
|
8610
8632
|
inlineValue.InlineValueFeature = void 0;
|
|
8611
|
-
const vscode_1$1 = require$$0
|
|
8612
|
-
const vscode_languageserver_protocol_1$1 = require$$0$
|
|
8633
|
+
const vscode_1$1 = require$$0;
|
|
8634
|
+
const vscode_languageserver_protocol_1$1 = require$$0$1;
|
|
8613
8635
|
const features_1$1 = features;
|
|
8614
8636
|
class InlineValueFeature extends features_1$1.TextDocumentLanguageFeature {
|
|
8615
8637
|
constructor(client) {
|
|
@@ -8675,8 +8697,8 @@ Object.defineProperty(inlayHint, "__esModule", {
|
|
|
8675
8697
|
value: true
|
|
8676
8698
|
});
|
|
8677
8699
|
var InlayHintsFeature_1 = inlayHint.InlayHintsFeature = void 0;
|
|
8678
|
-
const vscode_1 = require$$0
|
|
8679
|
-
const vscode_languageserver_protocol_1 = require$$0$
|
|
8700
|
+
const vscode_1 = require$$0;
|
|
8701
|
+
const vscode_languageserver_protocol_1 = require$$0$1;
|
|
8680
8702
|
const features_1 = features;
|
|
8681
8703
|
class InlayHintsFeature extends features_1.TextDocumentLanguageFeature {
|
|
8682
8704
|
constructor(client) {
|
|
@@ -8763,8 +8785,8 @@ InlayHintsFeature_1 = inlayHint.InlayHintsFeature = InlayHintsFeature;
|
|
|
8763
8785
|
value: true
|
|
8764
8786
|
});
|
|
8765
8787
|
exports.ProposedFeatures = exports.BaseLanguageClient = exports.MessageTransports = exports.SuspendMode = exports.State = exports.CloseAction = exports.ErrorAction = exports.RevealOutputChannelOn = void 0;
|
|
8766
|
-
const vscode_1 = require$$0
|
|
8767
|
-
const vscode_languageserver_protocol_1 = require$$0$
|
|
8788
|
+
const vscode_1 = require$$0;
|
|
8789
|
+
const vscode_languageserver_protocol_1 = require$$0$1;
|
|
8768
8790
|
const c2p = codeConverter;
|
|
8769
8791
|
const p2c = protocolConverter;
|
|
8770
8792
|
const Is = is$1;
|
|
@@ -10207,7 +10229,7 @@ InlayHintsFeature_1 = inlayHint.InlayHintsFeature = InlayHintsFeature;
|
|
|
10207
10229
|
value: true
|
|
10208
10230
|
});
|
|
10209
10231
|
exports.DiagnosticPullMode = exports.vsdiag = void 0;
|
|
10210
|
-
__exportStar(require$$0$
|
|
10232
|
+
__exportStar(require$$0$1, exports);
|
|
10211
10233
|
__exportStar(features, exports);
|
|
10212
10234
|
var diagnostic_1 = diagnostic;
|
|
10213
10235
|
Object.defineProperty(exports, "vsdiag", {
|
|
@@ -10274,7 +10296,7 @@ var require$$1 = getAugmentedNamespace(browser);
|
|
|
10274
10296
|
})(main$1);
|
|
10275
10297
|
class DisposableCollection {
|
|
10276
10298
|
constructor() {
|
|
10277
|
-
this
|
|
10299
|
+
_defineProperty(this, "disposables", []);
|
|
10278
10300
|
}
|
|
10279
10301
|
dispose() {
|
|
10280
10302
|
while (this.disposables.length !== 0) {
|
|
@@ -10303,6 +10325,7 @@ class MonacoLanguageClient extends client.BaseLanguageClient {
|
|
|
10303
10325
|
connectionProvider
|
|
10304
10326
|
} = _ref;
|
|
10305
10327
|
super(id || name.toLowerCase(), name, clientOptions);
|
|
10328
|
+
_defineProperty(this, "connectionProvider", void 0);
|
|
10306
10329
|
this.connectionProvider = connectionProvider;
|
|
10307
10330
|
const originalHandleRegistrationRequest = this['handleRegistrationRequest'].bind(this);
|
|
10308
10331
|
this['handleRegistrationRequest'] = params => {
|
|
@@ -12810,7 +12833,11 @@ var connection = {};
|
|
|
12810
12833
|
const ral_1 = ral;
|
|
12811
12834
|
exports.RAL = ral_1.default;
|
|
12812
12835
|
} (api));
|
|
12813
|
-
var
|
|
12836
|
+
var delayExports = {};
|
|
12837
|
+
var delay$1 = {
|
|
12838
|
+
get exports(){ return delayExports; },
|
|
12839
|
+
set exports(v){ delayExports = v; },
|
|
12840
|
+
};
|
|
12814
12841
|
const randomInteger = (minimum, maximum) => Math.floor((Math.random() * (maximum - minimum + 1)) + minimum);
|
|
12815
12842
|
const createAbortError = () => {
|
|
12816
12843
|
const error = new Error('Delay aborted');
|
|
@@ -12865,8 +12892,12 @@ const createWithTimers = clearAndSet => {
|
|
|
12865
12892
|
const delay = createWithTimers();
|
|
12866
12893
|
delay.createWithTimers = createWithTimers;
|
|
12867
12894
|
delay$1.exports = delay;
|
|
12868
|
-
|
|
12869
|
-
var
|
|
12895
|
+
delayExports.default = delay;
|
|
12896
|
+
var onceExports = {};
|
|
12897
|
+
var once$1 = {
|
|
12898
|
+
get exports(){ return onceExports; },
|
|
12899
|
+
set exports(v){ onceExports = v; },
|
|
12900
|
+
};
|
|
12870
12901
|
var wrappy_1 = wrappy$1;
|
|
12871
12902
|
function wrappy$1 (fn, cb) {
|
|
12872
12903
|
if (fn && cb) return wrappy$1(fn)(cb)
|
|
@@ -12893,7 +12924,7 @@ function wrappy$1 (fn, cb) {
|
|
|
12893
12924
|
}
|
|
12894
12925
|
var wrappy = wrappy_1;
|
|
12895
12926
|
once$1.exports = wrappy(once);
|
|
12896
|
-
|
|
12927
|
+
onceExports.strict = wrappy(onceStrict);
|
|
12897
12928
|
once.proto = once(function () {
|
|
12898
12929
|
Object.defineProperty(Function.prototype, 'once', {
|
|
12899
12930
|
value: function () {
|
|
@@ -13576,36 +13607,8 @@ class MiddlewareMessageReader {
|
|
|
13576
13607
|
}
|
|
13577
13608
|
}
|
|
13578
13609
|
function hackTransports(transports) {
|
|
13579
|
-
const existingRegistrations = new Set();
|
|
13580
13610
|
return {
|
|
13581
13611
|
reader: new MiddlewareMessageReader(transports.reader, message => {
|
|
13582
|
-
if (main.Message.isRequest(message)) {
|
|
13583
|
-
if (message.method === RegistrationRequest.type.method) {
|
|
13584
|
-
const registrationParams = message.params;
|
|
13585
|
-
const filteredRegistrations = registrationParams.registrations.filter(registration => {
|
|
13586
|
-
const alreadyExisting = existingRegistrations.has(registration.id);
|
|
13587
|
-
if (alreadyExisting) {
|
|
13588
|
-
console.warn('Registration already existing', registration.id, registration.method);
|
|
13589
|
-
}
|
|
13590
|
-
return !alreadyExisting;
|
|
13591
|
-
});
|
|
13592
|
-
registrationParams.registrations.forEach(registration => {
|
|
13593
|
-
existingRegistrations.add(registration.id);
|
|
13594
|
-
});
|
|
13595
|
-
const fixedParams = _objectSpread2(_objectSpread2({}, registrationParams), {}, {
|
|
13596
|
-
registrations: filteredRegistrations
|
|
13597
|
-
});
|
|
13598
|
-
return _objectSpread2(_objectSpread2({}, message), {}, {
|
|
13599
|
-
params: fixedParams
|
|
13600
|
-
});
|
|
13601
|
-
}
|
|
13602
|
-
if (message.method === UnregistrationRequest.type.method) {
|
|
13603
|
-
const unregistrationParams = message.params;
|
|
13604
|
-
for (const unregistration of unregistrationParams.unregisterations) {
|
|
13605
|
-
existingRegistrations.delete(unregistration.id);
|
|
13606
|
-
}
|
|
13607
|
-
}
|
|
13608
|
-
}
|
|
13609
13612
|
return message;
|
|
13610
13613
|
}),
|
|
13611
13614
|
writer: new MiddlewareMessageWriter(transports.writer, message => {
|
|
@@ -13863,6 +13866,9 @@ const staticOptions = asLanguageClientOptionsById({
|
|
|
13863
13866
|
},
|
|
13864
13867
|
mutualizable: false,
|
|
13865
13868
|
vscodeExtensionIds: ['cobol'],
|
|
13869
|
+
defaultConfigurationOverride: {
|
|
13870
|
+
'cobol-lsp.subroutine-manager.paths-local': ['/tmp/project']
|
|
13871
|
+
},
|
|
13866
13872
|
async createAdditionalFeatures(client) {
|
|
13867
13873
|
const {
|
|
13868
13874
|
CobolResolveSubroutineFeature
|
|
@@ -13896,7 +13902,11 @@ const staticOptions = asLanguageClientOptionsById({
|
|
|
13896
13902
|
language: 'tmpl',
|
|
13897
13903
|
scheme: 'file'
|
|
13898
13904
|
}],
|
|
13899
|
-
mutualizable: true
|
|
13905
|
+
mutualizable: true,
|
|
13906
|
+
vscodeExtensionIds: ['vscode-go'],
|
|
13907
|
+
defaultConfigurationOverride: {
|
|
13908
|
+
'gopls.ui.navigation.importShortcut': 'Definition'
|
|
13909
|
+
}
|
|
13900
13910
|
},
|
|
13901
13911
|
groovy: {
|
|
13902
13912
|
documentSelector: [{
|
|
@@ -13980,7 +13990,12 @@ const staticOptions = asLanguageClientOptionsById({
|
|
|
13980
13990
|
configurationSection: 'Lua'
|
|
13981
13991
|
},
|
|
13982
13992
|
mutualizable: true,
|
|
13983
|
-
vscodeExtensionIds: ['lua']
|
|
13993
|
+
vscodeExtensionIds: ['lua'],
|
|
13994
|
+
defaultConfigurationOverride: {
|
|
13995
|
+
'Lua.runtime.version': 'Lua 5.4',
|
|
13996
|
+
'Lua.diagnostics.enable': true,
|
|
13997
|
+
'Lua.diagnostics.disable': ['lowercase-global']
|
|
13998
|
+
}
|
|
13984
13999
|
},
|
|
13985
14000
|
mysql: {
|
|
13986
14001
|
documentSelector: [{
|
|
@@ -14080,7 +14095,10 @@ const staticOptions = asLanguageClientOptionsById({
|
|
|
14080
14095
|
configurationSection: 'r.lsp'
|
|
14081
14096
|
},
|
|
14082
14097
|
mutualizable: true,
|
|
14083
|
-
vscodeExtensionIds: ['vscode-R']
|
|
14098
|
+
vscodeExtensionIds: ['vscode-R'],
|
|
14099
|
+
defaultConfigurationOverride: {
|
|
14100
|
+
'r.lsp.diagnostics': false
|
|
14101
|
+
}
|
|
14084
14102
|
},
|
|
14085
14103
|
react: {
|
|
14086
14104
|
documentSelector: [{
|
|
@@ -14098,6 +14116,10 @@ const staticOptions = asLanguageClientOptionsById({
|
|
|
14098
14116
|
}],
|
|
14099
14117
|
mutualizable: true,
|
|
14100
14118
|
vscodeExtensionIds: ['solargraph'],
|
|
14119
|
+
defaultConfigurationOverride: {
|
|
14120
|
+
'solargraph.diagnostics': true,
|
|
14121
|
+
'solargraph.formatting': true
|
|
14122
|
+
},
|
|
14101
14123
|
synchronize: {
|
|
14102
14124
|
configurationSection: 'solargraph'
|
|
14103
14125
|
}
|
|
@@ -14158,7 +14180,11 @@ const staticOptions = asLanguageClientOptionsById({
|
|
|
14158
14180
|
language: 'verilog'
|
|
14159
14181
|
}],
|
|
14160
14182
|
mutualizable: false,
|
|
14161
|
-
vscodeExtensionIds: ['svlangserver']
|
|
14183
|
+
vscodeExtensionIds: ['svlangserver'],
|
|
14184
|
+
defaultConfigurationOverride: {
|
|
14185
|
+
'systemverilog.linter': 'icarus',
|
|
14186
|
+
'systemverilog.launchConfiguration': 'iverilog -g2012 -t null'
|
|
14187
|
+
}
|
|
14162
14188
|
},
|
|
14163
14189
|
vue: {
|
|
14164
14190
|
documentSelector: [{
|
|
@@ -14216,7 +14242,7 @@ class LanguageClientManager {
|
|
|
14216
14242
|
action: main$1.ErrorAction.Shutdown
|
|
14217
14243
|
};
|
|
14218
14244
|
});
|
|
14219
|
-
_defineProperty(this, "prepare",
|
|
14245
|
+
_defineProperty(this, "prepare", onceExports(async () => {
|
|
14220
14246
|
try {
|
|
14221
14247
|
await loadExtensionConfigurations([this.clientOptions], this.useMutualizedProxy);
|
|
14222
14248
|
} catch (error) {
|
|
@@ -14300,7 +14326,7 @@ class LanguageClientManager {
|
|
|
14300
14326
|
errorHandler.onUnexpectedError(new Error("[LSP] Unable to start language client, retrying in ".concat(RETRY_CONNECTION_DELAY, " ms"), {
|
|
14301
14327
|
cause: error
|
|
14302
14328
|
}));
|
|
14303
|
-
await
|
|
14329
|
+
await delayExports(RETRY_CONNECTION_DELAY);
|
|
14304
14330
|
}
|
|
14305
14331
|
++attempt;
|
|
14306
14332
|
}
|
|
@@ -14409,7 +14435,7 @@ class LanguageClientManager {
|
|
|
14409
14435
|
disposableCollection.push(onServerResponse.event(resolve));
|
|
14410
14436
|
});
|
|
14411
14437
|
}
|
|
14412
|
-
await Promise.race([readyPromise,
|
|
14438
|
+
await Promise.race([readyPromise, delayExports(maxInitializeDuration !== null && maxInitializeDuration !== void 0 ? maxInitializeDuration : 15000)]);
|
|
14413
14439
|
disposableCollection.dispose();
|
|
14414
14440
|
}, error => {
|
|
14415
14441
|
errorHandler.onUnexpectedError(new Error("[LSP] Error while waiting for the ".concat(this.id, " language client to be ready"), {
|