@codingame/monaco-languageclient-wrapper 4.1.2 → 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/index.d.ts +6 -5
- package/dist/index2.js +170 -115
- package/package.json +34 -31
- package/stats.html +2462 -329
package/dist/index2.js
CHANGED
|
@@ -3,12 +3,12 @@ import * as monaco from 'monaco-editor/esm/vs/editor/editor.api';
|
|
|
3
3
|
import * as vscodeLanguageserverProtocol from 'vscode-languageserver-protocol';
|
|
4
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
11
|
import { Disposable } from 'vscode-languageserver-protocol/lib/common/api.js';
|
|
11
|
-
import { registerTextModelContentProvider } from '@codingame/monaco-editor-wrapper';
|
|
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;
|
|
@@ -2598,7 +2621,7 @@ var protocolCompletionItem = {};
|
|
|
2598
2621
|
Object.defineProperty(protocolCompletionItem, "__esModule", {
|
|
2599
2622
|
value: true
|
|
2600
2623
|
});
|
|
2601
|
-
const code$a = require$$0
|
|
2624
|
+
const code$a = require$$0;
|
|
2602
2625
|
class ProtocolCompletionItem extends code$a.CompletionItem {
|
|
2603
2626
|
constructor(label) {
|
|
2604
2627
|
super(label);
|
|
@@ -2609,7 +2632,7 @@ var protocolCodeLens = {};
|
|
|
2609
2632
|
Object.defineProperty(protocolCodeLens, "__esModule", {
|
|
2610
2633
|
value: true
|
|
2611
2634
|
});
|
|
2612
|
-
const code$9 = require$$0
|
|
2635
|
+
const code$9 = require$$0;
|
|
2613
2636
|
class ProtocolCodeLens extends code$9.CodeLens {
|
|
2614
2637
|
constructor(range) {
|
|
2615
2638
|
super(range);
|
|
@@ -2620,7 +2643,7 @@ var protocolDocumentLink = {};
|
|
|
2620
2643
|
Object.defineProperty(protocolDocumentLink, "__esModule", {
|
|
2621
2644
|
value: true
|
|
2622
2645
|
});
|
|
2623
|
-
const code$8 = require$$0
|
|
2646
|
+
const code$8 = require$$0;
|
|
2624
2647
|
class ProtocolDocumentLink extends code$8.DocumentLink {
|
|
2625
2648
|
constructor(range, target) {
|
|
2626
2649
|
super(range, target);
|
|
@@ -2631,7 +2654,7 @@ var protocolCodeAction = {};
|
|
|
2631
2654
|
Object.defineProperty(protocolCodeAction, "__esModule", {
|
|
2632
2655
|
value: true
|
|
2633
2656
|
});
|
|
2634
|
-
const vscode$2 = require$$0
|
|
2657
|
+
const vscode$2 = require$$0;
|
|
2635
2658
|
class ProtocolCodeAction extends vscode$2.CodeAction {
|
|
2636
2659
|
constructor(title, data) {
|
|
2637
2660
|
super(title);
|
|
@@ -2645,7 +2668,7 @@ var protocolDiagnostic = {};
|
|
|
2645
2668
|
value: true
|
|
2646
2669
|
});
|
|
2647
2670
|
exports.ProtocolDiagnostic = exports.DiagnosticCode = void 0;
|
|
2648
|
-
const vscode = require$$0
|
|
2671
|
+
const vscode = require$$0;
|
|
2649
2672
|
const Is = is$1;
|
|
2650
2673
|
(function (DiagnosticCode) {
|
|
2651
2674
|
function is(value) {
|
|
@@ -2667,7 +2690,7 @@ var protocolCallHierarchyItem = {};
|
|
|
2667
2690
|
Object.defineProperty(protocolCallHierarchyItem, "__esModule", {
|
|
2668
2691
|
value: true
|
|
2669
2692
|
});
|
|
2670
|
-
const code$7 = require$$0
|
|
2693
|
+
const code$7 = require$$0;
|
|
2671
2694
|
class ProtocolCallHierarchyItem extends code$7.CallHierarchyItem {
|
|
2672
2695
|
constructor(kind, name, detail, uri, range, selectionRange, data) {
|
|
2673
2696
|
super(kind, name, detail, uri, range, selectionRange);
|
|
@@ -2681,7 +2704,7 @@ var protocolTypeHierarchyItem = {};
|
|
|
2681
2704
|
Object.defineProperty(protocolTypeHierarchyItem, "__esModule", {
|
|
2682
2705
|
value: true
|
|
2683
2706
|
});
|
|
2684
|
-
const code$6 = require$$0
|
|
2707
|
+
const code$6 = require$$0;
|
|
2685
2708
|
class ProtocolTypeHierarchyItem extends code$6.TypeHierarchyItem {
|
|
2686
2709
|
constructor(kind, name, detail, uri, range, selectionRange, data) {
|
|
2687
2710
|
super(kind, name, detail, uri, range, selectionRange);
|
|
@@ -2695,7 +2718,7 @@ var protocolWorkspaceSymbol = {};
|
|
|
2695
2718
|
Object.defineProperty(protocolWorkspaceSymbol, "__esModule", {
|
|
2696
2719
|
value: true
|
|
2697
2720
|
});
|
|
2698
|
-
const code$5 = require$$0
|
|
2721
|
+
const code$5 = require$$0;
|
|
2699
2722
|
class WorkspaceSymbol extends code$5.SymbolInformation {
|
|
2700
2723
|
constructor(name, kind, containerName, locationOrUri, data) {
|
|
2701
2724
|
const hasRange = !(locationOrUri instanceof code$5.Uri);
|
|
@@ -2711,7 +2734,7 @@ var protocolInlayHint = {};
|
|
|
2711
2734
|
Object.defineProperty(protocolInlayHint, "__esModule", {
|
|
2712
2735
|
value: true
|
|
2713
2736
|
});
|
|
2714
|
-
const code$4 = require$$0
|
|
2737
|
+
const code$4 = require$$0;
|
|
2715
2738
|
class ProtocolInlayHint extends code$4.InlayHint {
|
|
2716
2739
|
constructor(position, label, kind) {
|
|
2717
2740
|
super(position, label, kind);
|
|
@@ -2722,8 +2745,8 @@ Object.defineProperty(codeConverter, "__esModule", {
|
|
|
2722
2745
|
value: true
|
|
2723
2746
|
});
|
|
2724
2747
|
codeConverter.createConverter = void 0;
|
|
2725
|
-
const code$3 = require$$0
|
|
2726
|
-
const proto$3 = require$$0$
|
|
2748
|
+
const code$3 = require$$0;
|
|
2749
|
+
const proto$3 = require$$0$1;
|
|
2727
2750
|
const Is$6 = is$1;
|
|
2728
2751
|
const async$1 = async$2;
|
|
2729
2752
|
const protocolCompletionItem_1$1 = protocolCompletionItem;
|
|
@@ -3576,8 +3599,8 @@ Object.defineProperty(protocolConverter, "__esModule", {
|
|
|
3576
3599
|
value: true
|
|
3577
3600
|
});
|
|
3578
3601
|
protocolConverter.createConverter = void 0;
|
|
3579
|
-
const code$2 = require$$0
|
|
3580
|
-
const ls = require$$0$
|
|
3602
|
+
const code$2 = require$$0;
|
|
3603
|
+
const ls = require$$0$1;
|
|
3581
3604
|
const Is$5 = is$1;
|
|
3582
3605
|
const async = async$2;
|
|
3583
3606
|
const protocolCompletionItem_1 = protocolCompletionItem;
|
|
@@ -3589,7 +3612,7 @@ const protocolCallHierarchyItem_1 = protocolCallHierarchyItem;
|
|
|
3589
3612
|
const protocolTypeHierarchyItem_1 = protocolTypeHierarchyItem;
|
|
3590
3613
|
const protocolWorkspaceSymbol_1 = protocolWorkspaceSymbol;
|
|
3591
3614
|
const protocolInlayHint_1 = protocolInlayHint;
|
|
3592
|
-
const vscode_languageserver_protocol_1$u = require$$0$
|
|
3615
|
+
const vscode_languageserver_protocol_1$u = require$$0$1;
|
|
3593
3616
|
var CodeBlock;
|
|
3594
3617
|
(function (CodeBlock) {
|
|
3595
3618
|
function is(value) {
|
|
@@ -4679,8 +4702,8 @@ Object.defineProperty(progressPart, "__esModule", {
|
|
|
4679
4702
|
value: true
|
|
4680
4703
|
});
|
|
4681
4704
|
progressPart.ProgressPart = void 0;
|
|
4682
|
-
const vscode_1$r = require$$0
|
|
4683
|
-
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;
|
|
4684
4707
|
const Is$4 = is$1;
|
|
4685
4708
|
class ProgressPart {
|
|
4686
4709
|
constructor(_client, _token, done) {
|
|
@@ -4780,9 +4803,9 @@ Object.defineProperty(notebook, "__esModule", {
|
|
|
4780
4803
|
value: true
|
|
4781
4804
|
});
|
|
4782
4805
|
notebook.NotebookDocumentSyncFeature = void 0;
|
|
4783
|
-
const vscode$1 = require$$0
|
|
4806
|
+
const vscode$1 = require$$0;
|
|
4784
4807
|
const minimatch$1 = minimatch_1;
|
|
4785
|
-
const proto$2 = require$$0$
|
|
4808
|
+
const proto$2 = require$$0$1;
|
|
4786
4809
|
const UUID$h = uuid;
|
|
4787
4810
|
const Is$3 = is$1;
|
|
4788
4811
|
function ensure$2(target, key) {
|
|
@@ -5629,8 +5652,8 @@ Object.defineProperty(configuration, "__esModule", {
|
|
|
5629
5652
|
value: true
|
|
5630
5653
|
});
|
|
5631
5654
|
var SyncConfigurationFeature_1 = configuration.SyncConfigurationFeature = configuration.toJSONObject = ConfigurationFeature_1 = configuration.ConfigurationFeature = void 0;
|
|
5632
|
-
const vscode_1$q = require$$0
|
|
5633
|
-
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;
|
|
5634
5657
|
const Is$2 = is$1;
|
|
5635
5658
|
const UUID$g = uuid;
|
|
5636
5659
|
const features_1$r = features;
|
|
@@ -5828,8 +5851,8 @@ Object.defineProperty(textSynchronization, "__esModule", {
|
|
|
5828
5851
|
value: true
|
|
5829
5852
|
});
|
|
5830
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;
|
|
5831
|
-
const vscode_1$p = require$$0
|
|
5832
|
-
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;
|
|
5833
5856
|
const features_1$q = features;
|
|
5834
5857
|
const async_1 = async$2;
|
|
5835
5858
|
const UUID$f = uuid;
|
|
@@ -6199,8 +6222,8 @@ Object.defineProperty(completion, "__esModule", {
|
|
|
6199
6222
|
value: true
|
|
6200
6223
|
});
|
|
6201
6224
|
var CompletionItemFeature_1 = completion.CompletionItemFeature = void 0;
|
|
6202
|
-
const vscode_1$o = require$$0
|
|
6203
|
-
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;
|
|
6204
6227
|
const features_1$p = features;
|
|
6205
6228
|
const UUID$e = uuid;
|
|
6206
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];
|
|
@@ -6296,8 +6319,8 @@ Object.defineProperty(hover, "__esModule", {
|
|
|
6296
6319
|
value: true
|
|
6297
6320
|
});
|
|
6298
6321
|
var HoverFeature_1 = hover.HoverFeature = void 0;
|
|
6299
|
-
const vscode_1$n = require$$0
|
|
6300
|
-
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;
|
|
6301
6324
|
const features_1$o = features;
|
|
6302
6325
|
const UUID$d = uuid;
|
|
6303
6326
|
class HoverFeature extends features_1$o.TextDocumentLanguageFeature {
|
|
@@ -6350,8 +6373,8 @@ Object.defineProperty(definition, "__esModule", {
|
|
|
6350
6373
|
value: true
|
|
6351
6374
|
});
|
|
6352
6375
|
var DefinitionFeature_1 = definition.DefinitionFeature = void 0;
|
|
6353
|
-
const vscode_1$m = require$$0
|
|
6354
|
-
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;
|
|
6355
6378
|
const features_1$n = features;
|
|
6356
6379
|
const UUID$c = uuid;
|
|
6357
6380
|
class DefinitionFeature extends features_1$n.TextDocumentLanguageFeature {
|
|
@@ -6404,8 +6427,8 @@ Object.defineProperty(signatureHelp, "__esModule", {
|
|
|
6404
6427
|
value: true
|
|
6405
6428
|
});
|
|
6406
6429
|
var SignatureHelpFeature_1 = signatureHelp.SignatureHelpFeature = void 0;
|
|
6407
|
-
const vscode_1$l = require$$0
|
|
6408
|
-
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;
|
|
6409
6432
|
const features_1$m = features;
|
|
6410
6433
|
const UUID$b = uuid;
|
|
6411
6434
|
class SignatureHelpFeature extends features_1$m.TextDocumentLanguageFeature {
|
|
@@ -6474,8 +6497,8 @@ Object.defineProperty(documentHighlight, "__esModule", {
|
|
|
6474
6497
|
value: true
|
|
6475
6498
|
});
|
|
6476
6499
|
var DocumentHighlightFeature_1 = documentHighlight.DocumentHighlightFeature = void 0;
|
|
6477
|
-
const vscode_1$k = require$$0
|
|
6478
|
-
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;
|
|
6479
6502
|
const features_1$l = features;
|
|
6480
6503
|
const UUID$a = uuid;
|
|
6481
6504
|
class DocumentHighlightFeature extends features_1$l.TextDocumentLanguageFeature {
|
|
@@ -6524,8 +6547,8 @@ var documentSymbol = {};
|
|
|
6524
6547
|
value: true
|
|
6525
6548
|
});
|
|
6526
6549
|
exports.DocumentSymbolFeature = exports.SupportedSymbolTags = exports.SupportedSymbolKinds = void 0;
|
|
6527
|
-
const vscode_1 = require$$0
|
|
6528
|
-
const vscode_languageserver_protocol_1 = require$$0$
|
|
6550
|
+
const vscode_1 = require$$0;
|
|
6551
|
+
const vscode_languageserver_protocol_1 = require$$0$1;
|
|
6529
6552
|
const features_1 = features;
|
|
6530
6553
|
const UUID = uuid;
|
|
6531
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];
|
|
@@ -6597,8 +6620,8 @@ Object.defineProperty(workspaceSymbol, "__esModule", {
|
|
|
6597
6620
|
value: true
|
|
6598
6621
|
});
|
|
6599
6622
|
workspaceSymbol.WorkspaceSymbolFeature = void 0;
|
|
6600
|
-
const vscode_1$j = require$$0
|
|
6601
|
-
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;
|
|
6602
6625
|
const features_1$k = features;
|
|
6603
6626
|
const documentSymbol_1 = documentSymbol;
|
|
6604
6627
|
const UUID$9 = uuid;
|
|
@@ -6674,8 +6697,8 @@ Object.defineProperty(reference, "__esModule", {
|
|
|
6674
6697
|
value: true
|
|
6675
6698
|
});
|
|
6676
6699
|
var ReferencesFeature_1 = reference.ReferencesFeature = void 0;
|
|
6677
|
-
const vscode_1$i = require$$0
|
|
6678
|
-
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;
|
|
6679
6702
|
const features_1$j = features;
|
|
6680
6703
|
const UUID$8 = uuid;
|
|
6681
6704
|
class ReferencesFeature extends features_1$j.TextDocumentLanguageFeature {
|
|
@@ -6726,8 +6749,8 @@ Object.defineProperty(codeAction, "__esModule", {
|
|
|
6726
6749
|
value: true
|
|
6727
6750
|
});
|
|
6728
6751
|
var CodeActionFeature_1 = codeAction.CodeActionFeature = void 0;
|
|
6729
|
-
const vscode_1$h = require$$0
|
|
6730
|
-
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;
|
|
6731
6754
|
const UUID$7 = uuid;
|
|
6732
6755
|
const features_1$i = features;
|
|
6733
6756
|
class CodeActionFeature extends features_1$i.TextDocumentLanguageFeature {
|
|
@@ -6810,8 +6833,8 @@ Object.defineProperty(codeLens, "__esModule", {
|
|
|
6810
6833
|
value: true
|
|
6811
6834
|
});
|
|
6812
6835
|
var CodeLensFeature_1 = codeLens.CodeLensFeature = void 0;
|
|
6813
|
-
const vscode_1$g = require$$0
|
|
6814
|
-
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;
|
|
6815
6838
|
const UUID$6 = uuid;
|
|
6816
6839
|
const features_1$h = features;
|
|
6817
6840
|
class CodeLensFeature extends features_1$h.TextDocumentLanguageFeature {
|
|
@@ -6886,8 +6909,8 @@ Object.defineProperty(formatting, "__esModule", {
|
|
|
6886
6909
|
value: true
|
|
6887
6910
|
});
|
|
6888
6911
|
var DocumentOnTypeFormattingFeature_1 = formatting.DocumentOnTypeFormattingFeature = DocumentRangeFormattingFeature_1 = formatting.DocumentRangeFormattingFeature = DocumentFormattingFeature_1 = formatting.DocumentFormattingFeature = void 0;
|
|
6889
|
-
const vscode_1$f = require$$0
|
|
6890
|
-
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;
|
|
6891
6914
|
const UUID$5 = uuid;
|
|
6892
6915
|
const features_1$g = features;
|
|
6893
6916
|
var FileFormattingOptions;
|
|
@@ -7043,8 +7066,8 @@ Object.defineProperty(rename, "__esModule", {
|
|
|
7043
7066
|
value: true
|
|
7044
7067
|
});
|
|
7045
7068
|
var RenameFeature_1 = rename.RenameFeature = void 0;
|
|
7046
|
-
const vscode_1$e = require$$0
|
|
7047
|
-
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;
|
|
7048
7071
|
const UUID$4 = uuid;
|
|
7049
7072
|
const Is$1 = is$1;
|
|
7050
7073
|
const features_1$f = features;
|
|
@@ -7145,8 +7168,8 @@ Object.defineProperty(documentLink, "__esModule", {
|
|
|
7145
7168
|
value: true
|
|
7146
7169
|
});
|
|
7147
7170
|
var DocumentLinkFeature_1 = documentLink.DocumentLinkFeature = void 0;
|
|
7148
|
-
const vscode_1$d = require$$0
|
|
7149
|
-
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;
|
|
7150
7173
|
const features_1$e = features;
|
|
7151
7174
|
const UUID$3 = uuid;
|
|
7152
7175
|
class DocumentLinkFeature extends features_1$e.TextDocumentLanguageFeature {
|
|
@@ -7211,8 +7234,8 @@ Object.defineProperty(executeCommand, "__esModule", {
|
|
|
7211
7234
|
value: true
|
|
7212
7235
|
});
|
|
7213
7236
|
var ExecuteCommandFeature_1 = executeCommand.ExecuteCommandFeature = void 0;
|
|
7214
|
-
const vscode_1$c = require$$0
|
|
7215
|
-
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;
|
|
7216
7239
|
const UUID$2 = uuid;
|
|
7217
7240
|
const features_1$d = features;
|
|
7218
7241
|
class ExecuteCommandFeature {
|
|
@@ -7286,8 +7309,8 @@ Object.defineProperty(fileSystemWatcher, "__esModule", {
|
|
|
7286
7309
|
value: true
|
|
7287
7310
|
});
|
|
7288
7311
|
fileSystemWatcher.FileSystemWatcherFeature = void 0;
|
|
7289
|
-
const vscode_1$b = require$$0
|
|
7290
|
-
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;
|
|
7291
7314
|
const features_1$c = features;
|
|
7292
7315
|
class FileSystemWatcherFeature {
|
|
7293
7316
|
constructor(client, notifyFileEvent) {
|
|
@@ -7384,8 +7407,8 @@ Object.defineProperty(colorProvider, "__esModule", {
|
|
|
7384
7407
|
value: true
|
|
7385
7408
|
});
|
|
7386
7409
|
var ColorProviderFeature_1 = colorProvider.ColorProviderFeature = void 0;
|
|
7387
|
-
const vscode_1$a = require$$0
|
|
7388
|
-
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;
|
|
7389
7412
|
const features_1$b = features;
|
|
7390
7413
|
class ColorProviderFeature extends features_1$b.TextDocumentLanguageFeature {
|
|
7391
7414
|
constructor(client) {
|
|
@@ -7455,8 +7478,8 @@ Object.defineProperty(implementation, "__esModule", {
|
|
|
7455
7478
|
value: true
|
|
7456
7479
|
});
|
|
7457
7480
|
var ImplementationFeature_1 = implementation.ImplementationFeature = void 0;
|
|
7458
|
-
const vscode_1$9 = require$$0
|
|
7459
|
-
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;
|
|
7460
7483
|
const features_1$a = features;
|
|
7461
7484
|
class ImplementationFeature extends features_1$a.TextDocumentLanguageFeature {
|
|
7462
7485
|
constructor(client) {
|
|
@@ -7508,8 +7531,8 @@ Object.defineProperty(typeDefinition, "__esModule", {
|
|
|
7508
7531
|
value: true
|
|
7509
7532
|
});
|
|
7510
7533
|
var TypeDefinitionFeature_1 = typeDefinition.TypeDefinitionFeature = void 0;
|
|
7511
|
-
const vscode_1$8 = require$$0
|
|
7512
|
-
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;
|
|
7513
7536
|
const features_1$9 = features;
|
|
7514
7537
|
class TypeDefinitionFeature extends features_1$9.TextDocumentLanguageFeature {
|
|
7515
7538
|
constructor(client) {
|
|
@@ -7563,8 +7586,8 @@ Object.defineProperty(workspaceFolder, "__esModule", {
|
|
|
7563
7586
|
});
|
|
7564
7587
|
var WorkspaceFoldersFeature_1 = workspaceFolder.WorkspaceFoldersFeature = workspaceFolder.arrayDiff = void 0;
|
|
7565
7588
|
const UUID$1 = uuid;
|
|
7566
|
-
const vscode_1$7 = require$$0
|
|
7567
|
-
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;
|
|
7568
7591
|
function access$1(target, key) {
|
|
7569
7592
|
if (target === void 0) {
|
|
7570
7593
|
return undefined;
|
|
@@ -7710,8 +7733,8 @@ Object.defineProperty(foldingRange, "__esModule", {
|
|
|
7710
7733
|
value: true
|
|
7711
7734
|
});
|
|
7712
7735
|
var FoldingRangeFeature_1 = foldingRange.FoldingRangeFeature = void 0;
|
|
7713
|
-
const vscode_1$6 = require$$0
|
|
7714
|
-
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;
|
|
7715
7738
|
const features_1$8 = features;
|
|
7716
7739
|
class FoldingRangeFeature extends features_1$8.TextDocumentLanguageFeature {
|
|
7717
7740
|
constructor(client) {
|
|
@@ -7770,8 +7793,8 @@ Object.defineProperty(declaration, "__esModule", {
|
|
|
7770
7793
|
value: true
|
|
7771
7794
|
});
|
|
7772
7795
|
var DeclarationFeature_1 = declaration.DeclarationFeature = void 0;
|
|
7773
|
-
const vscode_1$5 = require$$0
|
|
7774
|
-
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;
|
|
7775
7798
|
const features_1$7 = features;
|
|
7776
7799
|
class DeclarationFeature extends features_1$7.TextDocumentLanguageFeature {
|
|
7777
7800
|
constructor(client) {
|
|
@@ -7823,8 +7846,8 @@ Object.defineProperty(selectionRange, "__esModule", {
|
|
|
7823
7846
|
value: true
|
|
7824
7847
|
});
|
|
7825
7848
|
var SelectionRangeFeature_1 = selectionRange.SelectionRangeFeature = void 0;
|
|
7826
|
-
const vscode_1$4 = require$$0
|
|
7827
|
-
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;
|
|
7828
7851
|
const features_1$6 = features;
|
|
7829
7852
|
class SelectionRangeFeature extends features_1$6.TextDocumentLanguageFeature {
|
|
7830
7853
|
constructor(client) {
|
|
@@ -7879,7 +7902,7 @@ Object.defineProperty(progress, "__esModule", {
|
|
|
7879
7902
|
value: true
|
|
7880
7903
|
});
|
|
7881
7904
|
var ProgressFeature_1 = progress.ProgressFeature = void 0;
|
|
7882
|
-
const vscode_languageserver_protocol_1$5 = require$$0$
|
|
7905
|
+
const vscode_languageserver_protocol_1$5 = require$$0$1;
|
|
7883
7906
|
const progressPart_1 = progressPart;
|
|
7884
7907
|
function ensure$1(target, key) {
|
|
7885
7908
|
if (target[key] === void 0) {
|
|
@@ -7925,8 +7948,8 @@ Object.defineProperty(callHierarchy, "__esModule", {
|
|
|
7925
7948
|
value: true
|
|
7926
7949
|
});
|
|
7927
7950
|
callHierarchy.CallHierarchyFeature = void 0;
|
|
7928
|
-
const vscode_1$3 = require$$0
|
|
7929
|
-
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;
|
|
7930
7953
|
const features_1$5 = features;
|
|
7931
7954
|
class CallHierarchyProvider {
|
|
7932
7955
|
constructor(client) {
|
|
@@ -8017,8 +8040,8 @@ Object.defineProperty(semanticTokens, "__esModule", {
|
|
|
8017
8040
|
value: true
|
|
8018
8041
|
});
|
|
8019
8042
|
var SemanticTokensFeature_1 = semanticTokens.SemanticTokensFeature = void 0;
|
|
8020
|
-
const vscode = require$$0
|
|
8021
|
-
const vscode_languageserver_protocol_1$3 = require$$0$
|
|
8043
|
+
const vscode = require$$0;
|
|
8044
|
+
const vscode_languageserver_protocol_1$3 = require$$0$1;
|
|
8022
8045
|
const features_1$4 = features;
|
|
8023
8046
|
const Is = is$1;
|
|
8024
8047
|
class SemanticTokensFeature extends features_1$4.TextDocumentLanguageFeature {
|
|
@@ -8153,9 +8176,9 @@ Object.defineProperty(fileOperations, "__esModule", {
|
|
|
8153
8176
|
value: true
|
|
8154
8177
|
});
|
|
8155
8178
|
fileOperations.WillDeleteFilesFeature = fileOperations.WillRenameFilesFeature = fileOperations.WillCreateFilesFeature = fileOperations.DidDeleteFilesFeature = fileOperations.DidRenameFilesFeature = fileOperations.DidCreateFilesFeature = void 0;
|
|
8156
|
-
const code$1 = require$$0
|
|
8179
|
+
const code$1 = require$$0;
|
|
8157
8180
|
const minimatch = minimatch_1;
|
|
8158
|
-
const proto$1 = require$$0$
|
|
8181
|
+
const proto$1 = require$$0$1;
|
|
8159
8182
|
const UUID = uuid;
|
|
8160
8183
|
function ensure(target, key) {
|
|
8161
8184
|
if (target[key] === void 0) {
|
|
@@ -8464,8 +8487,8 @@ Object.defineProperty(linkedEditingRange, "__esModule", {
|
|
|
8464
8487
|
value: true
|
|
8465
8488
|
});
|
|
8466
8489
|
var LinkedEditingFeature_1 = linkedEditingRange.LinkedEditingFeature = void 0;
|
|
8467
|
-
const code = require$$0
|
|
8468
|
-
const proto = require$$0$
|
|
8490
|
+
const code = require$$0;
|
|
8491
|
+
const proto = require$$0$1;
|
|
8469
8492
|
const features_1$3 = features;
|
|
8470
8493
|
class LinkedEditingFeature extends features_1$3.TextDocumentLanguageFeature {
|
|
8471
8494
|
constructor(client) {
|
|
@@ -8516,8 +8539,8 @@ Object.defineProperty(typeHierarchy, "__esModule", {
|
|
|
8516
8539
|
value: true
|
|
8517
8540
|
});
|
|
8518
8541
|
typeHierarchy.TypeHierarchyFeature = void 0;
|
|
8519
|
-
const vscode_1$2 = require$$0
|
|
8520
|
-
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;
|
|
8521
8544
|
const features_1$2 = features;
|
|
8522
8545
|
class TypeHierarchyProvider {
|
|
8523
8546
|
constructor(client) {
|
|
@@ -8607,8 +8630,8 @@ Object.defineProperty(inlineValue, "__esModule", {
|
|
|
8607
8630
|
value: true
|
|
8608
8631
|
});
|
|
8609
8632
|
inlineValue.InlineValueFeature = void 0;
|
|
8610
|
-
const vscode_1$1 = require$$0
|
|
8611
|
-
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;
|
|
8612
8635
|
const features_1$1 = features;
|
|
8613
8636
|
class InlineValueFeature extends features_1$1.TextDocumentLanguageFeature {
|
|
8614
8637
|
constructor(client) {
|
|
@@ -8674,8 +8697,8 @@ Object.defineProperty(inlayHint, "__esModule", {
|
|
|
8674
8697
|
value: true
|
|
8675
8698
|
});
|
|
8676
8699
|
var InlayHintsFeature_1 = inlayHint.InlayHintsFeature = void 0;
|
|
8677
|
-
const vscode_1 = require$$0
|
|
8678
|
-
const vscode_languageserver_protocol_1 = require$$0$
|
|
8700
|
+
const vscode_1 = require$$0;
|
|
8701
|
+
const vscode_languageserver_protocol_1 = require$$0$1;
|
|
8679
8702
|
const features_1 = features;
|
|
8680
8703
|
class InlayHintsFeature extends features_1.TextDocumentLanguageFeature {
|
|
8681
8704
|
constructor(client) {
|
|
@@ -8762,8 +8785,8 @@ InlayHintsFeature_1 = inlayHint.InlayHintsFeature = InlayHintsFeature;
|
|
|
8762
8785
|
value: true
|
|
8763
8786
|
});
|
|
8764
8787
|
exports.ProposedFeatures = exports.BaseLanguageClient = exports.MessageTransports = exports.SuspendMode = exports.State = exports.CloseAction = exports.ErrorAction = exports.RevealOutputChannelOn = void 0;
|
|
8765
|
-
const vscode_1 = require$$0
|
|
8766
|
-
const vscode_languageserver_protocol_1 = require$$0$
|
|
8788
|
+
const vscode_1 = require$$0;
|
|
8789
|
+
const vscode_languageserver_protocol_1 = require$$0$1;
|
|
8767
8790
|
const c2p = codeConverter;
|
|
8768
8791
|
const p2c = protocolConverter;
|
|
8769
8792
|
const Is = is$1;
|
|
@@ -10206,7 +10229,7 @@ InlayHintsFeature_1 = inlayHint.InlayHintsFeature = InlayHintsFeature;
|
|
|
10206
10229
|
value: true
|
|
10207
10230
|
});
|
|
10208
10231
|
exports.DiagnosticPullMode = exports.vsdiag = void 0;
|
|
10209
|
-
__exportStar(require$$0$
|
|
10232
|
+
__exportStar(require$$0$1, exports);
|
|
10210
10233
|
__exportStar(features, exports);
|
|
10211
10234
|
var diagnostic_1 = diagnostic;
|
|
10212
10235
|
Object.defineProperty(exports, "vsdiag", {
|
|
@@ -10273,7 +10296,7 @@ var require$$1 = getAugmentedNamespace(browser);
|
|
|
10273
10296
|
})(main$1);
|
|
10274
10297
|
class DisposableCollection {
|
|
10275
10298
|
constructor() {
|
|
10276
|
-
this
|
|
10299
|
+
_defineProperty(this, "disposables", []);
|
|
10277
10300
|
}
|
|
10278
10301
|
dispose() {
|
|
10279
10302
|
while (this.disposables.length !== 0) {
|
|
@@ -10302,6 +10325,7 @@ class MonacoLanguageClient extends client.BaseLanguageClient {
|
|
|
10302
10325
|
connectionProvider
|
|
10303
10326
|
} = _ref;
|
|
10304
10327
|
super(id || name.toLowerCase(), name, clientOptions);
|
|
10328
|
+
_defineProperty(this, "connectionProvider", void 0);
|
|
10305
10329
|
this.connectionProvider = connectionProvider;
|
|
10306
10330
|
const originalHandleRegistrationRequest = this['handleRegistrationRequest'].bind(this);
|
|
10307
10331
|
this['handleRegistrationRequest'] = params => {
|
|
@@ -12809,7 +12833,11 @@ var connection = {};
|
|
|
12809
12833
|
const ral_1 = ral;
|
|
12810
12834
|
exports.RAL = ral_1.default;
|
|
12811
12835
|
} (api));
|
|
12812
|
-
var
|
|
12836
|
+
var delayExports = {};
|
|
12837
|
+
var delay$1 = {
|
|
12838
|
+
get exports(){ return delayExports; },
|
|
12839
|
+
set exports(v){ delayExports = v; },
|
|
12840
|
+
};
|
|
12813
12841
|
const randomInteger = (minimum, maximum) => Math.floor((Math.random() * (maximum - minimum + 1)) + minimum);
|
|
12814
12842
|
const createAbortError = () => {
|
|
12815
12843
|
const error = new Error('Delay aborted');
|
|
@@ -12864,8 +12892,12 @@ const createWithTimers = clearAndSet => {
|
|
|
12864
12892
|
const delay = createWithTimers();
|
|
12865
12893
|
delay.createWithTimers = createWithTimers;
|
|
12866
12894
|
delay$1.exports = delay;
|
|
12867
|
-
|
|
12868
|
-
var
|
|
12895
|
+
delayExports.default = delay;
|
|
12896
|
+
var onceExports = {};
|
|
12897
|
+
var once$1 = {
|
|
12898
|
+
get exports(){ return onceExports; },
|
|
12899
|
+
set exports(v){ onceExports = v; },
|
|
12900
|
+
};
|
|
12869
12901
|
var wrappy_1 = wrappy$1;
|
|
12870
12902
|
function wrappy$1 (fn, cb) {
|
|
12871
12903
|
if (fn && cb) return wrappy$1(fn)(cb)
|
|
@@ -12892,7 +12924,7 @@ function wrappy$1 (fn, cb) {
|
|
|
12892
12924
|
}
|
|
12893
12925
|
var wrappy = wrappy_1;
|
|
12894
12926
|
once$1.exports = wrappy(once);
|
|
12895
|
-
|
|
12927
|
+
onceExports.strict = wrappy(onceStrict);
|
|
12896
12928
|
once.proto = once(function () {
|
|
12897
12929
|
Object.defineProperty(Function.prototype, 'once', {
|
|
12898
12930
|
value: function () {
|
|
@@ -13834,6 +13866,9 @@ const staticOptions = asLanguageClientOptionsById({
|
|
|
13834
13866
|
},
|
|
13835
13867
|
mutualizable: false,
|
|
13836
13868
|
vscodeExtensionIds: ['cobol'],
|
|
13869
|
+
defaultConfigurationOverride: {
|
|
13870
|
+
'cobol-lsp.subroutine-manager.paths-local': ['/tmp/project']
|
|
13871
|
+
},
|
|
13837
13872
|
async createAdditionalFeatures(client) {
|
|
13838
13873
|
const {
|
|
13839
13874
|
CobolResolveSubroutineFeature
|
|
@@ -13867,7 +13902,11 @@ const staticOptions = asLanguageClientOptionsById({
|
|
|
13867
13902
|
language: 'tmpl',
|
|
13868
13903
|
scheme: 'file'
|
|
13869
13904
|
}],
|
|
13870
|
-
mutualizable: true
|
|
13905
|
+
mutualizable: true,
|
|
13906
|
+
vscodeExtensionIds: ['vscode-go'],
|
|
13907
|
+
defaultConfigurationOverride: {
|
|
13908
|
+
'gopls.ui.navigation.importShortcut': 'Definition'
|
|
13909
|
+
}
|
|
13871
13910
|
},
|
|
13872
13911
|
groovy: {
|
|
13873
13912
|
documentSelector: [{
|
|
@@ -13951,7 +13990,12 @@ const staticOptions = asLanguageClientOptionsById({
|
|
|
13951
13990
|
configurationSection: 'Lua'
|
|
13952
13991
|
},
|
|
13953
13992
|
mutualizable: true,
|
|
13954
|
-
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
|
+
}
|
|
13955
13999
|
},
|
|
13956
14000
|
mysql: {
|
|
13957
14001
|
documentSelector: [{
|
|
@@ -14051,7 +14095,10 @@ const staticOptions = asLanguageClientOptionsById({
|
|
|
14051
14095
|
configurationSection: 'r.lsp'
|
|
14052
14096
|
},
|
|
14053
14097
|
mutualizable: true,
|
|
14054
|
-
vscodeExtensionIds: ['vscode-R']
|
|
14098
|
+
vscodeExtensionIds: ['vscode-R'],
|
|
14099
|
+
defaultConfigurationOverride: {
|
|
14100
|
+
'r.lsp.diagnostics': false
|
|
14101
|
+
}
|
|
14055
14102
|
},
|
|
14056
14103
|
react: {
|
|
14057
14104
|
documentSelector: [{
|
|
@@ -14069,6 +14116,10 @@ const staticOptions = asLanguageClientOptionsById({
|
|
|
14069
14116
|
}],
|
|
14070
14117
|
mutualizable: true,
|
|
14071
14118
|
vscodeExtensionIds: ['solargraph'],
|
|
14119
|
+
defaultConfigurationOverride: {
|
|
14120
|
+
'solargraph.diagnostics': true,
|
|
14121
|
+
'solargraph.formatting': true
|
|
14122
|
+
},
|
|
14072
14123
|
synchronize: {
|
|
14073
14124
|
configurationSection: 'solargraph'
|
|
14074
14125
|
}
|
|
@@ -14129,7 +14180,11 @@ const staticOptions = asLanguageClientOptionsById({
|
|
|
14129
14180
|
language: 'verilog'
|
|
14130
14181
|
}],
|
|
14131
14182
|
mutualizable: false,
|
|
14132
|
-
vscodeExtensionIds: ['svlangserver']
|
|
14183
|
+
vscodeExtensionIds: ['svlangserver'],
|
|
14184
|
+
defaultConfigurationOverride: {
|
|
14185
|
+
'systemverilog.linter': 'icarus',
|
|
14186
|
+
'systemverilog.launchConfiguration': 'iverilog -g2012 -t null'
|
|
14187
|
+
}
|
|
14133
14188
|
},
|
|
14134
14189
|
vue: {
|
|
14135
14190
|
documentSelector: [{
|
|
@@ -14187,7 +14242,7 @@ class LanguageClientManager {
|
|
|
14187
14242
|
action: main$1.ErrorAction.Shutdown
|
|
14188
14243
|
};
|
|
14189
14244
|
});
|
|
14190
|
-
_defineProperty(this, "prepare",
|
|
14245
|
+
_defineProperty(this, "prepare", onceExports(async () => {
|
|
14191
14246
|
try {
|
|
14192
14247
|
await loadExtensionConfigurations([this.clientOptions], this.useMutualizedProxy);
|
|
14193
14248
|
} catch (error) {
|
|
@@ -14271,7 +14326,7 @@ class LanguageClientManager {
|
|
|
14271
14326
|
errorHandler.onUnexpectedError(new Error("[LSP] Unable to start language client, retrying in ".concat(RETRY_CONNECTION_DELAY, " ms"), {
|
|
14272
14327
|
cause: error
|
|
14273
14328
|
}));
|
|
14274
|
-
await
|
|
14329
|
+
await delayExports(RETRY_CONNECTION_DELAY);
|
|
14275
14330
|
}
|
|
14276
14331
|
++attempt;
|
|
14277
14332
|
}
|
|
@@ -14380,7 +14435,7 @@ class LanguageClientManager {
|
|
|
14380
14435
|
disposableCollection.push(onServerResponse.event(resolve));
|
|
14381
14436
|
});
|
|
14382
14437
|
}
|
|
14383
|
-
await Promise.race([readyPromise,
|
|
14438
|
+
await Promise.race([readyPromise, delayExports(maxInitializeDuration !== null && maxInitializeDuration !== void 0 ? maxInitializeDuration : 15000)]);
|
|
14384
14439
|
disposableCollection.dispose();
|
|
14385
14440
|
}, error => {
|
|
14386
14441
|
errorHandler.onUnexpectedError(new Error("[LSP] Error while waiting for the ".concat(this.id, " language client to be ready"), {
|