@codingame/monaco-vscode-json-language-features-default-extension 1.81.8-next.1 → 1.82.0-next.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/index.d.ts +2 -0
- package/index.js +4 -2
- package/jsonClientMain.js +729 -433
- package/jsonClientMain.js.map +1 -1
- package/jsonServerMain.js +462 -439
- package/jsonServerMain.js.map +1 -1
- package/package.json +4 -3
package/jsonClientMain.js
CHANGED
|
@@ -21,8 +21,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
21
21
|
exports.startClient = exports.languageServerDescription = exports.SettingIds = void 0;
|
|
22
22
|
const vscode_1 = __webpack_require__(1);
|
|
23
23
|
const vscode_languageclient_1 = __webpack_require__(3);
|
|
24
|
-
const hash_1 = __webpack_require__(
|
|
25
|
-
const languageStatus_1 = __webpack_require__(
|
|
24
|
+
const hash_1 = __webpack_require__(107);
|
|
25
|
+
const languageStatus_1 = __webpack_require__(108);
|
|
26
26
|
var VSCodeContentRequest;
|
|
27
27
|
(function (VSCodeContentRequest) {
|
|
28
28
|
VSCodeContentRequest.type = new vscode_languageclient_1.RequestType('vscode/content');
|
|
@@ -51,6 +51,7 @@ var SettingIds;
|
|
|
51
51
|
(function (SettingIds) {
|
|
52
52
|
SettingIds.enableFormatter = 'json.format.enable';
|
|
53
53
|
SettingIds.enableKeepLines = 'json.format.keepLines';
|
|
54
|
+
SettingIds.enableSortOnSave = 'json.sortOnSave.enable';
|
|
54
55
|
SettingIds.enableValidation = 'json.validate.enable';
|
|
55
56
|
SettingIds.enableSchemaDownload = 'json.schemaDownload.enable';
|
|
56
57
|
SettingIds.maxItemsComputed = 'json.maxItemsComputed';
|
|
@@ -86,24 +87,21 @@ async function startClient(context, newLanguageClient, runtime) {
|
|
|
86
87
|
}
|
|
87
88
|
vscode_1.window.showInformationMessage(vscode_1.l10n.t('JSON schema cache cleared.'));
|
|
88
89
|
}));
|
|
90
|
+
toDispose.push(vscode_1.workspace.onWillSaveTextDocument(event => {
|
|
91
|
+
const sortOnSave = vscode_1.workspace.getConfiguration().get(SettingIds.enableSortOnSave);
|
|
92
|
+
const document = event.document;
|
|
93
|
+
if (sortOnSave && (document.languageId === 'json' || document.languageId === 'jsonc')) {
|
|
94
|
+
const documentOptions = getOptionsForDocument(document);
|
|
95
|
+
const textEditsPromise = getSortTextEdits(document, documentOptions?.tabSize, documentOptions?.insertSpaces);
|
|
96
|
+
event.waitUntil(textEditsPromise);
|
|
97
|
+
}
|
|
98
|
+
}));
|
|
89
99
|
toDispose.push(vscode_1.commands.registerCommand('json.sort', async () => {
|
|
90
100
|
if (isClientReady) {
|
|
91
101
|
const textEditor = vscode_1.window.activeTextEditor;
|
|
92
102
|
if (textEditor) {
|
|
93
|
-
const
|
|
94
|
-
const
|
|
95
|
-
const options = {
|
|
96
|
-
tabSize: textEditor.options.tabSize ? Number(textEditor.options.tabSize) : 4,
|
|
97
|
-
insertSpaces: textEditor.options.insertSpaces ? Boolean(textEditor.options.insertSpaces) : true,
|
|
98
|
-
trimTrailingWhitespace: filesConfig.get('trimTrailingWhitespace'),
|
|
99
|
-
trimFinalNewlines: filesConfig.get('trimFinalNewlines'),
|
|
100
|
-
insertFinalNewline: filesConfig.get('insertFinalNewline'),
|
|
101
|
-
};
|
|
102
|
-
const params = {
|
|
103
|
-
uri: document.uri.toString(),
|
|
104
|
-
options
|
|
105
|
-
};
|
|
106
|
-
const textEdits = await client.sendRequest(DocumentSortingRequest.type, params);
|
|
103
|
+
const documentOptions = textEditor.options;
|
|
104
|
+
const textEdits = await getSortTextEdits(textEditor.document, documentOptions.tabSize, documentOptions.insertSpaces);
|
|
107
105
|
const success = await textEditor.edit(mutator => {
|
|
108
106
|
for (const edit of textEdits) {
|
|
109
107
|
mutator.replace(client.protocol2CodeConverter.asRange(edit.range), edit.newText);
|
|
@@ -369,6 +367,25 @@ async function startClient(context, newLanguageClient, runtime) {
|
|
|
369
367
|
schemaResolutionErrorStatusBarItem.command = { command: 'workbench.action.openSettings', arguments: [SettingIds.enableSchemaDownload], title: '' };
|
|
370
368
|
}
|
|
371
369
|
}
|
|
370
|
+
async function getSortTextEdits(document, tabSize = 4, insertSpaces = true) {
|
|
371
|
+
const filesConfig = vscode_1.workspace.getConfiguration('files', document);
|
|
372
|
+
const options = {
|
|
373
|
+
tabSize: Number(tabSize),
|
|
374
|
+
insertSpaces: Boolean(insertSpaces),
|
|
375
|
+
trimTrailingWhitespace: filesConfig.get('trimTrailingWhitespace'),
|
|
376
|
+
trimFinalNewlines: filesConfig.get('trimFinalNewlines'),
|
|
377
|
+
insertFinalNewline: filesConfig.get('insertFinalNewline'),
|
|
378
|
+
};
|
|
379
|
+
const params = {
|
|
380
|
+
uri: document.uri.toString(),
|
|
381
|
+
options
|
|
382
|
+
};
|
|
383
|
+
const edits = await client.sendRequest(DocumentSortingRequest.type, params);
|
|
384
|
+
// Here we convert the JSON objects to real TextEdit objects
|
|
385
|
+
return edits.map((edit) => {
|
|
386
|
+
return new vscode_1.TextEdit(new vscode_1.Range(edit.range.start.line, edit.range.start.character, edit.range.end.line, edit.range.end.character), edit.newText);
|
|
387
|
+
});
|
|
388
|
+
}
|
|
372
389
|
return client;
|
|
373
390
|
}
|
|
374
391
|
exports.startClient = startClient;
|
|
@@ -502,6 +519,14 @@ function updateMarkdownString(h) {
|
|
|
502
519
|
function isSchemaResolveError(d) {
|
|
503
520
|
return d.code === /* SchemaResolveError */ 0x300;
|
|
504
521
|
}
|
|
522
|
+
function getOptionsForDocument(document) {
|
|
523
|
+
for (const editor of vscode_1.window.visibleTextEditors) {
|
|
524
|
+
if (editor.document.uri.toString() === document.uri.toString()) {
|
|
525
|
+
return editor.options;
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
return;
|
|
529
|
+
}
|
|
505
530
|
|
|
506
531
|
|
|
507
532
|
/***/ }),
|
|
@@ -531,8 +556,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
531
556
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
532
557
|
exports.LanguageClient = void 0;
|
|
533
558
|
const api_1 = __webpack_require__(4);
|
|
534
|
-
const browser_1 = __webpack_require__(
|
|
535
|
-
__exportStar(__webpack_require__(
|
|
559
|
+
const browser_1 = __webpack_require__(106);
|
|
560
|
+
__exportStar(__webpack_require__(106), exports);
|
|
536
561
|
__exportStar(__webpack_require__(4), exports);
|
|
537
562
|
class LanguageClient extends api_1.BaseLanguageClient {
|
|
538
563
|
constructor(id, name, clientOptions, worker) {
|
|
@@ -575,11 +600,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
575
600
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
576
601
|
exports.DiagnosticPullMode = exports.vsdiag = void 0;
|
|
577
602
|
__exportStar(__webpack_require__(5), exports);
|
|
578
|
-
__exportStar(__webpack_require__(
|
|
579
|
-
var diagnostic_1 = __webpack_require__(
|
|
603
|
+
__exportStar(__webpack_require__(50), exports);
|
|
604
|
+
var diagnostic_1 = __webpack_require__(53);
|
|
580
605
|
Object.defineProperty(exports, "vsdiag", ({ enumerable: true, get: function () { return diagnostic_1.vsdiag; } }));
|
|
581
606
|
Object.defineProperty(exports, "DiagnosticPullMode", ({ enumerable: true, get: function () { return diagnostic_1.DiagnosticPullMode; } }));
|
|
582
|
-
__exportStar(__webpack_require__(
|
|
607
|
+
__exportStar(__webpack_require__(58), exports);
|
|
583
608
|
|
|
584
609
|
|
|
585
610
|
/***/ }),
|
|
@@ -1032,7 +1057,7 @@ var ErrorCodes;
|
|
|
1032
1057
|
ErrorCodes.jsonrpcReservedErrorRangeEnd = -32000;
|
|
1033
1058
|
/** @deprecated use jsonrpcReservedErrorRangeEnd */
|
|
1034
1059
|
ErrorCodes.serverErrorEnd = -32000;
|
|
1035
|
-
})(ErrorCodes
|
|
1060
|
+
})(ErrorCodes || (exports.ErrorCodes = ErrorCodes = {}));
|
|
1036
1061
|
/**
|
|
1037
1062
|
* An error object return in a response in case a request
|
|
1038
1063
|
* has failed.
|
|
@@ -1274,7 +1299,7 @@ var Message;
|
|
|
1274
1299
|
return candidate && (candidate.result !== void 0 || !!candidate.error) && (is.string(candidate.id) || is.number(candidate.id) || candidate.id === null);
|
|
1275
1300
|
}
|
|
1276
1301
|
Message.isResponse = isResponse;
|
|
1277
|
-
})(Message
|
|
1302
|
+
})(Message || (exports.Message = Message = {}));
|
|
1278
1303
|
|
|
1279
1304
|
|
|
1280
1305
|
/***/ }),
|
|
@@ -1339,7 +1364,7 @@ var Touch;
|
|
|
1339
1364
|
Touch.AsOld = Touch.First;
|
|
1340
1365
|
Touch.Last = 2;
|
|
1341
1366
|
Touch.AsNew = Touch.Last;
|
|
1342
|
-
})(Touch
|
|
1367
|
+
})(Touch || (exports.Touch = Touch = {}));
|
|
1343
1368
|
class LinkedMap {
|
|
1344
1369
|
constructor() {
|
|
1345
1370
|
this[_a] = 'LinkedMap';
|
|
@@ -1744,7 +1769,7 @@ var Disposable;
|
|
|
1744
1769
|
};
|
|
1745
1770
|
}
|
|
1746
1771
|
Disposable.create = create;
|
|
1747
|
-
})(Disposable
|
|
1772
|
+
})(Disposable || (exports.Disposable = Disposable = {}));
|
|
1748
1773
|
|
|
1749
1774
|
|
|
1750
1775
|
/***/ }),
|
|
@@ -1764,7 +1789,7 @@ var Event;
|
|
|
1764
1789
|
(function (Event) {
|
|
1765
1790
|
const _disposable = { dispose() { } };
|
|
1766
1791
|
Event.None = function () { return _disposable; };
|
|
1767
|
-
})(Event
|
|
1792
|
+
})(Event || (exports.Event = Event = {}));
|
|
1768
1793
|
class CallbackList {
|
|
1769
1794
|
add(callback, context = null, bucket) {
|
|
1770
1795
|
if (!this._callbacks) {
|
|
@@ -1944,7 +1969,7 @@ var CancellationToken;
|
|
|
1944
1969
|
|| (Is.boolean(candidate.isCancellationRequested) && !!candidate.onCancellationRequested));
|
|
1945
1970
|
}
|
|
1946
1971
|
CancellationToken.is = is;
|
|
1947
|
-
})(CancellationToken
|
|
1972
|
+
})(CancellationToken || (exports.CancellationToken = CancellationToken = {}));
|
|
1948
1973
|
const shortcutEvent = Object.freeze(function (callback, context) {
|
|
1949
1974
|
const handle = (0, ral_1.default)().timer.setTimeout(callback.bind(context), 0);
|
|
1950
1975
|
return { dispose() { handle.dispose(); } };
|
|
@@ -2122,7 +2147,7 @@ var MessageReader;
|
|
|
2122
2147
|
Is.func(candidate.onError) && Is.func(candidate.onClose) && Is.func(candidate.onPartialMessage);
|
|
2123
2148
|
}
|
|
2124
2149
|
MessageReader.is = is;
|
|
2125
|
-
})(MessageReader
|
|
2150
|
+
})(MessageReader || (exports.MessageReader = MessageReader = {}));
|
|
2126
2151
|
class AbstractMessageReader {
|
|
2127
2152
|
constructor() {
|
|
2128
2153
|
this.errorEmitter = new events_1.Emitter();
|
|
@@ -2398,7 +2423,7 @@ var MessageWriter;
|
|
|
2398
2423
|
Is.func(candidate.onError) && Is.func(candidate.write);
|
|
2399
2424
|
}
|
|
2400
2425
|
MessageWriter.is = is;
|
|
2401
|
-
})(MessageWriter
|
|
2426
|
+
})(MessageWriter || (exports.MessageWriter = MessageWriter = {}));
|
|
2402
2427
|
class AbstractMessageWriter {
|
|
2403
2428
|
constructor() {
|
|
2404
2429
|
this.errorEmitter = new events_1.Emitter();
|
|
@@ -2681,7 +2706,7 @@ var ProgressToken;
|
|
|
2681
2706
|
return typeof value === 'string' || typeof value === 'number';
|
|
2682
2707
|
}
|
|
2683
2708
|
ProgressToken.is = is;
|
|
2684
|
-
})(ProgressToken
|
|
2709
|
+
})(ProgressToken || (exports.ProgressToken = ProgressToken = {}));
|
|
2685
2710
|
var ProgressNotification;
|
|
2686
2711
|
(function (ProgressNotification) {
|
|
2687
2712
|
ProgressNotification.type = new messages_1.NotificationType('$/progress');
|
|
@@ -2710,7 +2735,7 @@ var Trace;
|
|
|
2710
2735
|
Trace[Trace["Messages"] = 1] = "Messages";
|
|
2711
2736
|
Trace[Trace["Compact"] = 2] = "Compact";
|
|
2712
2737
|
Trace[Trace["Verbose"] = 3] = "Verbose";
|
|
2713
|
-
})(Trace
|
|
2738
|
+
})(Trace || (exports.Trace = Trace = {}));
|
|
2714
2739
|
var TraceValues;
|
|
2715
2740
|
(function (TraceValues) {
|
|
2716
2741
|
/**
|
|
@@ -2729,7 +2754,7 @@ var TraceValues;
|
|
|
2729
2754
|
* Verbose message tracing.
|
|
2730
2755
|
*/
|
|
2731
2756
|
TraceValues.Verbose = 'verbose';
|
|
2732
|
-
})(TraceValues
|
|
2757
|
+
})(TraceValues || (exports.TraceValues = TraceValues = {}));
|
|
2733
2758
|
(function (Trace) {
|
|
2734
2759
|
function fromString(value) {
|
|
2735
2760
|
if (!Is.string(value)) {
|
|
@@ -2765,12 +2790,12 @@ var TraceValues;
|
|
|
2765
2790
|
}
|
|
2766
2791
|
}
|
|
2767
2792
|
Trace.toString = toString;
|
|
2768
|
-
})(Trace
|
|
2793
|
+
})(Trace || (exports.Trace = Trace = {}));
|
|
2769
2794
|
var TraceFormat;
|
|
2770
2795
|
(function (TraceFormat) {
|
|
2771
2796
|
TraceFormat["Text"] = "text";
|
|
2772
2797
|
TraceFormat["JSON"] = "json";
|
|
2773
|
-
})(TraceFormat
|
|
2798
|
+
})(TraceFormat || (exports.TraceFormat = TraceFormat = {}));
|
|
2774
2799
|
(function (TraceFormat) {
|
|
2775
2800
|
function fromString(value) {
|
|
2776
2801
|
if (!Is.string(value)) {
|
|
@@ -2785,15 +2810,15 @@ var TraceFormat;
|
|
|
2785
2810
|
}
|
|
2786
2811
|
}
|
|
2787
2812
|
TraceFormat.fromString = fromString;
|
|
2788
|
-
})(TraceFormat
|
|
2813
|
+
})(TraceFormat || (exports.TraceFormat = TraceFormat = {}));
|
|
2789
2814
|
var SetTraceNotification;
|
|
2790
2815
|
(function (SetTraceNotification) {
|
|
2791
2816
|
SetTraceNotification.type = new messages_1.NotificationType('$/setTrace');
|
|
2792
|
-
})(SetTraceNotification
|
|
2817
|
+
})(SetTraceNotification || (exports.SetTraceNotification = SetTraceNotification = {}));
|
|
2793
2818
|
var LogTraceNotification;
|
|
2794
2819
|
(function (LogTraceNotification) {
|
|
2795
2820
|
LogTraceNotification.type = new messages_1.NotificationType('$/logTrace');
|
|
2796
|
-
})(LogTraceNotification
|
|
2821
|
+
})(LogTraceNotification || (exports.LogTraceNotification = LogTraceNotification = {}));
|
|
2797
2822
|
var ConnectionErrors;
|
|
2798
2823
|
(function (ConnectionErrors) {
|
|
2799
2824
|
/**
|
|
@@ -2808,7 +2833,7 @@ var ConnectionErrors;
|
|
|
2808
2833
|
* The connection is already in listening mode.
|
|
2809
2834
|
*/
|
|
2810
2835
|
ConnectionErrors[ConnectionErrors["AlreadyListening"] = 3] = "AlreadyListening";
|
|
2811
|
-
})(ConnectionErrors
|
|
2836
|
+
})(ConnectionErrors || (exports.ConnectionErrors = ConnectionErrors = {}));
|
|
2812
2837
|
class ConnectionError extends Error {
|
|
2813
2838
|
constructor(code, message) {
|
|
2814
2839
|
super(message);
|
|
@@ -2824,7 +2849,7 @@ var ConnectionStrategy;
|
|
|
2824
2849
|
return candidate && Is.func(candidate.cancelUndispatched);
|
|
2825
2850
|
}
|
|
2826
2851
|
ConnectionStrategy.is = is;
|
|
2827
|
-
})(ConnectionStrategy
|
|
2852
|
+
})(ConnectionStrategy || (exports.ConnectionStrategy = ConnectionStrategy = {}));
|
|
2828
2853
|
var IdCancellationReceiverStrategy;
|
|
2829
2854
|
(function (IdCancellationReceiverStrategy) {
|
|
2830
2855
|
function is(value) {
|
|
@@ -2832,7 +2857,7 @@ var IdCancellationReceiverStrategy;
|
|
|
2832
2857
|
return candidate && (candidate.kind === undefined || candidate.kind === 'id') && Is.func(candidate.createCancellationTokenSource) && (candidate.dispose === undefined || Is.func(candidate.dispose));
|
|
2833
2858
|
}
|
|
2834
2859
|
IdCancellationReceiverStrategy.is = is;
|
|
2835
|
-
})(IdCancellationReceiverStrategy
|
|
2860
|
+
})(IdCancellationReceiverStrategy || (exports.IdCancellationReceiverStrategy = IdCancellationReceiverStrategy = {}));
|
|
2836
2861
|
var RequestCancellationReceiverStrategy;
|
|
2837
2862
|
(function (RequestCancellationReceiverStrategy) {
|
|
2838
2863
|
function is(value) {
|
|
@@ -2840,7 +2865,7 @@ var RequestCancellationReceiverStrategy;
|
|
|
2840
2865
|
return candidate && candidate.kind === 'request' && Is.func(candidate.createCancellationTokenSource) && (candidate.dispose === undefined || Is.func(candidate.dispose));
|
|
2841
2866
|
}
|
|
2842
2867
|
RequestCancellationReceiverStrategy.is = is;
|
|
2843
|
-
})(RequestCancellationReceiverStrategy
|
|
2868
|
+
})(RequestCancellationReceiverStrategy || (exports.RequestCancellationReceiverStrategy = RequestCancellationReceiverStrategy = {}));
|
|
2844
2869
|
var CancellationReceiverStrategy;
|
|
2845
2870
|
(function (CancellationReceiverStrategy) {
|
|
2846
2871
|
CancellationReceiverStrategy.Message = Object.freeze({
|
|
@@ -2852,7 +2877,7 @@ var CancellationReceiverStrategy;
|
|
|
2852
2877
|
return IdCancellationReceiverStrategy.is(value) || RequestCancellationReceiverStrategy.is(value);
|
|
2853
2878
|
}
|
|
2854
2879
|
CancellationReceiverStrategy.is = is;
|
|
2855
|
-
})(CancellationReceiverStrategy
|
|
2880
|
+
})(CancellationReceiverStrategy || (exports.CancellationReceiverStrategy = CancellationReceiverStrategy = {}));
|
|
2856
2881
|
var CancellationSenderStrategy;
|
|
2857
2882
|
(function (CancellationSenderStrategy) {
|
|
2858
2883
|
CancellationSenderStrategy.Message = Object.freeze({
|
|
@@ -2866,7 +2891,7 @@ var CancellationSenderStrategy;
|
|
|
2866
2891
|
return candidate && Is.func(candidate.sendCancellation) && Is.func(candidate.cleanup);
|
|
2867
2892
|
}
|
|
2868
2893
|
CancellationSenderStrategy.is = is;
|
|
2869
|
-
})(CancellationSenderStrategy
|
|
2894
|
+
})(CancellationSenderStrategy || (exports.CancellationSenderStrategy = CancellationSenderStrategy = {}));
|
|
2870
2895
|
var CancellationStrategy;
|
|
2871
2896
|
(function (CancellationStrategy) {
|
|
2872
2897
|
CancellationStrategy.Message = Object.freeze({
|
|
@@ -2878,7 +2903,7 @@ var CancellationStrategy;
|
|
|
2878
2903
|
return candidate && CancellationReceiverStrategy.is(candidate.receiver) && CancellationSenderStrategy.is(candidate.sender);
|
|
2879
2904
|
}
|
|
2880
2905
|
CancellationStrategy.is = is;
|
|
2881
|
-
})(CancellationStrategy
|
|
2906
|
+
})(CancellationStrategy || (exports.CancellationStrategy = CancellationStrategy = {}));
|
|
2882
2907
|
var MessageStrategy;
|
|
2883
2908
|
(function (MessageStrategy) {
|
|
2884
2909
|
function is(value) {
|
|
@@ -2886,7 +2911,7 @@ var MessageStrategy;
|
|
|
2886
2911
|
return candidate && Is.func(candidate.handleMessage);
|
|
2887
2912
|
}
|
|
2888
2913
|
MessageStrategy.is = is;
|
|
2889
|
-
})(MessageStrategy
|
|
2914
|
+
})(MessageStrategy || (exports.MessageStrategy = MessageStrategy = {}));
|
|
2890
2915
|
var ConnectionOptions;
|
|
2891
2916
|
(function (ConnectionOptions) {
|
|
2892
2917
|
function is(value) {
|
|
@@ -2894,7 +2919,7 @@ var ConnectionOptions;
|
|
|
2894
2919
|
return candidate && (CancellationStrategy.is(candidate.cancellationStrategy) || ConnectionStrategy.is(candidate.connectionStrategy) || MessageStrategy.is(candidate.messageStrategy));
|
|
2895
2920
|
}
|
|
2896
2921
|
ConnectionOptions.is = is;
|
|
2897
|
-
})(ConnectionOptions
|
|
2922
|
+
})(ConnectionOptions || (exports.ConnectionOptions = ConnectionOptions = {}));
|
|
2898
2923
|
var ConnectionState;
|
|
2899
2924
|
(function (ConnectionState) {
|
|
2900
2925
|
ConnectionState[ConnectionState["New"] = 1] = "New";
|
|
@@ -3902,7 +3927,7 @@ __exportStar(__webpack_require__(7), exports);
|
|
|
3902
3927
|
__exportStar(__webpack_require__(24), exports);
|
|
3903
3928
|
__exportStar(__webpack_require__(25), exports);
|
|
3904
3929
|
__exportStar(__webpack_require__(26), exports);
|
|
3905
|
-
var connection_1 = __webpack_require__(
|
|
3930
|
+
var connection_1 = __webpack_require__(49);
|
|
3906
3931
|
Object.defineProperty(exports, "createProtocolConnection", ({ enumerable: true, get: function () { return connection_1.createProtocolConnection; } }));
|
|
3907
3932
|
var LSPErrorCodes;
|
|
3908
3933
|
(function (LSPErrorCodes) {
|
|
@@ -3953,7 +3978,7 @@ var LSPErrorCodes;
|
|
|
3953
3978
|
* @since 3.16.0
|
|
3954
3979
|
*/
|
|
3955
3980
|
LSPErrorCodes.lspReservedErrorRangeEnd = -32800;
|
|
3956
|
-
})(LSPErrorCodes
|
|
3981
|
+
})(LSPErrorCodes || (exports.LSPErrorCodes = LSPErrorCodes = {}));
|
|
3957
3982
|
|
|
3958
3983
|
|
|
3959
3984
|
/***/ }),
|
|
@@ -4000,6 +4025,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4000
4025
|
/* harmony export */ "InlayHint": () => (/* binding */ InlayHint),
|
|
4001
4026
|
/* harmony export */ "InlayHintKind": () => (/* binding */ InlayHintKind),
|
|
4002
4027
|
/* harmony export */ "InlayHintLabelPart": () => (/* binding */ InlayHintLabelPart),
|
|
4028
|
+
/* harmony export */ "InlineCompletionContext": () => (/* binding */ InlineCompletionContext),
|
|
4029
|
+
/* harmony export */ "InlineCompletionItem": () => (/* binding */ InlineCompletionItem),
|
|
4030
|
+
/* harmony export */ "InlineCompletionList": () => (/* binding */ InlineCompletionList),
|
|
4031
|
+
/* harmony export */ "InlineCompletionTriggerKind": () => (/* binding */ InlineCompletionTriggerKind),
|
|
4003
4032
|
/* harmony export */ "InlineValueContext": () => (/* binding */ InlineValueContext),
|
|
4004
4033
|
/* harmony export */ "InlineValueEvaluatableExpression": () => (/* binding */ InlineValueEvaluatableExpression),
|
|
4005
4034
|
/* harmony export */ "InlineValueText": () => (/* binding */ InlineValueText),
|
|
@@ -4017,11 +4046,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4017
4046
|
/* harmony export */ "Position": () => (/* binding */ Position),
|
|
4018
4047
|
/* harmony export */ "Range": () => (/* binding */ Range),
|
|
4019
4048
|
/* harmony export */ "RenameFile": () => (/* binding */ RenameFile),
|
|
4049
|
+
/* harmony export */ "SelectedCompletionInfo": () => (/* binding */ SelectedCompletionInfo),
|
|
4020
4050
|
/* harmony export */ "SelectionRange": () => (/* binding */ SelectionRange),
|
|
4021
4051
|
/* harmony export */ "SemanticTokenModifiers": () => (/* binding */ SemanticTokenModifiers),
|
|
4022
4052
|
/* harmony export */ "SemanticTokenTypes": () => (/* binding */ SemanticTokenTypes),
|
|
4023
4053
|
/* harmony export */ "SemanticTokens": () => (/* binding */ SemanticTokens),
|
|
4024
4054
|
/* harmony export */ "SignatureInformation": () => (/* binding */ SignatureInformation),
|
|
4055
|
+
/* harmony export */ "StringValue": () => (/* binding */ StringValue),
|
|
4025
4056
|
/* harmony export */ "SymbolInformation": () => (/* binding */ SymbolInformation),
|
|
4026
4057
|
/* harmony export */ "SymbolKind": () => (/* binding */ SymbolKind),
|
|
4027
4058
|
/* harmony export */ "SymbolTag": () => (/* binding */ SymbolTag),
|
|
@@ -5994,6 +6025,58 @@ var InlayHint;
|
|
|
5994
6025
|
}
|
|
5995
6026
|
InlayHint.is = is;
|
|
5996
6027
|
})(InlayHint || (InlayHint = {}));
|
|
6028
|
+
var StringValue;
|
|
6029
|
+
(function (StringValue) {
|
|
6030
|
+
function createSnippet(value) {
|
|
6031
|
+
return { kind: 'snippet', value: value };
|
|
6032
|
+
}
|
|
6033
|
+
StringValue.createSnippet = createSnippet;
|
|
6034
|
+
})(StringValue || (StringValue = {}));
|
|
6035
|
+
var InlineCompletionItem;
|
|
6036
|
+
(function (InlineCompletionItem) {
|
|
6037
|
+
function create(insertText, filterText, range, command) {
|
|
6038
|
+
return { insertText: insertText, filterText: filterText, range: range, command: command };
|
|
6039
|
+
}
|
|
6040
|
+
InlineCompletionItem.create = create;
|
|
6041
|
+
})(InlineCompletionItem || (InlineCompletionItem = {}));
|
|
6042
|
+
var InlineCompletionList;
|
|
6043
|
+
(function (InlineCompletionList) {
|
|
6044
|
+
function create(items) {
|
|
6045
|
+
return { items: items };
|
|
6046
|
+
}
|
|
6047
|
+
InlineCompletionList.create = create;
|
|
6048
|
+
})(InlineCompletionList || (InlineCompletionList = {}));
|
|
6049
|
+
/**
|
|
6050
|
+
* Describes how an {@link InlineCompletionItemProvider inline completion provider} was triggered.
|
|
6051
|
+
*
|
|
6052
|
+
* @since 3.18.0
|
|
6053
|
+
* @proposed
|
|
6054
|
+
*/
|
|
6055
|
+
var InlineCompletionTriggerKind;
|
|
6056
|
+
(function (InlineCompletionTriggerKind) {
|
|
6057
|
+
/**
|
|
6058
|
+
* Completion was triggered explicitly by a user gesture.
|
|
6059
|
+
*/
|
|
6060
|
+
InlineCompletionTriggerKind.Invoked = 0;
|
|
6061
|
+
/**
|
|
6062
|
+
* Completion was triggered automatically while editing.
|
|
6063
|
+
*/
|
|
6064
|
+
InlineCompletionTriggerKind.Automatic = 1;
|
|
6065
|
+
})(InlineCompletionTriggerKind || (InlineCompletionTriggerKind = {}));
|
|
6066
|
+
var SelectedCompletionInfo;
|
|
6067
|
+
(function (SelectedCompletionInfo) {
|
|
6068
|
+
function create(range, text) {
|
|
6069
|
+
return { range: range, text: text };
|
|
6070
|
+
}
|
|
6071
|
+
SelectedCompletionInfo.create = create;
|
|
6072
|
+
})(SelectedCompletionInfo || (SelectedCompletionInfo = {}));
|
|
6073
|
+
var InlineCompletionContext;
|
|
6074
|
+
(function (InlineCompletionContext) {
|
|
6075
|
+
function create(triggerKind, selectedCompletionInfo) {
|
|
6076
|
+
return { triggerKind: triggerKind, selectedCompletionInfo: selectedCompletionInfo };
|
|
6077
|
+
}
|
|
6078
|
+
InlineCompletionContext.create = create;
|
|
6079
|
+
})(InlineCompletionContext || (InlineCompletionContext = {}));
|
|
5997
6080
|
var WorkspaceFolder;
|
|
5998
6081
|
(function (WorkspaceFolder) {
|
|
5999
6082
|
function is(value) {
|
|
@@ -6267,7 +6350,7 @@ var MessageDirection;
|
|
|
6267
6350
|
MessageDirection["clientToServer"] = "clientToServer";
|
|
6268
6351
|
MessageDirection["serverToClient"] = "serverToClient";
|
|
6269
6352
|
MessageDirection["both"] = "both";
|
|
6270
|
-
})(MessageDirection
|
|
6353
|
+
})(MessageDirection || (exports.MessageDirection = MessageDirection = {}));
|
|
6271
6354
|
class RegistrationType {
|
|
6272
6355
|
constructor(method) {
|
|
6273
6356
|
this.method = method;
|
|
@@ -6312,8 +6395,8 @@ exports.ProtocolNotificationType = ProtocolNotificationType;
|
|
|
6312
6395
|
* ------------------------------------------------------------------------------------------ */
|
|
6313
6396
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6314
6397
|
exports.WorkspaceSymbolRequest = exports.CodeActionResolveRequest = exports.CodeActionRequest = exports.DocumentSymbolRequest = exports.DocumentHighlightRequest = exports.ReferencesRequest = exports.DefinitionRequest = exports.SignatureHelpRequest = exports.SignatureHelpTriggerKind = exports.HoverRequest = exports.CompletionResolveRequest = exports.CompletionRequest = exports.CompletionTriggerKind = exports.PublishDiagnosticsNotification = exports.WatchKind = exports.RelativePattern = exports.FileChangeType = exports.DidChangeWatchedFilesNotification = exports.WillSaveTextDocumentWaitUntilRequest = exports.WillSaveTextDocumentNotification = exports.TextDocumentSaveReason = exports.DidSaveTextDocumentNotification = exports.DidCloseTextDocumentNotification = exports.DidChangeTextDocumentNotification = exports.TextDocumentContentChangeEvent = exports.DidOpenTextDocumentNotification = exports.TextDocumentSyncKind = exports.TelemetryEventNotification = exports.LogMessageNotification = exports.ShowMessageRequest = exports.ShowMessageNotification = exports.MessageType = exports.DidChangeConfigurationNotification = exports.ExitNotification = exports.ShutdownRequest = exports.InitializedNotification = exports.InitializeErrorCodes = exports.InitializeRequest = exports.WorkDoneProgressOptions = exports.TextDocumentRegistrationOptions = exports.StaticRegistrationOptions = exports.PositionEncodingKind = exports.FailureHandlingKind = exports.ResourceOperationKind = exports.UnregistrationRequest = exports.RegistrationRequest = exports.DocumentSelector = exports.NotebookCellTextDocumentFilter = exports.NotebookDocumentFilter = exports.TextDocumentFilter = void 0;
|
|
6315
|
-
exports.
|
|
6316
|
-
exports.DidCloseNotebookDocumentNotification = exports.DidSaveNotebookDocumentNotification = exports.DidChangeNotebookDocumentNotification = exports.NotebookCellArrayChange = exports.DidOpenNotebookDocumentNotification = exports.NotebookDocumentSyncRegistrationType = exports.NotebookDocument = exports.NotebookCell = exports.ExecutionSummary = exports.NotebookCellKind = exports.DiagnosticRefreshRequest = exports.WorkspaceDiagnosticRequest = exports.DocumentDiagnosticRequest = exports.DocumentDiagnosticReportKind = exports.DiagnosticServerCancellationData = exports.InlayHintRefreshRequest = exports.InlayHintResolveRequest = exports.InlayHintRequest = exports.InlineValueRefreshRequest = exports.InlineValueRequest = exports.TypeHierarchySupertypesRequest = void 0;
|
|
6398
|
+
exports.TypeHierarchyPrepareRequest = exports.MonikerRequest = exports.MonikerKind = exports.UniquenessLevel = exports.WillDeleteFilesRequest = exports.DidDeleteFilesNotification = exports.WillRenameFilesRequest = exports.DidRenameFilesNotification = exports.WillCreateFilesRequest = exports.DidCreateFilesNotification = exports.FileOperationPatternKind = exports.LinkedEditingRangeRequest = exports.ShowDocumentRequest = exports.SemanticTokensRegistrationType = exports.SemanticTokensRefreshRequest = exports.SemanticTokensRangeRequest = exports.SemanticTokensDeltaRequest = exports.SemanticTokensRequest = exports.TokenFormat = exports.CallHierarchyPrepareRequest = exports.CallHierarchyOutgoingCallsRequest = exports.CallHierarchyIncomingCallsRequest = exports.WorkDoneProgressCancelNotification = exports.WorkDoneProgressCreateRequest = exports.WorkDoneProgress = exports.SelectionRangeRequest = exports.DeclarationRequest = exports.FoldingRangeRequest = exports.ColorPresentationRequest = exports.DocumentColorRequest = exports.ConfigurationRequest = exports.DidChangeWorkspaceFoldersNotification = exports.WorkspaceFoldersRequest = exports.TypeDefinitionRequest = exports.ImplementationRequest = exports.ApplyWorkspaceEditRequest = exports.ExecuteCommandRequest = exports.PrepareRenameRequest = exports.RenameRequest = exports.PrepareSupportDefaultBehavior = exports.DocumentOnTypeFormattingRequest = exports.DocumentRangesFormattingRequest = exports.DocumentRangeFormattingRequest = exports.DocumentFormattingRequest = exports.DocumentLinkResolveRequest = exports.DocumentLinkRequest = exports.CodeLensRefreshRequest = exports.CodeLensResolveRequest = exports.CodeLensRequest = exports.WorkspaceSymbolResolveRequest = void 0;
|
|
6399
|
+
exports.InlineCompletionRequest = exports.DidCloseNotebookDocumentNotification = exports.DidSaveNotebookDocumentNotification = exports.DidChangeNotebookDocumentNotification = exports.NotebookCellArrayChange = exports.DidOpenNotebookDocumentNotification = exports.NotebookDocumentSyncRegistrationType = exports.NotebookDocument = exports.NotebookCell = exports.ExecutionSummary = exports.NotebookCellKind = exports.DiagnosticRefreshRequest = exports.WorkspaceDiagnosticRequest = exports.DocumentDiagnosticRequest = exports.DocumentDiagnosticReportKind = exports.DiagnosticServerCancellationData = exports.InlayHintRefreshRequest = exports.InlayHintResolveRequest = exports.InlayHintRequest = exports.InlineValueRefreshRequest = exports.InlineValueRequest = exports.TypeHierarchySupertypesRequest = exports.TypeHierarchySubtypesRequest = void 0;
|
|
6317
6400
|
const messages_1 = __webpack_require__(25);
|
|
6318
6401
|
const vscode_languageserver_types_1 = __webpack_require__(24);
|
|
6319
6402
|
const Is = __webpack_require__(27);
|
|
@@ -6394,6 +6477,8 @@ Object.defineProperty(exports, "NotebookCellArrayChange", ({ enumerable: true, g
|
|
|
6394
6477
|
Object.defineProperty(exports, "DidChangeNotebookDocumentNotification", ({ enumerable: true, get: function () { return protocol_notebook_1.DidChangeNotebookDocumentNotification; } }));
|
|
6395
6478
|
Object.defineProperty(exports, "DidSaveNotebookDocumentNotification", ({ enumerable: true, get: function () { return protocol_notebook_1.DidSaveNotebookDocumentNotification; } }));
|
|
6396
6479
|
Object.defineProperty(exports, "DidCloseNotebookDocumentNotification", ({ enumerable: true, get: function () { return protocol_notebook_1.DidCloseNotebookDocumentNotification; } }));
|
|
6480
|
+
const protocol_inlineCompletion_1 = __webpack_require__(48);
|
|
6481
|
+
Object.defineProperty(exports, "InlineCompletionRequest", ({ enumerable: true, get: function () { return protocol_inlineCompletion_1.InlineCompletionRequest; } }));
|
|
6397
6482
|
// @ts-ignore: to avoid inlining LocationLink as dynamic import
|
|
6398
6483
|
let __noDynamicImport;
|
|
6399
6484
|
/**
|
|
@@ -6409,7 +6494,7 @@ var TextDocumentFilter;
|
|
|
6409
6494
|
return Is.string(candidate) || (Is.string(candidate.language) || Is.string(candidate.scheme) || Is.string(candidate.pattern));
|
|
6410
6495
|
}
|
|
6411
6496
|
TextDocumentFilter.is = is;
|
|
6412
|
-
})(TextDocumentFilter
|
|
6497
|
+
})(TextDocumentFilter || (exports.TextDocumentFilter = TextDocumentFilter = {}));
|
|
6413
6498
|
/**
|
|
6414
6499
|
* The NotebookDocumentFilter namespace provides helper functions to work with
|
|
6415
6500
|
* {@link NotebookDocumentFilter} literals.
|
|
@@ -6423,7 +6508,7 @@ var NotebookDocumentFilter;
|
|
|
6423
6508
|
return Is.objectLiteral(candidate) && (Is.string(candidate.notebookType) || Is.string(candidate.scheme) || Is.string(candidate.pattern));
|
|
6424
6509
|
}
|
|
6425
6510
|
NotebookDocumentFilter.is = is;
|
|
6426
|
-
})(NotebookDocumentFilter
|
|
6511
|
+
})(NotebookDocumentFilter || (exports.NotebookDocumentFilter = NotebookDocumentFilter = {}));
|
|
6427
6512
|
/**
|
|
6428
6513
|
* The NotebookCellTextDocumentFilter namespace provides helper functions to work with
|
|
6429
6514
|
* {@link NotebookCellTextDocumentFilter} literals.
|
|
@@ -6439,7 +6524,7 @@ var NotebookCellTextDocumentFilter;
|
|
|
6439
6524
|
&& (candidate.language === undefined || Is.string(candidate.language));
|
|
6440
6525
|
}
|
|
6441
6526
|
NotebookCellTextDocumentFilter.is = is;
|
|
6442
|
-
})(NotebookCellTextDocumentFilter
|
|
6527
|
+
})(NotebookCellTextDocumentFilter || (exports.NotebookCellTextDocumentFilter = NotebookCellTextDocumentFilter = {}));
|
|
6443
6528
|
/**
|
|
6444
6529
|
* The DocumentSelector namespace provides helper functions to work with
|
|
6445
6530
|
* {@link DocumentSelector}s.
|
|
@@ -6458,7 +6543,7 @@ var DocumentSelector;
|
|
|
6458
6543
|
return true;
|
|
6459
6544
|
}
|
|
6460
6545
|
DocumentSelector.is = is;
|
|
6461
|
-
})(DocumentSelector
|
|
6546
|
+
})(DocumentSelector || (exports.DocumentSelector = DocumentSelector = {}));
|
|
6462
6547
|
/**
|
|
6463
6548
|
* The `client/registerCapability` request is sent from the server to the client to register a new capability
|
|
6464
6549
|
* handler on the client side.
|
|
@@ -6468,7 +6553,7 @@ var RegistrationRequest;
|
|
|
6468
6553
|
RegistrationRequest.method = 'client/registerCapability';
|
|
6469
6554
|
RegistrationRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
6470
6555
|
RegistrationRequest.type = new messages_1.ProtocolRequestType(RegistrationRequest.method);
|
|
6471
|
-
})(RegistrationRequest
|
|
6556
|
+
})(RegistrationRequest || (exports.RegistrationRequest = RegistrationRequest = {}));
|
|
6472
6557
|
/**
|
|
6473
6558
|
* The `client/unregisterCapability` request is sent from the server to the client to unregister a previously registered capability
|
|
6474
6559
|
* handler on the client side.
|
|
@@ -6478,7 +6563,7 @@ var UnregistrationRequest;
|
|
|
6478
6563
|
UnregistrationRequest.method = 'client/unregisterCapability';
|
|
6479
6564
|
UnregistrationRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
6480
6565
|
UnregistrationRequest.type = new messages_1.ProtocolRequestType(UnregistrationRequest.method);
|
|
6481
|
-
})(UnregistrationRequest
|
|
6566
|
+
})(UnregistrationRequest || (exports.UnregistrationRequest = UnregistrationRequest = {}));
|
|
6482
6567
|
var ResourceOperationKind;
|
|
6483
6568
|
(function (ResourceOperationKind) {
|
|
6484
6569
|
/**
|
|
@@ -6493,7 +6578,7 @@ var ResourceOperationKind;
|
|
|
6493
6578
|
* Supports deleting existing files and folders.
|
|
6494
6579
|
*/
|
|
6495
6580
|
ResourceOperationKind.Delete = 'delete';
|
|
6496
|
-
})(ResourceOperationKind
|
|
6581
|
+
})(ResourceOperationKind || (exports.ResourceOperationKind = ResourceOperationKind = {}));
|
|
6497
6582
|
var FailureHandlingKind;
|
|
6498
6583
|
(function (FailureHandlingKind) {
|
|
6499
6584
|
/**
|
|
@@ -6517,7 +6602,7 @@ var FailureHandlingKind;
|
|
|
6517
6602
|
* guarantee that this is succeeding.
|
|
6518
6603
|
*/
|
|
6519
6604
|
FailureHandlingKind.Undo = 'undo';
|
|
6520
|
-
})(FailureHandlingKind
|
|
6605
|
+
})(FailureHandlingKind || (exports.FailureHandlingKind = FailureHandlingKind = {}));
|
|
6521
6606
|
/**
|
|
6522
6607
|
* A set of predefined position encoding kinds.
|
|
6523
6608
|
*
|
|
@@ -6544,7 +6629,7 @@ var PositionEncodingKind;
|
|
|
6544
6629
|
* encoding-agnostic representation of character offsets.
|
|
6545
6630
|
*/
|
|
6546
6631
|
PositionEncodingKind.UTF32 = 'utf-32';
|
|
6547
|
-
})(PositionEncodingKind
|
|
6632
|
+
})(PositionEncodingKind || (exports.PositionEncodingKind = PositionEncodingKind = {}));
|
|
6548
6633
|
/**
|
|
6549
6634
|
* The StaticRegistrationOptions namespace provides helper functions to work with
|
|
6550
6635
|
* {@link StaticRegistrationOptions} literals.
|
|
@@ -6556,7 +6641,7 @@ var StaticRegistrationOptions;
|
|
|
6556
6641
|
return candidate && Is.string(candidate.id) && candidate.id.length > 0;
|
|
6557
6642
|
}
|
|
6558
6643
|
StaticRegistrationOptions.hasId = hasId;
|
|
6559
|
-
})(StaticRegistrationOptions
|
|
6644
|
+
})(StaticRegistrationOptions || (exports.StaticRegistrationOptions = StaticRegistrationOptions = {}));
|
|
6560
6645
|
/**
|
|
6561
6646
|
* The TextDocumentRegistrationOptions namespace provides helper functions to work with
|
|
6562
6647
|
* {@link TextDocumentRegistrationOptions} literals.
|
|
@@ -6568,7 +6653,7 @@ var TextDocumentRegistrationOptions;
|
|
|
6568
6653
|
return candidate && (candidate.documentSelector === null || DocumentSelector.is(candidate.documentSelector));
|
|
6569
6654
|
}
|
|
6570
6655
|
TextDocumentRegistrationOptions.is = is;
|
|
6571
|
-
})(TextDocumentRegistrationOptions
|
|
6656
|
+
})(TextDocumentRegistrationOptions || (exports.TextDocumentRegistrationOptions = TextDocumentRegistrationOptions = {}));
|
|
6572
6657
|
/**
|
|
6573
6658
|
* The WorkDoneProgressOptions namespace provides helper functions to work with
|
|
6574
6659
|
* {@link WorkDoneProgressOptions} literals.
|
|
@@ -6585,7 +6670,7 @@ var WorkDoneProgressOptions;
|
|
|
6585
6670
|
return candidate && Is.boolean(candidate.workDoneProgress);
|
|
6586
6671
|
}
|
|
6587
6672
|
WorkDoneProgressOptions.hasWorkDoneProgress = hasWorkDoneProgress;
|
|
6588
|
-
})(WorkDoneProgressOptions
|
|
6673
|
+
})(WorkDoneProgressOptions || (exports.WorkDoneProgressOptions = WorkDoneProgressOptions = {}));
|
|
6589
6674
|
/**
|
|
6590
6675
|
* The initialize request is sent from the client to the server.
|
|
6591
6676
|
* It is sent once as the request after starting up the server.
|
|
@@ -6598,7 +6683,7 @@ var InitializeRequest;
|
|
|
6598
6683
|
InitializeRequest.method = 'initialize';
|
|
6599
6684
|
InitializeRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6600
6685
|
InitializeRequest.type = new messages_1.ProtocolRequestType(InitializeRequest.method);
|
|
6601
|
-
})(InitializeRequest
|
|
6686
|
+
})(InitializeRequest || (exports.InitializeRequest = InitializeRequest = {}));
|
|
6602
6687
|
/**
|
|
6603
6688
|
* Known error codes for an `InitializeErrorCodes`;
|
|
6604
6689
|
*/
|
|
@@ -6611,7 +6696,7 @@ var InitializeErrorCodes;
|
|
|
6611
6696
|
* no version handshake in version 3.0x
|
|
6612
6697
|
*/
|
|
6613
6698
|
InitializeErrorCodes.unknownProtocolVersion = 1;
|
|
6614
|
-
})(InitializeErrorCodes
|
|
6699
|
+
})(InitializeErrorCodes || (exports.InitializeErrorCodes = InitializeErrorCodes = {}));
|
|
6615
6700
|
/**
|
|
6616
6701
|
* The initialized notification is sent from the client to the
|
|
6617
6702
|
* server after the client is fully initialized and the server
|
|
@@ -6622,7 +6707,7 @@ var InitializedNotification;
|
|
|
6622
6707
|
InitializedNotification.method = 'initialized';
|
|
6623
6708
|
InitializedNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6624
6709
|
InitializedNotification.type = new messages_1.ProtocolNotificationType(InitializedNotification.method);
|
|
6625
|
-
})(InitializedNotification
|
|
6710
|
+
})(InitializedNotification || (exports.InitializedNotification = InitializedNotification = {}));
|
|
6626
6711
|
//---- Shutdown Method ----
|
|
6627
6712
|
/**
|
|
6628
6713
|
* A shutdown request is sent from the client to the server.
|
|
@@ -6635,7 +6720,7 @@ var ShutdownRequest;
|
|
|
6635
6720
|
ShutdownRequest.method = 'shutdown';
|
|
6636
6721
|
ShutdownRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6637
6722
|
ShutdownRequest.type = new messages_1.ProtocolRequestType0(ShutdownRequest.method);
|
|
6638
|
-
})(ShutdownRequest
|
|
6723
|
+
})(ShutdownRequest || (exports.ShutdownRequest = ShutdownRequest = {}));
|
|
6639
6724
|
//---- Exit Notification ----
|
|
6640
6725
|
/**
|
|
6641
6726
|
* The exit event is sent from the client to the server to
|
|
@@ -6646,7 +6731,7 @@ var ExitNotification;
|
|
|
6646
6731
|
ExitNotification.method = 'exit';
|
|
6647
6732
|
ExitNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6648
6733
|
ExitNotification.type = new messages_1.ProtocolNotificationType0(ExitNotification.method);
|
|
6649
|
-
})(ExitNotification
|
|
6734
|
+
})(ExitNotification || (exports.ExitNotification = ExitNotification = {}));
|
|
6650
6735
|
/**
|
|
6651
6736
|
* The configuration change notification is sent from the client to the server
|
|
6652
6737
|
* when the client's configuration has changed. The notification contains
|
|
@@ -6657,7 +6742,7 @@ var DidChangeConfigurationNotification;
|
|
|
6657
6742
|
DidChangeConfigurationNotification.method = 'workspace/didChangeConfiguration';
|
|
6658
6743
|
DidChangeConfigurationNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6659
6744
|
DidChangeConfigurationNotification.type = new messages_1.ProtocolNotificationType(DidChangeConfigurationNotification.method);
|
|
6660
|
-
})(DidChangeConfigurationNotification
|
|
6745
|
+
})(DidChangeConfigurationNotification || (exports.DidChangeConfigurationNotification = DidChangeConfigurationNotification = {}));
|
|
6661
6746
|
//---- Message show and log notifications ----
|
|
6662
6747
|
/**
|
|
6663
6748
|
* The message type
|
|
@@ -6680,7 +6765,7 @@ var MessageType;
|
|
|
6680
6765
|
* A log message.
|
|
6681
6766
|
*/
|
|
6682
6767
|
MessageType.Log = 4;
|
|
6683
|
-
})(MessageType
|
|
6768
|
+
})(MessageType || (exports.MessageType = MessageType = {}));
|
|
6684
6769
|
/**
|
|
6685
6770
|
* The show message notification is sent from a server to a client to ask
|
|
6686
6771
|
* the client to display a particular message in the user interface.
|
|
@@ -6690,7 +6775,7 @@ var ShowMessageNotification;
|
|
|
6690
6775
|
ShowMessageNotification.method = 'window/showMessage';
|
|
6691
6776
|
ShowMessageNotification.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
6692
6777
|
ShowMessageNotification.type = new messages_1.ProtocolNotificationType(ShowMessageNotification.method);
|
|
6693
|
-
})(ShowMessageNotification
|
|
6778
|
+
})(ShowMessageNotification || (exports.ShowMessageNotification = ShowMessageNotification = {}));
|
|
6694
6779
|
/**
|
|
6695
6780
|
* The show message request is sent from the server to the client to show a message
|
|
6696
6781
|
* and a set of options actions to the user.
|
|
@@ -6700,7 +6785,7 @@ var ShowMessageRequest;
|
|
|
6700
6785
|
ShowMessageRequest.method = 'window/showMessageRequest';
|
|
6701
6786
|
ShowMessageRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
6702
6787
|
ShowMessageRequest.type = new messages_1.ProtocolRequestType(ShowMessageRequest.method);
|
|
6703
|
-
})(ShowMessageRequest
|
|
6788
|
+
})(ShowMessageRequest || (exports.ShowMessageRequest = ShowMessageRequest = {}));
|
|
6704
6789
|
/**
|
|
6705
6790
|
* The log message notification is sent from the server to the client to ask
|
|
6706
6791
|
* the client to log a particular message.
|
|
@@ -6710,7 +6795,7 @@ var LogMessageNotification;
|
|
|
6710
6795
|
LogMessageNotification.method = 'window/logMessage';
|
|
6711
6796
|
LogMessageNotification.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
6712
6797
|
LogMessageNotification.type = new messages_1.ProtocolNotificationType(LogMessageNotification.method);
|
|
6713
|
-
})(LogMessageNotification
|
|
6798
|
+
})(LogMessageNotification || (exports.LogMessageNotification = LogMessageNotification = {}));
|
|
6714
6799
|
//---- Telemetry notification
|
|
6715
6800
|
/**
|
|
6716
6801
|
* The telemetry event notification is sent from the server to the client to ask
|
|
@@ -6721,7 +6806,7 @@ var TelemetryEventNotification;
|
|
|
6721
6806
|
TelemetryEventNotification.method = 'telemetry/event';
|
|
6722
6807
|
TelemetryEventNotification.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
6723
6808
|
TelemetryEventNotification.type = new messages_1.ProtocolNotificationType(TelemetryEventNotification.method);
|
|
6724
|
-
})(TelemetryEventNotification
|
|
6809
|
+
})(TelemetryEventNotification || (exports.TelemetryEventNotification = TelemetryEventNotification = {}));
|
|
6725
6810
|
/**
|
|
6726
6811
|
* Defines how the host (editor) should sync
|
|
6727
6812
|
* document changes to the language server.
|
|
@@ -6743,7 +6828,7 @@ var TextDocumentSyncKind;
|
|
|
6743
6828
|
* send.
|
|
6744
6829
|
*/
|
|
6745
6830
|
TextDocumentSyncKind.Incremental = 2;
|
|
6746
|
-
})(TextDocumentSyncKind
|
|
6831
|
+
})(TextDocumentSyncKind || (exports.TextDocumentSyncKind = TextDocumentSyncKind = {}));
|
|
6747
6832
|
/**
|
|
6748
6833
|
* The document open notification is sent from the client to the server to signal
|
|
6749
6834
|
* newly opened text documents. The document's truth is now managed by the client
|
|
@@ -6759,7 +6844,7 @@ var DidOpenTextDocumentNotification;
|
|
|
6759
6844
|
DidOpenTextDocumentNotification.method = 'textDocument/didOpen';
|
|
6760
6845
|
DidOpenTextDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6761
6846
|
DidOpenTextDocumentNotification.type = new messages_1.ProtocolNotificationType(DidOpenTextDocumentNotification.method);
|
|
6762
|
-
})(DidOpenTextDocumentNotification
|
|
6847
|
+
})(DidOpenTextDocumentNotification || (exports.DidOpenTextDocumentNotification = DidOpenTextDocumentNotification = {}));
|
|
6763
6848
|
var TextDocumentContentChangeEvent;
|
|
6764
6849
|
(function (TextDocumentContentChangeEvent) {
|
|
6765
6850
|
/**
|
|
@@ -6781,7 +6866,7 @@ var TextDocumentContentChangeEvent;
|
|
|
6781
6866
|
typeof candidate.text === 'string' && candidate.range === undefined && candidate.rangeLength === undefined;
|
|
6782
6867
|
}
|
|
6783
6868
|
TextDocumentContentChangeEvent.isFull = isFull;
|
|
6784
|
-
})(TextDocumentContentChangeEvent
|
|
6869
|
+
})(TextDocumentContentChangeEvent || (exports.TextDocumentContentChangeEvent = TextDocumentContentChangeEvent = {}));
|
|
6785
6870
|
/**
|
|
6786
6871
|
* The document change notification is sent from the client to the server to signal
|
|
6787
6872
|
* changes to a text document.
|
|
@@ -6791,7 +6876,7 @@ var DidChangeTextDocumentNotification;
|
|
|
6791
6876
|
DidChangeTextDocumentNotification.method = 'textDocument/didChange';
|
|
6792
6877
|
DidChangeTextDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6793
6878
|
DidChangeTextDocumentNotification.type = new messages_1.ProtocolNotificationType(DidChangeTextDocumentNotification.method);
|
|
6794
|
-
})(DidChangeTextDocumentNotification
|
|
6879
|
+
})(DidChangeTextDocumentNotification || (exports.DidChangeTextDocumentNotification = DidChangeTextDocumentNotification = {}));
|
|
6795
6880
|
/**
|
|
6796
6881
|
* The document close notification is sent from the client to the server when
|
|
6797
6882
|
* the document got closed in the client. The document's truth now exists where
|
|
@@ -6806,7 +6891,7 @@ var DidCloseTextDocumentNotification;
|
|
|
6806
6891
|
DidCloseTextDocumentNotification.method = 'textDocument/didClose';
|
|
6807
6892
|
DidCloseTextDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6808
6893
|
DidCloseTextDocumentNotification.type = new messages_1.ProtocolNotificationType(DidCloseTextDocumentNotification.method);
|
|
6809
|
-
})(DidCloseTextDocumentNotification
|
|
6894
|
+
})(DidCloseTextDocumentNotification || (exports.DidCloseTextDocumentNotification = DidCloseTextDocumentNotification = {}));
|
|
6810
6895
|
/**
|
|
6811
6896
|
* The document save notification is sent from the client to the server when
|
|
6812
6897
|
* the document got saved in the client.
|
|
@@ -6816,7 +6901,7 @@ var DidSaveTextDocumentNotification;
|
|
|
6816
6901
|
DidSaveTextDocumentNotification.method = 'textDocument/didSave';
|
|
6817
6902
|
DidSaveTextDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6818
6903
|
DidSaveTextDocumentNotification.type = new messages_1.ProtocolNotificationType(DidSaveTextDocumentNotification.method);
|
|
6819
|
-
})(DidSaveTextDocumentNotification
|
|
6904
|
+
})(DidSaveTextDocumentNotification || (exports.DidSaveTextDocumentNotification = DidSaveTextDocumentNotification = {}));
|
|
6820
6905
|
/**
|
|
6821
6906
|
* Represents reasons why a text document is saved.
|
|
6822
6907
|
*/
|
|
@@ -6835,7 +6920,7 @@ var TextDocumentSaveReason;
|
|
|
6835
6920
|
* When the editor lost focus.
|
|
6836
6921
|
*/
|
|
6837
6922
|
TextDocumentSaveReason.FocusOut = 3;
|
|
6838
|
-
})(TextDocumentSaveReason
|
|
6923
|
+
})(TextDocumentSaveReason || (exports.TextDocumentSaveReason = TextDocumentSaveReason = {}));
|
|
6839
6924
|
/**
|
|
6840
6925
|
* A document will save notification is sent from the client to the server before
|
|
6841
6926
|
* the document is actually saved.
|
|
@@ -6845,7 +6930,7 @@ var WillSaveTextDocumentNotification;
|
|
|
6845
6930
|
WillSaveTextDocumentNotification.method = 'textDocument/willSave';
|
|
6846
6931
|
WillSaveTextDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6847
6932
|
WillSaveTextDocumentNotification.type = new messages_1.ProtocolNotificationType(WillSaveTextDocumentNotification.method);
|
|
6848
|
-
})(WillSaveTextDocumentNotification
|
|
6933
|
+
})(WillSaveTextDocumentNotification || (exports.WillSaveTextDocumentNotification = WillSaveTextDocumentNotification = {}));
|
|
6849
6934
|
/**
|
|
6850
6935
|
* A document will save request is sent from the client to the server before
|
|
6851
6936
|
* the document is actually saved. The request can return an array of TextEdits
|
|
@@ -6859,7 +6944,7 @@ var WillSaveTextDocumentWaitUntilRequest;
|
|
|
6859
6944
|
WillSaveTextDocumentWaitUntilRequest.method = 'textDocument/willSaveWaitUntil';
|
|
6860
6945
|
WillSaveTextDocumentWaitUntilRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6861
6946
|
WillSaveTextDocumentWaitUntilRequest.type = new messages_1.ProtocolRequestType(WillSaveTextDocumentWaitUntilRequest.method);
|
|
6862
|
-
})(WillSaveTextDocumentWaitUntilRequest
|
|
6947
|
+
})(WillSaveTextDocumentWaitUntilRequest || (exports.WillSaveTextDocumentWaitUntilRequest = WillSaveTextDocumentWaitUntilRequest = {}));
|
|
6863
6948
|
/**
|
|
6864
6949
|
* The watched files notification is sent from the client to the server when
|
|
6865
6950
|
* the client detects changes to file watched by the language client.
|
|
@@ -6869,7 +6954,7 @@ var DidChangeWatchedFilesNotification;
|
|
|
6869
6954
|
DidChangeWatchedFilesNotification.method = 'workspace/didChangeWatchedFiles';
|
|
6870
6955
|
DidChangeWatchedFilesNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6871
6956
|
DidChangeWatchedFilesNotification.type = new messages_1.ProtocolNotificationType(DidChangeWatchedFilesNotification.method);
|
|
6872
|
-
})(DidChangeWatchedFilesNotification
|
|
6957
|
+
})(DidChangeWatchedFilesNotification || (exports.DidChangeWatchedFilesNotification = DidChangeWatchedFilesNotification = {}));
|
|
6873
6958
|
/**
|
|
6874
6959
|
* The file event type
|
|
6875
6960
|
*/
|
|
@@ -6887,7 +6972,7 @@ var FileChangeType;
|
|
|
6887
6972
|
* The file got deleted.
|
|
6888
6973
|
*/
|
|
6889
6974
|
FileChangeType.Deleted = 3;
|
|
6890
|
-
})(FileChangeType
|
|
6975
|
+
})(FileChangeType || (exports.FileChangeType = FileChangeType = {}));
|
|
6891
6976
|
var RelativePattern;
|
|
6892
6977
|
(function (RelativePattern) {
|
|
6893
6978
|
function is(value) {
|
|
@@ -6895,7 +6980,7 @@ var RelativePattern;
|
|
|
6895
6980
|
return Is.objectLiteral(candidate) && (vscode_languageserver_types_1.URI.is(candidate.baseUri) || vscode_languageserver_types_1.WorkspaceFolder.is(candidate.baseUri)) && Is.string(candidate.pattern);
|
|
6896
6981
|
}
|
|
6897
6982
|
RelativePattern.is = is;
|
|
6898
|
-
})(RelativePattern
|
|
6983
|
+
})(RelativePattern || (exports.RelativePattern = RelativePattern = {}));
|
|
6899
6984
|
var WatchKind;
|
|
6900
6985
|
(function (WatchKind) {
|
|
6901
6986
|
/**
|
|
@@ -6910,7 +6995,7 @@ var WatchKind;
|
|
|
6910
6995
|
* Interested in delete events
|
|
6911
6996
|
*/
|
|
6912
6997
|
WatchKind.Delete = 4;
|
|
6913
|
-
})(WatchKind
|
|
6998
|
+
})(WatchKind || (exports.WatchKind = WatchKind = {}));
|
|
6914
6999
|
/**
|
|
6915
7000
|
* Diagnostics notification are sent from the server to the client to signal
|
|
6916
7001
|
* results of validation runs.
|
|
@@ -6920,7 +7005,7 @@ var PublishDiagnosticsNotification;
|
|
|
6920
7005
|
PublishDiagnosticsNotification.method = 'textDocument/publishDiagnostics';
|
|
6921
7006
|
PublishDiagnosticsNotification.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
6922
7007
|
PublishDiagnosticsNotification.type = new messages_1.ProtocolNotificationType(PublishDiagnosticsNotification.method);
|
|
6923
|
-
})(PublishDiagnosticsNotification
|
|
7008
|
+
})(PublishDiagnosticsNotification || (exports.PublishDiagnosticsNotification = PublishDiagnosticsNotification = {}));
|
|
6924
7009
|
/**
|
|
6925
7010
|
* How a completion was triggered
|
|
6926
7011
|
*/
|
|
@@ -6940,7 +7025,7 @@ var CompletionTriggerKind;
|
|
|
6940
7025
|
* Completion was re-triggered as current completion list is incomplete
|
|
6941
7026
|
*/
|
|
6942
7027
|
CompletionTriggerKind.TriggerForIncompleteCompletions = 3;
|
|
6943
|
-
})(CompletionTriggerKind
|
|
7028
|
+
})(CompletionTriggerKind || (exports.CompletionTriggerKind = CompletionTriggerKind = {}));
|
|
6944
7029
|
/**
|
|
6945
7030
|
* Request to request completion at a given text document position. The request's
|
|
6946
7031
|
* parameter is of type {@link TextDocumentPosition} the response
|
|
@@ -6957,7 +7042,7 @@ var CompletionRequest;
|
|
|
6957
7042
|
CompletionRequest.method = 'textDocument/completion';
|
|
6958
7043
|
CompletionRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6959
7044
|
CompletionRequest.type = new messages_1.ProtocolRequestType(CompletionRequest.method);
|
|
6960
|
-
})(CompletionRequest
|
|
7045
|
+
})(CompletionRequest || (exports.CompletionRequest = CompletionRequest = {}));
|
|
6961
7046
|
/**
|
|
6962
7047
|
* Request to resolve additional information for a given completion item.The request's
|
|
6963
7048
|
* parameter is of type {@link CompletionItem} the response
|
|
@@ -6968,7 +7053,7 @@ var CompletionResolveRequest;
|
|
|
6968
7053
|
CompletionResolveRequest.method = 'completionItem/resolve';
|
|
6969
7054
|
CompletionResolveRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6970
7055
|
CompletionResolveRequest.type = new messages_1.ProtocolRequestType(CompletionResolveRequest.method);
|
|
6971
|
-
})(CompletionResolveRequest
|
|
7056
|
+
})(CompletionResolveRequest || (exports.CompletionResolveRequest = CompletionResolveRequest = {}));
|
|
6972
7057
|
/**
|
|
6973
7058
|
* Request to request hover information at a given text document position. The request's
|
|
6974
7059
|
* parameter is of type {@link TextDocumentPosition} the response is of
|
|
@@ -6979,7 +7064,7 @@ var HoverRequest;
|
|
|
6979
7064
|
HoverRequest.method = 'textDocument/hover';
|
|
6980
7065
|
HoverRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6981
7066
|
HoverRequest.type = new messages_1.ProtocolRequestType(HoverRequest.method);
|
|
6982
|
-
})(HoverRequest
|
|
7067
|
+
})(HoverRequest || (exports.HoverRequest = HoverRequest = {}));
|
|
6983
7068
|
/**
|
|
6984
7069
|
* How a signature help was triggered.
|
|
6985
7070
|
*
|
|
@@ -6999,26 +7084,25 @@ var SignatureHelpTriggerKind;
|
|
|
6999
7084
|
* Signature help was triggered by the cursor moving or by the document content changing.
|
|
7000
7085
|
*/
|
|
7001
7086
|
SignatureHelpTriggerKind.ContentChange = 3;
|
|
7002
|
-
})(SignatureHelpTriggerKind
|
|
7087
|
+
})(SignatureHelpTriggerKind || (exports.SignatureHelpTriggerKind = SignatureHelpTriggerKind = {}));
|
|
7003
7088
|
var SignatureHelpRequest;
|
|
7004
7089
|
(function (SignatureHelpRequest) {
|
|
7005
7090
|
SignatureHelpRequest.method = 'textDocument/signatureHelp';
|
|
7006
7091
|
SignatureHelpRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7007
7092
|
SignatureHelpRequest.type = new messages_1.ProtocolRequestType(SignatureHelpRequest.method);
|
|
7008
|
-
})(SignatureHelpRequest
|
|
7093
|
+
})(SignatureHelpRequest || (exports.SignatureHelpRequest = SignatureHelpRequest = {}));
|
|
7009
7094
|
/**
|
|
7010
7095
|
* A request to resolve the definition location of a symbol at a given text
|
|
7011
|
-
* document position. The request's parameter is of type
|
|
7012
|
-
*
|
|
7013
|
-
*
|
|
7014
|
-
* to such.
|
|
7096
|
+
* document position. The request's parameter is of type {@link TextDocumentPosition}
|
|
7097
|
+
* the response is of either type {@link Definition} or a typed array of
|
|
7098
|
+
* {@link DefinitionLink} or a Thenable that resolves to such.
|
|
7015
7099
|
*/
|
|
7016
7100
|
var DefinitionRequest;
|
|
7017
7101
|
(function (DefinitionRequest) {
|
|
7018
7102
|
DefinitionRequest.method = 'textDocument/definition';
|
|
7019
7103
|
DefinitionRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7020
7104
|
DefinitionRequest.type = new messages_1.ProtocolRequestType(DefinitionRequest.method);
|
|
7021
|
-
})(DefinitionRequest
|
|
7105
|
+
})(DefinitionRequest || (exports.DefinitionRequest = DefinitionRequest = {}));
|
|
7022
7106
|
/**
|
|
7023
7107
|
* A request to resolve project-wide references for the symbol denoted
|
|
7024
7108
|
* by the given text document position. The request's parameter is of
|
|
@@ -7030,19 +7114,19 @@ var ReferencesRequest;
|
|
|
7030
7114
|
ReferencesRequest.method = 'textDocument/references';
|
|
7031
7115
|
ReferencesRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7032
7116
|
ReferencesRequest.type = new messages_1.ProtocolRequestType(ReferencesRequest.method);
|
|
7033
|
-
})(ReferencesRequest
|
|
7117
|
+
})(ReferencesRequest || (exports.ReferencesRequest = ReferencesRequest = {}));
|
|
7034
7118
|
/**
|
|
7035
7119
|
* Request to resolve a {@link DocumentHighlight} for a given
|
|
7036
|
-
* text document position. The request's parameter is of type
|
|
7037
|
-
*
|
|
7038
|
-
*
|
|
7120
|
+
* text document position. The request's parameter is of type {@link TextDocumentPosition}
|
|
7121
|
+
* the request response is an array of type {@link DocumentHighlight}
|
|
7122
|
+
* or a Thenable that resolves to such.
|
|
7039
7123
|
*/
|
|
7040
7124
|
var DocumentHighlightRequest;
|
|
7041
7125
|
(function (DocumentHighlightRequest) {
|
|
7042
7126
|
DocumentHighlightRequest.method = 'textDocument/documentHighlight';
|
|
7043
7127
|
DocumentHighlightRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7044
7128
|
DocumentHighlightRequest.type = new messages_1.ProtocolRequestType(DocumentHighlightRequest.method);
|
|
7045
|
-
})(DocumentHighlightRequest
|
|
7129
|
+
})(DocumentHighlightRequest || (exports.DocumentHighlightRequest = DocumentHighlightRequest = {}));
|
|
7046
7130
|
/**
|
|
7047
7131
|
* A request to list all symbols found in a given text document. The request's
|
|
7048
7132
|
* parameter is of type {@link TextDocumentIdentifier} the
|
|
@@ -7054,7 +7138,7 @@ var DocumentSymbolRequest;
|
|
|
7054
7138
|
DocumentSymbolRequest.method = 'textDocument/documentSymbol';
|
|
7055
7139
|
DocumentSymbolRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7056
7140
|
DocumentSymbolRequest.type = new messages_1.ProtocolRequestType(DocumentSymbolRequest.method);
|
|
7057
|
-
})(DocumentSymbolRequest
|
|
7141
|
+
})(DocumentSymbolRequest || (exports.DocumentSymbolRequest = DocumentSymbolRequest = {}));
|
|
7058
7142
|
/**
|
|
7059
7143
|
* A request to provide commands for the given text document and range.
|
|
7060
7144
|
*/
|
|
@@ -7063,7 +7147,7 @@ var CodeActionRequest;
|
|
|
7063
7147
|
CodeActionRequest.method = 'textDocument/codeAction';
|
|
7064
7148
|
CodeActionRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7065
7149
|
CodeActionRequest.type = new messages_1.ProtocolRequestType(CodeActionRequest.method);
|
|
7066
|
-
})(CodeActionRequest
|
|
7150
|
+
})(CodeActionRequest || (exports.CodeActionRequest = CodeActionRequest = {}));
|
|
7067
7151
|
/**
|
|
7068
7152
|
* Request to resolve additional information for a given code action.The request's
|
|
7069
7153
|
* parameter is of type {@link CodeAction} the response
|
|
@@ -7074,7 +7158,7 @@ var CodeActionResolveRequest;
|
|
|
7074
7158
|
CodeActionResolveRequest.method = 'codeAction/resolve';
|
|
7075
7159
|
CodeActionResolveRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7076
7160
|
CodeActionResolveRequest.type = new messages_1.ProtocolRequestType(CodeActionResolveRequest.method);
|
|
7077
|
-
})(CodeActionResolveRequest
|
|
7161
|
+
})(CodeActionResolveRequest || (exports.CodeActionResolveRequest = CodeActionResolveRequest = {}));
|
|
7078
7162
|
/**
|
|
7079
7163
|
* A request to list project-wide symbols matching the query string given
|
|
7080
7164
|
* by the {@link WorkspaceSymbolParams}. The response is
|
|
@@ -7091,7 +7175,7 @@ var WorkspaceSymbolRequest;
|
|
|
7091
7175
|
WorkspaceSymbolRequest.method = 'workspace/symbol';
|
|
7092
7176
|
WorkspaceSymbolRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7093
7177
|
WorkspaceSymbolRequest.type = new messages_1.ProtocolRequestType(WorkspaceSymbolRequest.method);
|
|
7094
|
-
})(WorkspaceSymbolRequest
|
|
7178
|
+
})(WorkspaceSymbolRequest || (exports.WorkspaceSymbolRequest = WorkspaceSymbolRequest = {}));
|
|
7095
7179
|
/**
|
|
7096
7180
|
* A request to resolve the range inside the workspace
|
|
7097
7181
|
* symbol's location.
|
|
@@ -7103,7 +7187,7 @@ var WorkspaceSymbolResolveRequest;
|
|
|
7103
7187
|
WorkspaceSymbolResolveRequest.method = 'workspaceSymbol/resolve';
|
|
7104
7188
|
WorkspaceSymbolResolveRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7105
7189
|
WorkspaceSymbolResolveRequest.type = new messages_1.ProtocolRequestType(WorkspaceSymbolResolveRequest.method);
|
|
7106
|
-
})(WorkspaceSymbolResolveRequest
|
|
7190
|
+
})(WorkspaceSymbolResolveRequest || (exports.WorkspaceSymbolResolveRequest = WorkspaceSymbolResolveRequest = {}));
|
|
7107
7191
|
/**
|
|
7108
7192
|
* A request to provide code lens for the given text document.
|
|
7109
7193
|
*/
|
|
@@ -7112,7 +7196,7 @@ var CodeLensRequest;
|
|
|
7112
7196
|
CodeLensRequest.method = 'textDocument/codeLens';
|
|
7113
7197
|
CodeLensRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7114
7198
|
CodeLensRequest.type = new messages_1.ProtocolRequestType(CodeLensRequest.method);
|
|
7115
|
-
})(CodeLensRequest
|
|
7199
|
+
})(CodeLensRequest || (exports.CodeLensRequest = CodeLensRequest = {}));
|
|
7116
7200
|
/**
|
|
7117
7201
|
* A request to resolve a command for a given code lens.
|
|
7118
7202
|
*/
|
|
@@ -7121,7 +7205,7 @@ var CodeLensResolveRequest;
|
|
|
7121
7205
|
CodeLensResolveRequest.method = 'codeLens/resolve';
|
|
7122
7206
|
CodeLensResolveRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7123
7207
|
CodeLensResolveRequest.type = new messages_1.ProtocolRequestType(CodeLensResolveRequest.method);
|
|
7124
|
-
})(CodeLensResolveRequest
|
|
7208
|
+
})(CodeLensResolveRequest || (exports.CodeLensResolveRequest = CodeLensResolveRequest = {}));
|
|
7125
7209
|
/**
|
|
7126
7210
|
* A request to refresh all code actions
|
|
7127
7211
|
*
|
|
@@ -7132,7 +7216,7 @@ var CodeLensRefreshRequest;
|
|
|
7132
7216
|
CodeLensRefreshRequest.method = `workspace/codeLens/refresh`;
|
|
7133
7217
|
CodeLensRefreshRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
7134
7218
|
CodeLensRefreshRequest.type = new messages_1.ProtocolRequestType0(CodeLensRefreshRequest.method);
|
|
7135
|
-
})(CodeLensRefreshRequest
|
|
7219
|
+
})(CodeLensRefreshRequest || (exports.CodeLensRefreshRequest = CodeLensRefreshRequest = {}));
|
|
7136
7220
|
/**
|
|
7137
7221
|
* A request to provide document links
|
|
7138
7222
|
*/
|
|
@@ -7141,7 +7225,7 @@ var DocumentLinkRequest;
|
|
|
7141
7225
|
DocumentLinkRequest.method = 'textDocument/documentLink';
|
|
7142
7226
|
DocumentLinkRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7143
7227
|
DocumentLinkRequest.type = new messages_1.ProtocolRequestType(DocumentLinkRequest.method);
|
|
7144
|
-
})(DocumentLinkRequest
|
|
7228
|
+
})(DocumentLinkRequest || (exports.DocumentLinkRequest = DocumentLinkRequest = {}));
|
|
7145
7229
|
/**
|
|
7146
7230
|
* Request to resolve additional information for a given document link. The request's
|
|
7147
7231
|
* parameter is of type {@link DocumentLink} the response
|
|
@@ -7152,7 +7236,7 @@ var DocumentLinkResolveRequest;
|
|
|
7152
7236
|
DocumentLinkResolveRequest.method = 'documentLink/resolve';
|
|
7153
7237
|
DocumentLinkResolveRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7154
7238
|
DocumentLinkResolveRequest.type = new messages_1.ProtocolRequestType(DocumentLinkResolveRequest.method);
|
|
7155
|
-
})(DocumentLinkResolveRequest
|
|
7239
|
+
})(DocumentLinkResolveRequest || (exports.DocumentLinkResolveRequest = DocumentLinkResolveRequest = {}));
|
|
7156
7240
|
/**
|
|
7157
7241
|
* A request to format a whole document.
|
|
7158
7242
|
*/
|
|
@@ -7161,7 +7245,7 @@ var DocumentFormattingRequest;
|
|
|
7161
7245
|
DocumentFormattingRequest.method = 'textDocument/formatting';
|
|
7162
7246
|
DocumentFormattingRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7163
7247
|
DocumentFormattingRequest.type = new messages_1.ProtocolRequestType(DocumentFormattingRequest.method);
|
|
7164
|
-
})(DocumentFormattingRequest
|
|
7248
|
+
})(DocumentFormattingRequest || (exports.DocumentFormattingRequest = DocumentFormattingRequest = {}));
|
|
7165
7249
|
/**
|
|
7166
7250
|
* A request to format a range in a document.
|
|
7167
7251
|
*/
|
|
@@ -7170,7 +7254,19 @@ var DocumentRangeFormattingRequest;
|
|
|
7170
7254
|
DocumentRangeFormattingRequest.method = 'textDocument/rangeFormatting';
|
|
7171
7255
|
DocumentRangeFormattingRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7172
7256
|
DocumentRangeFormattingRequest.type = new messages_1.ProtocolRequestType(DocumentRangeFormattingRequest.method);
|
|
7173
|
-
})(DocumentRangeFormattingRequest
|
|
7257
|
+
})(DocumentRangeFormattingRequest || (exports.DocumentRangeFormattingRequest = DocumentRangeFormattingRequest = {}));
|
|
7258
|
+
/**
|
|
7259
|
+
* A request to format ranges in a document.
|
|
7260
|
+
*
|
|
7261
|
+
* @since 3.18.0
|
|
7262
|
+
* @proposed
|
|
7263
|
+
*/
|
|
7264
|
+
var DocumentRangesFormattingRequest;
|
|
7265
|
+
(function (DocumentRangesFormattingRequest) {
|
|
7266
|
+
DocumentRangesFormattingRequest.method = 'textDocument/rangesFormatting';
|
|
7267
|
+
DocumentRangesFormattingRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7268
|
+
DocumentRangesFormattingRequest.type = new messages_1.ProtocolRequestType(DocumentRangesFormattingRequest.method);
|
|
7269
|
+
})(DocumentRangesFormattingRequest || (exports.DocumentRangesFormattingRequest = DocumentRangesFormattingRequest = {}));
|
|
7174
7270
|
/**
|
|
7175
7271
|
* A request to format a document on type.
|
|
7176
7272
|
*/
|
|
@@ -7179,7 +7275,7 @@ var DocumentOnTypeFormattingRequest;
|
|
|
7179
7275
|
DocumentOnTypeFormattingRequest.method = 'textDocument/onTypeFormatting';
|
|
7180
7276
|
DocumentOnTypeFormattingRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7181
7277
|
DocumentOnTypeFormattingRequest.type = new messages_1.ProtocolRequestType(DocumentOnTypeFormattingRequest.method);
|
|
7182
|
-
})(DocumentOnTypeFormattingRequest
|
|
7278
|
+
})(DocumentOnTypeFormattingRequest || (exports.DocumentOnTypeFormattingRequest = DocumentOnTypeFormattingRequest = {}));
|
|
7183
7279
|
//---- Rename ----------------------------------------------
|
|
7184
7280
|
var PrepareSupportDefaultBehavior;
|
|
7185
7281
|
(function (PrepareSupportDefaultBehavior) {
|
|
@@ -7188,7 +7284,7 @@ var PrepareSupportDefaultBehavior;
|
|
|
7188
7284
|
* according the to language's syntax rule.
|
|
7189
7285
|
*/
|
|
7190
7286
|
PrepareSupportDefaultBehavior.Identifier = 1;
|
|
7191
|
-
})(PrepareSupportDefaultBehavior
|
|
7287
|
+
})(PrepareSupportDefaultBehavior || (exports.PrepareSupportDefaultBehavior = PrepareSupportDefaultBehavior = {}));
|
|
7192
7288
|
/**
|
|
7193
7289
|
* A request to rename a symbol.
|
|
7194
7290
|
*/
|
|
@@ -7197,7 +7293,7 @@ var RenameRequest;
|
|
|
7197
7293
|
RenameRequest.method = 'textDocument/rename';
|
|
7198
7294
|
RenameRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7199
7295
|
RenameRequest.type = new messages_1.ProtocolRequestType(RenameRequest.method);
|
|
7200
|
-
})(RenameRequest
|
|
7296
|
+
})(RenameRequest || (exports.RenameRequest = RenameRequest = {}));
|
|
7201
7297
|
/**
|
|
7202
7298
|
* A request to test and perform the setup necessary for a rename.
|
|
7203
7299
|
*
|
|
@@ -7208,7 +7304,7 @@ var PrepareRenameRequest;
|
|
|
7208
7304
|
PrepareRenameRequest.method = 'textDocument/prepareRename';
|
|
7209
7305
|
PrepareRenameRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7210
7306
|
PrepareRenameRequest.type = new messages_1.ProtocolRequestType(PrepareRenameRequest.method);
|
|
7211
|
-
})(PrepareRenameRequest
|
|
7307
|
+
})(PrepareRenameRequest || (exports.PrepareRenameRequest = PrepareRenameRequest = {}));
|
|
7212
7308
|
/**
|
|
7213
7309
|
* A request send from the client to the server to execute a command. The request might return
|
|
7214
7310
|
* a workspace edit which the client will apply to the workspace.
|
|
@@ -7218,7 +7314,7 @@ var ExecuteCommandRequest;
|
|
|
7218
7314
|
ExecuteCommandRequest.method = 'workspace/executeCommand';
|
|
7219
7315
|
ExecuteCommandRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7220
7316
|
ExecuteCommandRequest.type = new messages_1.ProtocolRequestType(ExecuteCommandRequest.method);
|
|
7221
|
-
})(ExecuteCommandRequest
|
|
7317
|
+
})(ExecuteCommandRequest || (exports.ExecuteCommandRequest = ExecuteCommandRequest = {}));
|
|
7222
7318
|
/**
|
|
7223
7319
|
* A request sent from the server to the client to modified certain resources.
|
|
7224
7320
|
*/
|
|
@@ -7227,7 +7323,7 @@ var ApplyWorkspaceEditRequest;
|
|
|
7227
7323
|
ApplyWorkspaceEditRequest.method = 'workspace/applyEdit';
|
|
7228
7324
|
ApplyWorkspaceEditRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
7229
7325
|
ApplyWorkspaceEditRequest.type = new messages_1.ProtocolRequestType('workspace/applyEdit');
|
|
7230
|
-
})(ApplyWorkspaceEditRequest
|
|
7326
|
+
})(ApplyWorkspaceEditRequest || (exports.ApplyWorkspaceEditRequest = ApplyWorkspaceEditRequest = {}));
|
|
7231
7327
|
|
|
7232
7328
|
|
|
7233
7329
|
/***/ }),
|
|
@@ -7300,16 +7396,15 @@ const messages_1 = __webpack_require__(25);
|
|
|
7300
7396
|
let __noDynamicImport;
|
|
7301
7397
|
/**
|
|
7302
7398
|
* A request to resolve the implementation locations of a symbol at a given text
|
|
7303
|
-
* document position. The request's parameter is of type
|
|
7304
|
-
*
|
|
7305
|
-
* Thenable that resolves to such.
|
|
7399
|
+
* document position. The request's parameter is of type {@link TextDocumentPositionParams}
|
|
7400
|
+
* the response is of type {@link Definition} or a Thenable that resolves to such.
|
|
7306
7401
|
*/
|
|
7307
7402
|
var ImplementationRequest;
|
|
7308
7403
|
(function (ImplementationRequest) {
|
|
7309
7404
|
ImplementationRequest.method = 'textDocument/implementation';
|
|
7310
7405
|
ImplementationRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7311
7406
|
ImplementationRequest.type = new messages_1.ProtocolRequestType(ImplementationRequest.method);
|
|
7312
|
-
})(ImplementationRequest
|
|
7407
|
+
})(ImplementationRequest || (exports.ImplementationRequest = ImplementationRequest = {}));
|
|
7313
7408
|
|
|
7314
7409
|
|
|
7315
7410
|
/***/ }),
|
|
@@ -7329,16 +7424,15 @@ const messages_1 = __webpack_require__(25);
|
|
|
7329
7424
|
let __noDynamicImport;
|
|
7330
7425
|
/**
|
|
7331
7426
|
* A request to resolve the type definition locations of a symbol at a given text
|
|
7332
|
-
* document position. The request's parameter is of type
|
|
7333
|
-
*
|
|
7334
|
-
* Thenable that resolves to such.
|
|
7427
|
+
* document position. The request's parameter is of type {@link TextDocumentPositionParams}
|
|
7428
|
+
* the response is of type {@link Definition} or a Thenable that resolves to such.
|
|
7335
7429
|
*/
|
|
7336
7430
|
var TypeDefinitionRequest;
|
|
7337
7431
|
(function (TypeDefinitionRequest) {
|
|
7338
7432
|
TypeDefinitionRequest.method = 'textDocument/typeDefinition';
|
|
7339
7433
|
TypeDefinitionRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7340
7434
|
TypeDefinitionRequest.type = new messages_1.ProtocolRequestType(TypeDefinitionRequest.method);
|
|
7341
|
-
})(TypeDefinitionRequest
|
|
7435
|
+
})(TypeDefinitionRequest || (exports.TypeDefinitionRequest = TypeDefinitionRequest = {}));
|
|
7342
7436
|
|
|
7343
7437
|
|
|
7344
7438
|
/***/ }),
|
|
@@ -7362,7 +7456,7 @@ var WorkspaceFoldersRequest;
|
|
|
7362
7456
|
WorkspaceFoldersRequest.method = 'workspace/workspaceFolders';
|
|
7363
7457
|
WorkspaceFoldersRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
7364
7458
|
WorkspaceFoldersRequest.type = new messages_1.ProtocolRequestType0(WorkspaceFoldersRequest.method);
|
|
7365
|
-
})(WorkspaceFoldersRequest
|
|
7459
|
+
})(WorkspaceFoldersRequest || (exports.WorkspaceFoldersRequest = WorkspaceFoldersRequest = {}));
|
|
7366
7460
|
/**
|
|
7367
7461
|
* The `workspace/didChangeWorkspaceFolders` notification is sent from the client to the server when the workspace
|
|
7368
7462
|
* folder configuration changes.
|
|
@@ -7372,7 +7466,7 @@ var DidChangeWorkspaceFoldersNotification;
|
|
|
7372
7466
|
DidChangeWorkspaceFoldersNotification.method = 'workspace/didChangeWorkspaceFolders';
|
|
7373
7467
|
DidChangeWorkspaceFoldersNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7374
7468
|
DidChangeWorkspaceFoldersNotification.type = new messages_1.ProtocolNotificationType(DidChangeWorkspaceFoldersNotification.method);
|
|
7375
|
-
})(DidChangeWorkspaceFoldersNotification
|
|
7469
|
+
})(DidChangeWorkspaceFoldersNotification || (exports.DidChangeWorkspaceFoldersNotification = DidChangeWorkspaceFoldersNotification = {}));
|
|
7376
7470
|
|
|
7377
7471
|
|
|
7378
7472
|
/***/ }),
|
|
@@ -7403,7 +7497,7 @@ var ConfigurationRequest;
|
|
|
7403
7497
|
ConfigurationRequest.method = 'workspace/configuration';
|
|
7404
7498
|
ConfigurationRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
7405
7499
|
ConfigurationRequest.type = new messages_1.ProtocolRequestType(ConfigurationRequest.method);
|
|
7406
|
-
})(ConfigurationRequest
|
|
7500
|
+
})(ConfigurationRequest || (exports.ConfigurationRequest = ConfigurationRequest = {}));
|
|
7407
7501
|
|
|
7408
7502
|
|
|
7409
7503
|
/***/ }),
|
|
@@ -7430,7 +7524,7 @@ var DocumentColorRequest;
|
|
|
7430
7524
|
DocumentColorRequest.method = 'textDocument/documentColor';
|
|
7431
7525
|
DocumentColorRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7432
7526
|
DocumentColorRequest.type = new messages_1.ProtocolRequestType(DocumentColorRequest.method);
|
|
7433
|
-
})(DocumentColorRequest
|
|
7527
|
+
})(DocumentColorRequest || (exports.DocumentColorRequest = DocumentColorRequest = {}));
|
|
7434
7528
|
/**
|
|
7435
7529
|
* A request to list all presentation for a color. The request's
|
|
7436
7530
|
* parameter is of type {@link ColorPresentationParams} the
|
|
@@ -7442,7 +7536,7 @@ var ColorPresentationRequest;
|
|
|
7442
7536
|
ColorPresentationRequest.method = 'textDocument/colorPresentation';
|
|
7443
7537
|
ColorPresentationRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7444
7538
|
ColorPresentationRequest.type = new messages_1.ProtocolRequestType(ColorPresentationRequest.method);
|
|
7445
|
-
})(ColorPresentationRequest
|
|
7539
|
+
})(ColorPresentationRequest || (exports.ColorPresentationRequest = ColorPresentationRequest = {}));
|
|
7446
7540
|
|
|
7447
7541
|
|
|
7448
7542
|
/***/ }),
|
|
@@ -7469,7 +7563,7 @@ var FoldingRangeRequest;
|
|
|
7469
7563
|
FoldingRangeRequest.method = 'textDocument/foldingRange';
|
|
7470
7564
|
FoldingRangeRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7471
7565
|
FoldingRangeRequest.type = new messages_1.ProtocolRequestType(FoldingRangeRequest.method);
|
|
7472
|
-
})(FoldingRangeRequest
|
|
7566
|
+
})(FoldingRangeRequest || (exports.FoldingRangeRequest = FoldingRangeRequest = {}));
|
|
7473
7567
|
|
|
7474
7568
|
|
|
7475
7569
|
/***/ }),
|
|
@@ -7489,17 +7583,16 @@ const messages_1 = __webpack_require__(25);
|
|
|
7489
7583
|
let __noDynamicImport;
|
|
7490
7584
|
/**
|
|
7491
7585
|
* A request to resolve the type definition locations of a symbol at a given text
|
|
7492
|
-
* document position. The request's parameter is of type
|
|
7493
|
-
*
|
|
7494
|
-
* or a
|
|
7495
|
-
* to such.
|
|
7586
|
+
* document position. The request's parameter is of type {@link TextDocumentPositionParams}
|
|
7587
|
+
* the response is of type {@link Declaration} or a typed array of {@link DeclarationLink}
|
|
7588
|
+
* or a Thenable that resolves to such.
|
|
7496
7589
|
*/
|
|
7497
7590
|
var DeclarationRequest;
|
|
7498
7591
|
(function (DeclarationRequest) {
|
|
7499
7592
|
DeclarationRequest.method = 'textDocument/declaration';
|
|
7500
7593
|
DeclarationRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7501
7594
|
DeclarationRequest.type = new messages_1.ProtocolRequestType(DeclarationRequest.method);
|
|
7502
|
-
})(DeclarationRequest
|
|
7595
|
+
})(DeclarationRequest || (exports.DeclarationRequest = DeclarationRequest = {}));
|
|
7503
7596
|
|
|
7504
7597
|
|
|
7505
7598
|
/***/ }),
|
|
@@ -7526,7 +7619,7 @@ var SelectionRangeRequest;
|
|
|
7526
7619
|
SelectionRangeRequest.method = 'textDocument/selectionRange';
|
|
7527
7620
|
SelectionRangeRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7528
7621
|
SelectionRangeRequest.type = new messages_1.ProtocolRequestType(SelectionRangeRequest.method);
|
|
7529
|
-
})(SelectionRangeRequest
|
|
7622
|
+
})(SelectionRangeRequest || (exports.SelectionRangeRequest = SelectionRangeRequest = {}));
|
|
7530
7623
|
|
|
7531
7624
|
|
|
7532
7625
|
/***/ }),
|
|
@@ -7550,7 +7643,7 @@ var WorkDoneProgress;
|
|
|
7550
7643
|
return value === WorkDoneProgress.type;
|
|
7551
7644
|
}
|
|
7552
7645
|
WorkDoneProgress.is = is;
|
|
7553
|
-
})(WorkDoneProgress
|
|
7646
|
+
})(WorkDoneProgress || (exports.WorkDoneProgress = WorkDoneProgress = {}));
|
|
7554
7647
|
/**
|
|
7555
7648
|
* The `window/workDoneProgress/create` request is sent from the server to the client to initiate progress
|
|
7556
7649
|
* reporting from the server.
|
|
@@ -7560,7 +7653,7 @@ var WorkDoneProgressCreateRequest;
|
|
|
7560
7653
|
WorkDoneProgressCreateRequest.method = 'window/workDoneProgress/create';
|
|
7561
7654
|
WorkDoneProgressCreateRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
7562
7655
|
WorkDoneProgressCreateRequest.type = new messages_1.ProtocolRequestType(WorkDoneProgressCreateRequest.method);
|
|
7563
|
-
})(WorkDoneProgressCreateRequest
|
|
7656
|
+
})(WorkDoneProgressCreateRequest || (exports.WorkDoneProgressCreateRequest = WorkDoneProgressCreateRequest = {}));
|
|
7564
7657
|
/**
|
|
7565
7658
|
* The `window/workDoneProgress/cancel` notification is sent from the client to the server to cancel a progress
|
|
7566
7659
|
* initiated on the server side.
|
|
@@ -7570,7 +7663,7 @@ var WorkDoneProgressCancelNotification;
|
|
|
7570
7663
|
WorkDoneProgressCancelNotification.method = 'window/workDoneProgress/cancel';
|
|
7571
7664
|
WorkDoneProgressCancelNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7572
7665
|
WorkDoneProgressCancelNotification.type = new messages_1.ProtocolNotificationType(WorkDoneProgressCancelNotification.method);
|
|
7573
|
-
})(WorkDoneProgressCancelNotification
|
|
7666
|
+
})(WorkDoneProgressCancelNotification || (exports.WorkDoneProgressCancelNotification = WorkDoneProgressCancelNotification = {}));
|
|
7574
7667
|
|
|
7575
7668
|
|
|
7576
7669
|
/***/ }),
|
|
@@ -7597,7 +7690,7 @@ var CallHierarchyPrepareRequest;
|
|
|
7597
7690
|
CallHierarchyPrepareRequest.method = 'textDocument/prepareCallHierarchy';
|
|
7598
7691
|
CallHierarchyPrepareRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7599
7692
|
CallHierarchyPrepareRequest.type = new messages_1.ProtocolRequestType(CallHierarchyPrepareRequest.method);
|
|
7600
|
-
})(CallHierarchyPrepareRequest
|
|
7693
|
+
})(CallHierarchyPrepareRequest || (exports.CallHierarchyPrepareRequest = CallHierarchyPrepareRequest = {}));
|
|
7601
7694
|
/**
|
|
7602
7695
|
* A request to resolve the incoming calls for a given `CallHierarchyItem`.
|
|
7603
7696
|
*
|
|
@@ -7608,7 +7701,7 @@ var CallHierarchyIncomingCallsRequest;
|
|
|
7608
7701
|
CallHierarchyIncomingCallsRequest.method = 'callHierarchy/incomingCalls';
|
|
7609
7702
|
CallHierarchyIncomingCallsRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7610
7703
|
CallHierarchyIncomingCallsRequest.type = new messages_1.ProtocolRequestType(CallHierarchyIncomingCallsRequest.method);
|
|
7611
|
-
})(CallHierarchyIncomingCallsRequest
|
|
7704
|
+
})(CallHierarchyIncomingCallsRequest || (exports.CallHierarchyIncomingCallsRequest = CallHierarchyIncomingCallsRequest = {}));
|
|
7612
7705
|
/**
|
|
7613
7706
|
* A request to resolve the outgoing calls for a given `CallHierarchyItem`.
|
|
7614
7707
|
*
|
|
@@ -7619,7 +7712,7 @@ var CallHierarchyOutgoingCallsRequest;
|
|
|
7619
7712
|
CallHierarchyOutgoingCallsRequest.method = 'callHierarchy/outgoingCalls';
|
|
7620
7713
|
CallHierarchyOutgoingCallsRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7621
7714
|
CallHierarchyOutgoingCallsRequest.type = new messages_1.ProtocolRequestType(CallHierarchyOutgoingCallsRequest.method);
|
|
7622
|
-
})(CallHierarchyOutgoingCallsRequest
|
|
7715
|
+
})(CallHierarchyOutgoingCallsRequest || (exports.CallHierarchyOutgoingCallsRequest = CallHierarchyOutgoingCallsRequest = {}));
|
|
7623
7716
|
|
|
7624
7717
|
|
|
7625
7718
|
/***/ }),
|
|
@@ -7639,12 +7732,12 @@ const messages_1 = __webpack_require__(25);
|
|
|
7639
7732
|
var TokenFormat;
|
|
7640
7733
|
(function (TokenFormat) {
|
|
7641
7734
|
TokenFormat.Relative = 'relative';
|
|
7642
|
-
})(TokenFormat
|
|
7735
|
+
})(TokenFormat || (exports.TokenFormat = TokenFormat = {}));
|
|
7643
7736
|
var SemanticTokensRegistrationType;
|
|
7644
7737
|
(function (SemanticTokensRegistrationType) {
|
|
7645
7738
|
SemanticTokensRegistrationType.method = 'textDocument/semanticTokens';
|
|
7646
7739
|
SemanticTokensRegistrationType.type = new messages_1.RegistrationType(SemanticTokensRegistrationType.method);
|
|
7647
|
-
})(SemanticTokensRegistrationType
|
|
7740
|
+
})(SemanticTokensRegistrationType || (exports.SemanticTokensRegistrationType = SemanticTokensRegistrationType = {}));
|
|
7648
7741
|
/**
|
|
7649
7742
|
* @since 3.16.0
|
|
7650
7743
|
*/
|
|
@@ -7654,7 +7747,7 @@ var SemanticTokensRequest;
|
|
|
7654
7747
|
SemanticTokensRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7655
7748
|
SemanticTokensRequest.type = new messages_1.ProtocolRequestType(SemanticTokensRequest.method);
|
|
7656
7749
|
SemanticTokensRequest.registrationMethod = SemanticTokensRegistrationType.method;
|
|
7657
|
-
})(SemanticTokensRequest
|
|
7750
|
+
})(SemanticTokensRequest || (exports.SemanticTokensRequest = SemanticTokensRequest = {}));
|
|
7658
7751
|
/**
|
|
7659
7752
|
* @since 3.16.0
|
|
7660
7753
|
*/
|
|
@@ -7664,7 +7757,7 @@ var SemanticTokensDeltaRequest;
|
|
|
7664
7757
|
SemanticTokensDeltaRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7665
7758
|
SemanticTokensDeltaRequest.type = new messages_1.ProtocolRequestType(SemanticTokensDeltaRequest.method);
|
|
7666
7759
|
SemanticTokensDeltaRequest.registrationMethod = SemanticTokensRegistrationType.method;
|
|
7667
|
-
})(SemanticTokensDeltaRequest
|
|
7760
|
+
})(SemanticTokensDeltaRequest || (exports.SemanticTokensDeltaRequest = SemanticTokensDeltaRequest = {}));
|
|
7668
7761
|
/**
|
|
7669
7762
|
* @since 3.16.0
|
|
7670
7763
|
*/
|
|
@@ -7674,7 +7767,7 @@ var SemanticTokensRangeRequest;
|
|
|
7674
7767
|
SemanticTokensRangeRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7675
7768
|
SemanticTokensRangeRequest.type = new messages_1.ProtocolRequestType(SemanticTokensRangeRequest.method);
|
|
7676
7769
|
SemanticTokensRangeRequest.registrationMethod = SemanticTokensRegistrationType.method;
|
|
7677
|
-
})(SemanticTokensRangeRequest
|
|
7770
|
+
})(SemanticTokensRangeRequest || (exports.SemanticTokensRangeRequest = SemanticTokensRangeRequest = {}));
|
|
7678
7771
|
/**
|
|
7679
7772
|
* @since 3.16.0
|
|
7680
7773
|
*/
|
|
@@ -7683,7 +7776,7 @@ var SemanticTokensRefreshRequest;
|
|
|
7683
7776
|
SemanticTokensRefreshRequest.method = `workspace/semanticTokens/refresh`;
|
|
7684
7777
|
SemanticTokensRefreshRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
7685
7778
|
SemanticTokensRefreshRequest.type = new messages_1.ProtocolRequestType0(SemanticTokensRefreshRequest.method);
|
|
7686
|
-
})(SemanticTokensRefreshRequest
|
|
7779
|
+
})(SemanticTokensRefreshRequest || (exports.SemanticTokensRefreshRequest = SemanticTokensRefreshRequest = {}));
|
|
7687
7780
|
|
|
7688
7781
|
|
|
7689
7782
|
/***/ }),
|
|
@@ -7712,7 +7805,7 @@ var ShowDocumentRequest;
|
|
|
7712
7805
|
ShowDocumentRequest.method = 'window/showDocument';
|
|
7713
7806
|
ShowDocumentRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
7714
7807
|
ShowDocumentRequest.type = new messages_1.ProtocolRequestType(ShowDocumentRequest.method);
|
|
7715
|
-
})(ShowDocumentRequest
|
|
7808
|
+
})(ShowDocumentRequest || (exports.ShowDocumentRequest = ShowDocumentRequest = {}));
|
|
7716
7809
|
|
|
7717
7810
|
|
|
7718
7811
|
/***/ }),
|
|
@@ -7738,7 +7831,7 @@ var LinkedEditingRangeRequest;
|
|
|
7738
7831
|
LinkedEditingRangeRequest.method = 'textDocument/linkedEditingRange';
|
|
7739
7832
|
LinkedEditingRangeRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7740
7833
|
LinkedEditingRangeRequest.type = new messages_1.ProtocolRequestType(LinkedEditingRangeRequest.method);
|
|
7741
|
-
})(LinkedEditingRangeRequest
|
|
7834
|
+
})(LinkedEditingRangeRequest || (exports.LinkedEditingRangeRequest = LinkedEditingRangeRequest = {}));
|
|
7742
7835
|
|
|
7743
7836
|
|
|
7744
7837
|
/***/ }),
|
|
@@ -7770,7 +7863,7 @@ var FileOperationPatternKind;
|
|
|
7770
7863
|
* The pattern matches a folder only.
|
|
7771
7864
|
*/
|
|
7772
7865
|
FileOperationPatternKind.folder = 'folder';
|
|
7773
|
-
})(FileOperationPatternKind
|
|
7866
|
+
})(FileOperationPatternKind || (exports.FileOperationPatternKind = FileOperationPatternKind = {}));
|
|
7774
7867
|
/**
|
|
7775
7868
|
* The will create files request is sent from the client to the server before files are actually
|
|
7776
7869
|
* created as long as the creation is triggered from within the client.
|
|
@@ -7786,7 +7879,7 @@ var WillCreateFilesRequest;
|
|
|
7786
7879
|
WillCreateFilesRequest.method = 'workspace/willCreateFiles';
|
|
7787
7880
|
WillCreateFilesRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7788
7881
|
WillCreateFilesRequest.type = new messages_1.ProtocolRequestType(WillCreateFilesRequest.method);
|
|
7789
|
-
})(WillCreateFilesRequest
|
|
7882
|
+
})(WillCreateFilesRequest || (exports.WillCreateFilesRequest = WillCreateFilesRequest = {}));
|
|
7790
7883
|
/**
|
|
7791
7884
|
* The did create files notification is sent from the client to the server when
|
|
7792
7885
|
* files were created from within the client.
|
|
@@ -7798,7 +7891,7 @@ var DidCreateFilesNotification;
|
|
|
7798
7891
|
DidCreateFilesNotification.method = 'workspace/didCreateFiles';
|
|
7799
7892
|
DidCreateFilesNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7800
7893
|
DidCreateFilesNotification.type = new messages_1.ProtocolNotificationType(DidCreateFilesNotification.method);
|
|
7801
|
-
})(DidCreateFilesNotification
|
|
7894
|
+
})(DidCreateFilesNotification || (exports.DidCreateFilesNotification = DidCreateFilesNotification = {}));
|
|
7802
7895
|
/**
|
|
7803
7896
|
* The will rename files request is sent from the client to the server before files are actually
|
|
7804
7897
|
* renamed as long as the rename is triggered from within the client.
|
|
@@ -7810,7 +7903,7 @@ var WillRenameFilesRequest;
|
|
|
7810
7903
|
WillRenameFilesRequest.method = 'workspace/willRenameFiles';
|
|
7811
7904
|
WillRenameFilesRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7812
7905
|
WillRenameFilesRequest.type = new messages_1.ProtocolRequestType(WillRenameFilesRequest.method);
|
|
7813
|
-
})(WillRenameFilesRequest
|
|
7906
|
+
})(WillRenameFilesRequest || (exports.WillRenameFilesRequest = WillRenameFilesRequest = {}));
|
|
7814
7907
|
/**
|
|
7815
7908
|
* The did rename files notification is sent from the client to the server when
|
|
7816
7909
|
* files were renamed from within the client.
|
|
@@ -7822,7 +7915,7 @@ var DidRenameFilesNotification;
|
|
|
7822
7915
|
DidRenameFilesNotification.method = 'workspace/didRenameFiles';
|
|
7823
7916
|
DidRenameFilesNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7824
7917
|
DidRenameFilesNotification.type = new messages_1.ProtocolNotificationType(DidRenameFilesNotification.method);
|
|
7825
|
-
})(DidRenameFilesNotification
|
|
7918
|
+
})(DidRenameFilesNotification || (exports.DidRenameFilesNotification = DidRenameFilesNotification = {}));
|
|
7826
7919
|
/**
|
|
7827
7920
|
* The will delete files request is sent from the client to the server before files are actually
|
|
7828
7921
|
* deleted as long as the deletion is triggered from within the client.
|
|
@@ -7834,7 +7927,7 @@ var DidDeleteFilesNotification;
|
|
|
7834
7927
|
DidDeleteFilesNotification.method = 'workspace/didDeleteFiles';
|
|
7835
7928
|
DidDeleteFilesNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7836
7929
|
DidDeleteFilesNotification.type = new messages_1.ProtocolNotificationType(DidDeleteFilesNotification.method);
|
|
7837
|
-
})(DidDeleteFilesNotification
|
|
7930
|
+
})(DidDeleteFilesNotification || (exports.DidDeleteFilesNotification = DidDeleteFilesNotification = {}));
|
|
7838
7931
|
/**
|
|
7839
7932
|
* The did delete files notification is sent from the client to the server when
|
|
7840
7933
|
* files were deleted from within the client.
|
|
@@ -7846,7 +7939,7 @@ var WillDeleteFilesRequest;
|
|
|
7846
7939
|
WillDeleteFilesRequest.method = 'workspace/willDeleteFiles';
|
|
7847
7940
|
WillDeleteFilesRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7848
7941
|
WillDeleteFilesRequest.type = new messages_1.ProtocolRequestType(WillDeleteFilesRequest.method);
|
|
7849
|
-
})(WillDeleteFilesRequest
|
|
7942
|
+
})(WillDeleteFilesRequest || (exports.WillDeleteFilesRequest = WillDeleteFilesRequest = {}));
|
|
7850
7943
|
|
|
7851
7944
|
|
|
7852
7945
|
/***/ }),
|
|
@@ -7889,7 +7982,7 @@ var UniquenessLevel;
|
|
|
7889
7982
|
* The moniker is globally unique
|
|
7890
7983
|
*/
|
|
7891
7984
|
UniquenessLevel.global = 'global';
|
|
7892
|
-
})(UniquenessLevel
|
|
7985
|
+
})(UniquenessLevel || (exports.UniquenessLevel = UniquenessLevel = {}));
|
|
7893
7986
|
/**
|
|
7894
7987
|
* The moniker kind.
|
|
7895
7988
|
*
|
|
@@ -7910,7 +8003,7 @@ var MonikerKind;
|
|
|
7910
8003
|
* variable of a function, a class not visible outside the project, ...)
|
|
7911
8004
|
*/
|
|
7912
8005
|
MonikerKind.local = 'local';
|
|
7913
|
-
})(MonikerKind
|
|
8006
|
+
})(MonikerKind || (exports.MonikerKind = MonikerKind = {}));
|
|
7914
8007
|
/**
|
|
7915
8008
|
* A request to get the moniker of a symbol at a given text document position.
|
|
7916
8009
|
* The request parameter is of type {@link TextDocumentPositionParams}.
|
|
@@ -7921,7 +8014,7 @@ var MonikerRequest;
|
|
|
7921
8014
|
MonikerRequest.method = 'textDocument/moniker';
|
|
7922
8015
|
MonikerRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7923
8016
|
MonikerRequest.type = new messages_1.ProtocolRequestType(MonikerRequest.method);
|
|
7924
|
-
})(MonikerRequest
|
|
8017
|
+
})(MonikerRequest || (exports.MonikerRequest = MonikerRequest = {}));
|
|
7925
8018
|
|
|
7926
8019
|
|
|
7927
8020
|
/***/ }),
|
|
@@ -7948,7 +8041,7 @@ var TypeHierarchyPrepareRequest;
|
|
|
7948
8041
|
TypeHierarchyPrepareRequest.method = 'textDocument/prepareTypeHierarchy';
|
|
7949
8042
|
TypeHierarchyPrepareRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7950
8043
|
TypeHierarchyPrepareRequest.type = new messages_1.ProtocolRequestType(TypeHierarchyPrepareRequest.method);
|
|
7951
|
-
})(TypeHierarchyPrepareRequest
|
|
8044
|
+
})(TypeHierarchyPrepareRequest || (exports.TypeHierarchyPrepareRequest = TypeHierarchyPrepareRequest = {}));
|
|
7952
8045
|
/**
|
|
7953
8046
|
* A request to resolve the supertypes for a given `TypeHierarchyItem`.
|
|
7954
8047
|
*
|
|
@@ -7959,7 +8052,7 @@ var TypeHierarchySupertypesRequest;
|
|
|
7959
8052
|
TypeHierarchySupertypesRequest.method = 'typeHierarchy/supertypes';
|
|
7960
8053
|
TypeHierarchySupertypesRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7961
8054
|
TypeHierarchySupertypesRequest.type = new messages_1.ProtocolRequestType(TypeHierarchySupertypesRequest.method);
|
|
7962
|
-
})(TypeHierarchySupertypesRequest
|
|
8055
|
+
})(TypeHierarchySupertypesRequest || (exports.TypeHierarchySupertypesRequest = TypeHierarchySupertypesRequest = {}));
|
|
7963
8056
|
/**
|
|
7964
8057
|
* A request to resolve the subtypes for a given `TypeHierarchyItem`.
|
|
7965
8058
|
*
|
|
@@ -7970,7 +8063,7 @@ var TypeHierarchySubtypesRequest;
|
|
|
7970
8063
|
TypeHierarchySubtypesRequest.method = 'typeHierarchy/subtypes';
|
|
7971
8064
|
TypeHierarchySubtypesRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7972
8065
|
TypeHierarchySubtypesRequest.type = new messages_1.ProtocolRequestType(TypeHierarchySubtypesRequest.method);
|
|
7973
|
-
})(TypeHierarchySubtypesRequest
|
|
8066
|
+
})(TypeHierarchySubtypesRequest || (exports.TypeHierarchySubtypesRequest = TypeHierarchySubtypesRequest = {}));
|
|
7974
8067
|
|
|
7975
8068
|
|
|
7976
8069
|
/***/ }),
|
|
@@ -7998,7 +8091,7 @@ var InlineValueRequest;
|
|
|
7998
8091
|
InlineValueRequest.method = 'textDocument/inlineValue';
|
|
7999
8092
|
InlineValueRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
8000
8093
|
InlineValueRequest.type = new messages_1.ProtocolRequestType(InlineValueRequest.method);
|
|
8001
|
-
})(InlineValueRequest
|
|
8094
|
+
})(InlineValueRequest || (exports.InlineValueRequest = InlineValueRequest = {}));
|
|
8002
8095
|
/**
|
|
8003
8096
|
* @since 3.17.0
|
|
8004
8097
|
*/
|
|
@@ -8007,7 +8100,7 @@ var InlineValueRefreshRequest;
|
|
|
8007
8100
|
InlineValueRefreshRequest.method = `workspace/inlineValue/refresh`;
|
|
8008
8101
|
InlineValueRefreshRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
8009
8102
|
InlineValueRefreshRequest.type = new messages_1.ProtocolRequestType0(InlineValueRefreshRequest.method);
|
|
8010
|
-
})(InlineValueRefreshRequest
|
|
8103
|
+
})(InlineValueRefreshRequest || (exports.InlineValueRefreshRequest = InlineValueRefreshRequest = {}));
|
|
8011
8104
|
|
|
8012
8105
|
|
|
8013
8106
|
/***/ }),
|
|
@@ -8035,7 +8128,7 @@ var InlayHintRequest;
|
|
|
8035
8128
|
InlayHintRequest.method = 'textDocument/inlayHint';
|
|
8036
8129
|
InlayHintRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
8037
8130
|
InlayHintRequest.type = new messages_1.ProtocolRequestType(InlayHintRequest.method);
|
|
8038
|
-
})(InlayHintRequest
|
|
8131
|
+
})(InlayHintRequest || (exports.InlayHintRequest = InlayHintRequest = {}));
|
|
8039
8132
|
/**
|
|
8040
8133
|
* A request to resolve additional properties for an inlay hint.
|
|
8041
8134
|
* The request's parameter is of type {@link InlayHint}, the response is
|
|
@@ -8048,7 +8141,7 @@ var InlayHintResolveRequest;
|
|
|
8048
8141
|
InlayHintResolveRequest.method = 'inlayHint/resolve';
|
|
8049
8142
|
InlayHintResolveRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
8050
8143
|
InlayHintResolveRequest.type = new messages_1.ProtocolRequestType(InlayHintResolveRequest.method);
|
|
8051
|
-
})(InlayHintResolveRequest
|
|
8144
|
+
})(InlayHintResolveRequest || (exports.InlayHintResolveRequest = InlayHintResolveRequest = {}));
|
|
8052
8145
|
/**
|
|
8053
8146
|
* @since 3.17.0
|
|
8054
8147
|
*/
|
|
@@ -8057,7 +8150,7 @@ var InlayHintRefreshRequest;
|
|
|
8057
8150
|
InlayHintRefreshRequest.method = `workspace/inlayHint/refresh`;
|
|
8058
8151
|
InlayHintRefreshRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
8059
8152
|
InlayHintRefreshRequest.type = new messages_1.ProtocolRequestType0(InlayHintRefreshRequest.method);
|
|
8060
|
-
})(InlayHintRefreshRequest
|
|
8153
|
+
})(InlayHintRefreshRequest || (exports.InlayHintRefreshRequest = InlayHintRefreshRequest = {}));
|
|
8061
8154
|
|
|
8062
8155
|
|
|
8063
8156
|
/***/ }),
|
|
@@ -8085,7 +8178,7 @@ var DiagnosticServerCancellationData;
|
|
|
8085
8178
|
return candidate && Is.boolean(candidate.retriggerRequest);
|
|
8086
8179
|
}
|
|
8087
8180
|
DiagnosticServerCancellationData.is = is;
|
|
8088
|
-
})(DiagnosticServerCancellationData
|
|
8181
|
+
})(DiagnosticServerCancellationData || (exports.DiagnosticServerCancellationData = DiagnosticServerCancellationData = {}));
|
|
8089
8182
|
/**
|
|
8090
8183
|
* The document diagnostic report kinds.
|
|
8091
8184
|
*
|
|
@@ -8103,7 +8196,7 @@ var DocumentDiagnosticReportKind;
|
|
|
8103
8196
|
* returned report is still accurate.
|
|
8104
8197
|
*/
|
|
8105
8198
|
DocumentDiagnosticReportKind.Unchanged = 'unchanged';
|
|
8106
|
-
})(DocumentDiagnosticReportKind
|
|
8199
|
+
})(DocumentDiagnosticReportKind || (exports.DocumentDiagnosticReportKind = DocumentDiagnosticReportKind = {}));
|
|
8107
8200
|
/**
|
|
8108
8201
|
* The document diagnostic request definition.
|
|
8109
8202
|
*
|
|
@@ -8115,7 +8208,7 @@ var DocumentDiagnosticRequest;
|
|
|
8115
8208
|
DocumentDiagnosticRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
8116
8209
|
DocumentDiagnosticRequest.type = new messages_1.ProtocolRequestType(DocumentDiagnosticRequest.method);
|
|
8117
8210
|
DocumentDiagnosticRequest.partialResult = new vscode_jsonrpc_1.ProgressType();
|
|
8118
|
-
})(DocumentDiagnosticRequest
|
|
8211
|
+
})(DocumentDiagnosticRequest || (exports.DocumentDiagnosticRequest = DocumentDiagnosticRequest = {}));
|
|
8119
8212
|
/**
|
|
8120
8213
|
* The workspace diagnostic request definition.
|
|
8121
8214
|
*
|
|
@@ -8127,7 +8220,7 @@ var WorkspaceDiagnosticRequest;
|
|
|
8127
8220
|
WorkspaceDiagnosticRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
8128
8221
|
WorkspaceDiagnosticRequest.type = new messages_1.ProtocolRequestType(WorkspaceDiagnosticRequest.method);
|
|
8129
8222
|
WorkspaceDiagnosticRequest.partialResult = new vscode_jsonrpc_1.ProgressType();
|
|
8130
|
-
})(WorkspaceDiagnosticRequest
|
|
8223
|
+
})(WorkspaceDiagnosticRequest || (exports.WorkspaceDiagnosticRequest = WorkspaceDiagnosticRequest = {}));
|
|
8131
8224
|
/**
|
|
8132
8225
|
* The diagnostic refresh request definition.
|
|
8133
8226
|
*
|
|
@@ -8138,7 +8231,7 @@ var DiagnosticRefreshRequest;
|
|
|
8138
8231
|
DiagnosticRefreshRequest.method = `workspace/diagnostic/refresh`;
|
|
8139
8232
|
DiagnosticRefreshRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
8140
8233
|
DiagnosticRefreshRequest.type = new messages_1.ProtocolRequestType0(DiagnosticRefreshRequest.method);
|
|
8141
|
-
})(DiagnosticRefreshRequest
|
|
8234
|
+
})(DiagnosticRefreshRequest || (exports.DiagnosticRefreshRequest = DiagnosticRefreshRequest = {}));
|
|
8142
8235
|
|
|
8143
8236
|
|
|
8144
8237
|
/***/ }),
|
|
@@ -8175,7 +8268,7 @@ var NotebookCellKind;
|
|
|
8175
8268
|
return value === 1 || value === 2;
|
|
8176
8269
|
}
|
|
8177
8270
|
NotebookCellKind.is = is;
|
|
8178
|
-
})(NotebookCellKind
|
|
8271
|
+
})(NotebookCellKind || (exports.NotebookCellKind = NotebookCellKind = {}));
|
|
8179
8272
|
var ExecutionSummary;
|
|
8180
8273
|
(function (ExecutionSummary) {
|
|
8181
8274
|
function create(executionOrder, success) {
|
|
@@ -8201,7 +8294,7 @@ var ExecutionSummary;
|
|
|
8201
8294
|
return one.executionOrder === other.executionOrder && one.success === other.success;
|
|
8202
8295
|
}
|
|
8203
8296
|
ExecutionSummary.equals = equals;
|
|
8204
|
-
})(ExecutionSummary
|
|
8297
|
+
})(ExecutionSummary || (exports.ExecutionSummary = ExecutionSummary = {}));
|
|
8205
8298
|
var NotebookCell;
|
|
8206
8299
|
(function (NotebookCell) {
|
|
8207
8300
|
function create(kind, document) {
|
|
@@ -8282,7 +8375,7 @@ var NotebookCell;
|
|
|
8282
8375
|
}
|
|
8283
8376
|
return true;
|
|
8284
8377
|
}
|
|
8285
|
-
})(NotebookCell
|
|
8378
|
+
})(NotebookCell || (exports.NotebookCell = NotebookCell = {}));
|
|
8286
8379
|
var NotebookDocument;
|
|
8287
8380
|
(function (NotebookDocument) {
|
|
8288
8381
|
function create(uri, notebookType, version, cells) {
|
|
@@ -8294,13 +8387,13 @@ var NotebookDocument;
|
|
|
8294
8387
|
return Is.objectLiteral(candidate) && Is.string(candidate.uri) && vscode_languageserver_types_1.integer.is(candidate.version) && Is.typedArray(candidate.cells, NotebookCell.is);
|
|
8295
8388
|
}
|
|
8296
8389
|
NotebookDocument.is = is;
|
|
8297
|
-
})(NotebookDocument
|
|
8390
|
+
})(NotebookDocument || (exports.NotebookDocument = NotebookDocument = {}));
|
|
8298
8391
|
var NotebookDocumentSyncRegistrationType;
|
|
8299
8392
|
(function (NotebookDocumentSyncRegistrationType) {
|
|
8300
8393
|
NotebookDocumentSyncRegistrationType.method = 'notebookDocument/sync';
|
|
8301
8394
|
NotebookDocumentSyncRegistrationType.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
8302
8395
|
NotebookDocumentSyncRegistrationType.type = new messages_1.RegistrationType(NotebookDocumentSyncRegistrationType.method);
|
|
8303
|
-
})(NotebookDocumentSyncRegistrationType
|
|
8396
|
+
})(NotebookDocumentSyncRegistrationType || (exports.NotebookDocumentSyncRegistrationType = NotebookDocumentSyncRegistrationType = {}));
|
|
8304
8397
|
/**
|
|
8305
8398
|
* A notification sent when a notebook opens.
|
|
8306
8399
|
*
|
|
@@ -8312,7 +8405,7 @@ var DidOpenNotebookDocumentNotification;
|
|
|
8312
8405
|
DidOpenNotebookDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
8313
8406
|
DidOpenNotebookDocumentNotification.type = new messages_1.ProtocolNotificationType(DidOpenNotebookDocumentNotification.method);
|
|
8314
8407
|
DidOpenNotebookDocumentNotification.registrationMethod = NotebookDocumentSyncRegistrationType.method;
|
|
8315
|
-
})(DidOpenNotebookDocumentNotification
|
|
8408
|
+
})(DidOpenNotebookDocumentNotification || (exports.DidOpenNotebookDocumentNotification = DidOpenNotebookDocumentNotification = {}));
|
|
8316
8409
|
var NotebookCellArrayChange;
|
|
8317
8410
|
(function (NotebookCellArrayChange) {
|
|
8318
8411
|
function is(value) {
|
|
@@ -8328,14 +8421,14 @@ var NotebookCellArrayChange;
|
|
|
8328
8421
|
return result;
|
|
8329
8422
|
}
|
|
8330
8423
|
NotebookCellArrayChange.create = create;
|
|
8331
|
-
})(NotebookCellArrayChange
|
|
8424
|
+
})(NotebookCellArrayChange || (exports.NotebookCellArrayChange = NotebookCellArrayChange = {}));
|
|
8332
8425
|
var DidChangeNotebookDocumentNotification;
|
|
8333
8426
|
(function (DidChangeNotebookDocumentNotification) {
|
|
8334
8427
|
DidChangeNotebookDocumentNotification.method = 'notebookDocument/didChange';
|
|
8335
8428
|
DidChangeNotebookDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
8336
8429
|
DidChangeNotebookDocumentNotification.type = new messages_1.ProtocolNotificationType(DidChangeNotebookDocumentNotification.method);
|
|
8337
8430
|
DidChangeNotebookDocumentNotification.registrationMethod = NotebookDocumentSyncRegistrationType.method;
|
|
8338
|
-
})(DidChangeNotebookDocumentNotification
|
|
8431
|
+
})(DidChangeNotebookDocumentNotification || (exports.DidChangeNotebookDocumentNotification = DidChangeNotebookDocumentNotification = {}));
|
|
8339
8432
|
/**
|
|
8340
8433
|
* A notification sent when a notebook document is saved.
|
|
8341
8434
|
*
|
|
@@ -8347,7 +8440,7 @@ var DidSaveNotebookDocumentNotification;
|
|
|
8347
8440
|
DidSaveNotebookDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
8348
8441
|
DidSaveNotebookDocumentNotification.type = new messages_1.ProtocolNotificationType(DidSaveNotebookDocumentNotification.method);
|
|
8349
8442
|
DidSaveNotebookDocumentNotification.registrationMethod = NotebookDocumentSyncRegistrationType.method;
|
|
8350
|
-
})(DidSaveNotebookDocumentNotification
|
|
8443
|
+
})(DidSaveNotebookDocumentNotification || (exports.DidSaveNotebookDocumentNotification = DidSaveNotebookDocumentNotification = {}));
|
|
8351
8444
|
/**
|
|
8352
8445
|
* A notification sent when a notebook closes.
|
|
8353
8446
|
*
|
|
@@ -8359,7 +8452,7 @@ var DidCloseNotebookDocumentNotification;
|
|
|
8359
8452
|
DidCloseNotebookDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
8360
8453
|
DidCloseNotebookDocumentNotification.type = new messages_1.ProtocolNotificationType(DidCloseNotebookDocumentNotification.method);
|
|
8361
8454
|
DidCloseNotebookDocumentNotification.registrationMethod = NotebookDocumentSyncRegistrationType.method;
|
|
8362
|
-
})(DidCloseNotebookDocumentNotification
|
|
8455
|
+
})(DidCloseNotebookDocumentNotification || (exports.DidCloseNotebookDocumentNotification = DidCloseNotebookDocumentNotification = {}));
|
|
8363
8456
|
|
|
8364
8457
|
|
|
8365
8458
|
/***/ }),
|
|
@@ -8368,6 +8461,35 @@ var DidCloseNotebookDocumentNotification;
|
|
|
8368
8461
|
|
|
8369
8462
|
"use strict";
|
|
8370
8463
|
|
|
8464
|
+
/*---------------------------------------------------------------------------------------------
|
|
8465
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8466
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
8467
|
+
*--------------------------------------------------------------------------------------------*/
|
|
8468
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8469
|
+
exports.InlineCompletionRequest = void 0;
|
|
8470
|
+
const messages_1 = __webpack_require__(25);
|
|
8471
|
+
/**
|
|
8472
|
+
* A request to provide inline completions in a document. The request's parameter is of
|
|
8473
|
+
* type {@link InlineCompletionParams}, the response is of type
|
|
8474
|
+
* {@link InlineCompletion InlineCompletion[]} or a Thenable that resolves to such.
|
|
8475
|
+
*
|
|
8476
|
+
* @since 3.18.0
|
|
8477
|
+
* @proposed
|
|
8478
|
+
*/
|
|
8479
|
+
var InlineCompletionRequest;
|
|
8480
|
+
(function (InlineCompletionRequest) {
|
|
8481
|
+
InlineCompletionRequest.method = 'textDocument/inlineCompletion';
|
|
8482
|
+
InlineCompletionRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
8483
|
+
InlineCompletionRequest.type = new messages_1.ProtocolRequestType(InlineCompletionRequest.method);
|
|
8484
|
+
})(InlineCompletionRequest || (exports.InlineCompletionRequest = InlineCompletionRequest = {}));
|
|
8485
|
+
|
|
8486
|
+
|
|
8487
|
+
/***/ }),
|
|
8488
|
+
/* 49 */
|
|
8489
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
8490
|
+
|
|
8491
|
+
"use strict";
|
|
8492
|
+
|
|
8371
8493
|
/* --------------------------------------------------------------------------------------------
|
|
8372
8494
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8373
8495
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
@@ -8385,7 +8507,7 @@ exports.createProtocolConnection = createProtocolConnection;
|
|
|
8385
8507
|
|
|
8386
8508
|
|
|
8387
8509
|
/***/ }),
|
|
8388
|
-
/*
|
|
8510
|
+
/* 50 */
|
|
8389
8511
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
8390
8512
|
|
|
8391
8513
|
"use strict";
|
|
@@ -8398,8 +8520,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
8398
8520
|
exports.WorkspaceFeature = exports.TextDocumentLanguageFeature = exports.TextDocumentEventFeature = exports.DynamicDocumentFeature = exports.DynamicFeature = exports.StaticFeature = exports.ensure = exports.LSPCancellationError = void 0;
|
|
8399
8521
|
const vscode_1 = __webpack_require__(1);
|
|
8400
8522
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
8401
|
-
const Is = __webpack_require__(
|
|
8402
|
-
const UUID = __webpack_require__(
|
|
8523
|
+
const Is = __webpack_require__(51);
|
|
8524
|
+
const UUID = __webpack_require__(52);
|
|
8403
8525
|
class LSPCancellationError extends vscode_1.CancellationError {
|
|
8404
8526
|
constructor(data) {
|
|
8405
8527
|
super();
|
|
@@ -8419,22 +8541,22 @@ var StaticFeature;
|
|
|
8419
8541
|
function is(value) {
|
|
8420
8542
|
const candidate = value;
|
|
8421
8543
|
return candidate !== undefined && candidate !== null &&
|
|
8422
|
-
Is.func(candidate.fillClientCapabilities) && Is.func(candidate.initialize) && Is.func(candidate.getState) && Is.func(candidate.
|
|
8544
|
+
Is.func(candidate.fillClientCapabilities) && Is.func(candidate.initialize) && Is.func(candidate.getState) && Is.func(candidate.clear) &&
|
|
8423
8545
|
(candidate.fillInitializeParams === undefined || Is.func(candidate.fillInitializeParams));
|
|
8424
8546
|
}
|
|
8425
8547
|
StaticFeature.is = is;
|
|
8426
|
-
})(StaticFeature
|
|
8548
|
+
})(StaticFeature || (exports.StaticFeature = StaticFeature = {}));
|
|
8427
8549
|
var DynamicFeature;
|
|
8428
8550
|
(function (DynamicFeature) {
|
|
8429
8551
|
function is(value) {
|
|
8430
8552
|
const candidate = value;
|
|
8431
8553
|
return candidate !== undefined && candidate !== null &&
|
|
8432
|
-
Is.func(candidate.fillClientCapabilities) && Is.func(candidate.initialize) && Is.func(candidate.getState) && Is.func(candidate.
|
|
8554
|
+
Is.func(candidate.fillClientCapabilities) && Is.func(candidate.initialize) && Is.func(candidate.getState) && Is.func(candidate.clear) &&
|
|
8433
8555
|
(candidate.fillInitializeParams === undefined || Is.func(candidate.fillInitializeParams)) && Is.func(candidate.register) &&
|
|
8434
8556
|
Is.func(candidate.unregister) && candidate.registrationType !== undefined;
|
|
8435
8557
|
}
|
|
8436
8558
|
DynamicFeature.is = is;
|
|
8437
|
-
})(DynamicFeature
|
|
8559
|
+
})(DynamicFeature || (exports.DynamicFeature = DynamicFeature = {}));
|
|
8438
8560
|
/**
|
|
8439
8561
|
* An abstract dynamic feature implementation that operates on documents (e.g. text
|
|
8440
8562
|
* documents or notebooks).
|
|
@@ -8467,6 +8589,14 @@ exports.DynamicDocumentFeature = DynamicDocumentFeature;
|
|
|
8467
8589
|
* emitted from text documents.
|
|
8468
8590
|
*/
|
|
8469
8591
|
class TextDocumentEventFeature extends DynamicDocumentFeature {
|
|
8592
|
+
static textDocumentFilter(selectors, textDocument) {
|
|
8593
|
+
for (const selector of selectors) {
|
|
8594
|
+
if (vscode_1.languages.match(selector, textDocument) > 0) {
|
|
8595
|
+
return true;
|
|
8596
|
+
}
|
|
8597
|
+
}
|
|
8598
|
+
return false;
|
|
8599
|
+
}
|
|
8470
8600
|
constructor(client, event, type, middleware, createParams, textDocument, selectorFilter) {
|
|
8471
8601
|
super(client);
|
|
8472
8602
|
this._event = event;
|
|
@@ -8478,14 +8608,6 @@ class TextDocumentEventFeature extends DynamicDocumentFeature {
|
|
|
8478
8608
|
this._selectors = new Map();
|
|
8479
8609
|
this._onNotificationSent = new vscode_1.EventEmitter();
|
|
8480
8610
|
}
|
|
8481
|
-
static textDocumentFilter(selectors, textDocument) {
|
|
8482
|
-
for (const selector of selectors) {
|
|
8483
|
-
if (vscode_1.languages.match(selector, textDocument) > 0) {
|
|
8484
|
-
return true;
|
|
8485
|
-
}
|
|
8486
|
-
}
|
|
8487
|
-
return false;
|
|
8488
|
-
}
|
|
8489
8611
|
getStateInfo() {
|
|
8490
8612
|
return [this._selectors.values(), false];
|
|
8491
8613
|
}
|
|
@@ -8535,7 +8657,7 @@ class TextDocumentEventFeature extends DynamicDocumentFeature {
|
|
|
8535
8657
|
this._listener = undefined;
|
|
8536
8658
|
}
|
|
8537
8659
|
}
|
|
8538
|
-
|
|
8660
|
+
clear() {
|
|
8539
8661
|
this._selectors.clear();
|
|
8540
8662
|
this._onNotificationSent.dispose();
|
|
8541
8663
|
if (this._listener) {
|
|
@@ -8592,7 +8714,7 @@ class TextDocumentLanguageFeature extends DynamicDocumentFeature {
|
|
|
8592
8714
|
registration.disposable.dispose();
|
|
8593
8715
|
}
|
|
8594
8716
|
}
|
|
8595
|
-
|
|
8717
|
+
clear() {
|
|
8596
8718
|
this._registrations.forEach((value) => {
|
|
8597
8719
|
value.disposable.dispose();
|
|
8598
8720
|
});
|
|
@@ -8665,7 +8787,7 @@ class WorkspaceFeature {
|
|
|
8665
8787
|
registration.disposable.dispose();
|
|
8666
8788
|
}
|
|
8667
8789
|
}
|
|
8668
|
-
|
|
8790
|
+
clear() {
|
|
8669
8791
|
this._registrations.forEach((registration) => {
|
|
8670
8792
|
registration.disposable.dispose();
|
|
8671
8793
|
});
|
|
@@ -8683,7 +8805,7 @@ exports.WorkspaceFeature = WorkspaceFeature;
|
|
|
8683
8805
|
|
|
8684
8806
|
|
|
8685
8807
|
/***/ }),
|
|
8686
|
-
/*
|
|
8808
|
+
/* 51 */
|
|
8687
8809
|
/***/ ((__unused_webpack_module, exports) => {
|
|
8688
8810
|
|
|
8689
8811
|
"use strict";
|
|
@@ -8747,7 +8869,7 @@ exports.asPromise = asPromise;
|
|
|
8747
8869
|
|
|
8748
8870
|
|
|
8749
8871
|
/***/ }),
|
|
8750
|
-
/*
|
|
8872
|
+
/* 52 */
|
|
8751
8873
|
/***/ ((__unused_webpack_module, exports) => {
|
|
8752
8874
|
|
|
8753
8875
|
"use strict";
|
|
@@ -8771,6 +8893,12 @@ class ValueUUID {
|
|
|
8771
8893
|
}
|
|
8772
8894
|
}
|
|
8773
8895
|
class V4UUID extends ValueUUID {
|
|
8896
|
+
static _oneOf(array) {
|
|
8897
|
+
return array[Math.floor(array.length * Math.random())];
|
|
8898
|
+
}
|
|
8899
|
+
static _randomHex() {
|
|
8900
|
+
return V4UUID._oneOf(V4UUID._chars);
|
|
8901
|
+
}
|
|
8774
8902
|
constructor() {
|
|
8775
8903
|
super([
|
|
8776
8904
|
V4UUID._randomHex(),
|
|
@@ -8811,12 +8939,6 @@ class V4UUID extends ValueUUID {
|
|
|
8811
8939
|
V4UUID._randomHex(),
|
|
8812
8940
|
].join(''));
|
|
8813
8941
|
}
|
|
8814
|
-
static _oneOf(array) {
|
|
8815
|
-
return array[Math.floor(array.length * Math.random())];
|
|
8816
|
-
}
|
|
8817
|
-
static _randomHex() {
|
|
8818
|
-
return V4UUID._oneOf(V4UUID._chars);
|
|
8819
|
-
}
|
|
8820
8942
|
}
|
|
8821
8943
|
V4UUID._chars = ['0', '1', '2', '3', '4', '5', '6', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'];
|
|
8822
8944
|
V4UUID._timeHighBits = ['8', '9', 'a', 'b'];
|
|
@@ -8851,7 +8973,7 @@ exports.generateUuid = generateUuid;
|
|
|
8851
8973
|
|
|
8852
8974
|
|
|
8853
8975
|
/***/ }),
|
|
8854
|
-
/*
|
|
8976
|
+
/* 53 */
|
|
8855
8977
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
8856
8978
|
|
|
8857
8979
|
"use strict";
|
|
@@ -8862,11 +8984,11 @@ exports.generateUuid = generateUuid;
|
|
|
8862
8984
|
* ------------------------------------------------------------------------------------------ */
|
|
8863
8985
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8864
8986
|
exports.DiagnosticFeature = exports.DiagnosticPullMode = exports.vsdiag = void 0;
|
|
8865
|
-
const minimatch = __webpack_require__(
|
|
8987
|
+
const minimatch = __webpack_require__(54);
|
|
8866
8988
|
const vscode_1 = __webpack_require__(1);
|
|
8867
8989
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
8868
|
-
const uuid_1 = __webpack_require__(
|
|
8869
|
-
const features_1 = __webpack_require__(
|
|
8990
|
+
const uuid_1 = __webpack_require__(52);
|
|
8991
|
+
const features_1 = __webpack_require__(50);
|
|
8870
8992
|
function ensure(target, key) {
|
|
8871
8993
|
if (target[key] === void 0) {
|
|
8872
8994
|
target[key] = {};
|
|
@@ -8880,12 +9002,12 @@ var vsdiag;
|
|
|
8880
9002
|
DocumentDiagnosticReportKind["full"] = "full";
|
|
8881
9003
|
DocumentDiagnosticReportKind["unChanged"] = "unChanged";
|
|
8882
9004
|
})(DocumentDiagnosticReportKind = vsdiag.DocumentDiagnosticReportKind || (vsdiag.DocumentDiagnosticReportKind = {}));
|
|
8883
|
-
})(vsdiag
|
|
9005
|
+
})(vsdiag || (exports.vsdiag = vsdiag = {}));
|
|
8884
9006
|
var DiagnosticPullMode;
|
|
8885
9007
|
(function (DiagnosticPullMode) {
|
|
8886
9008
|
DiagnosticPullMode["onType"] = "onType";
|
|
8887
9009
|
DiagnosticPullMode["onSave"] = "onSave";
|
|
8888
|
-
})(DiagnosticPullMode
|
|
9010
|
+
})(DiagnosticPullMode || (exports.DiagnosticPullMode = DiagnosticPullMode = {}));
|
|
8889
9011
|
var RequestStateKind;
|
|
8890
9012
|
(function (RequestStateKind) {
|
|
8891
9013
|
RequestStateKind["active"] = "open";
|
|
@@ -9525,6 +9647,33 @@ class DiagnosticFeatureProviderImpl {
|
|
|
9525
9647
|
this.diagnosticRequestor.pull(textDocument, () => { addToBackgroundIfNeeded(textDocument); });
|
|
9526
9648
|
}
|
|
9527
9649
|
}));
|
|
9650
|
+
disposables.push(tabs.onOpen((opened) => {
|
|
9651
|
+
for (const resource of opened) {
|
|
9652
|
+
// We already know about this document. This can happen via a document open.
|
|
9653
|
+
if (this.diagnosticRequestor.knows(PullState.document, resource)) {
|
|
9654
|
+
continue;
|
|
9655
|
+
}
|
|
9656
|
+
const uriStr = resource.toString();
|
|
9657
|
+
let textDocument;
|
|
9658
|
+
for (const item of vscode_1.workspace.textDocuments) {
|
|
9659
|
+
if (uriStr === item.uri.toString()) {
|
|
9660
|
+
textDocument = item;
|
|
9661
|
+
break;
|
|
9662
|
+
}
|
|
9663
|
+
}
|
|
9664
|
+
// In VS Code the event timing is as follows:
|
|
9665
|
+
// 1. tab events are fired.
|
|
9666
|
+
// 2. open document events are fired and internal data structures like
|
|
9667
|
+
// workspace.textDocuments and Window.activeTextEditor are updated.
|
|
9668
|
+
//
|
|
9669
|
+
// This means: for newly created tab/editors we don't find the underlying
|
|
9670
|
+
// document yet. So we do nothing an rely on the underlying open document event
|
|
9671
|
+
// to be fired.
|
|
9672
|
+
if (textDocument !== undefined && matches(textDocument)) {
|
|
9673
|
+
this.diagnosticRequestor.pull(textDocument, () => { addToBackgroundIfNeeded(textDocument); });
|
|
9674
|
+
}
|
|
9675
|
+
}
|
|
9676
|
+
}));
|
|
9528
9677
|
// Pull all diagnostics for documents that are already open
|
|
9529
9678
|
const pulledTextDocuments = new Set();
|
|
9530
9679
|
for (const textDocument of vscode_1.workspace.textDocuments) {
|
|
@@ -9626,12 +9775,12 @@ class DiagnosticFeature extends features_1.TextDocumentLanguageFeature {
|
|
|
9626
9775
|
}
|
|
9627
9776
|
this.register({ id: id, registerOptions: options });
|
|
9628
9777
|
}
|
|
9629
|
-
|
|
9778
|
+
clear() {
|
|
9630
9779
|
if (this.tabs !== undefined) {
|
|
9631
9780
|
this.tabs.dispose();
|
|
9632
9781
|
this.tabs = undefined;
|
|
9633
9782
|
}
|
|
9634
|
-
super.
|
|
9783
|
+
super.clear();
|
|
9635
9784
|
}
|
|
9636
9785
|
registerLanguageProvider(options) {
|
|
9637
9786
|
if (this.tabs === undefined) {
|
|
@@ -9645,7 +9794,7 @@ exports.DiagnosticFeature = DiagnosticFeature;
|
|
|
9645
9794
|
|
|
9646
9795
|
|
|
9647
9796
|
/***/ }),
|
|
9648
|
-
/*
|
|
9797
|
+
/* 54 */
|
|
9649
9798
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
9650
9799
|
|
|
9651
9800
|
const minimatch = module.exports = (p, pattern, options = {}) => {
|
|
@@ -9661,12 +9810,12 @@ const minimatch = module.exports = (p, pattern, options = {}) => {
|
|
|
9661
9810
|
|
|
9662
9811
|
module.exports = minimatch
|
|
9663
9812
|
|
|
9664
|
-
const path = __webpack_require__(
|
|
9813
|
+
const path = __webpack_require__(55)
|
|
9665
9814
|
minimatch.sep = path.sep
|
|
9666
9815
|
|
|
9667
9816
|
const GLOBSTAR = Symbol('globstar **')
|
|
9668
9817
|
minimatch.GLOBSTAR = GLOBSTAR
|
|
9669
|
-
const expand = __webpack_require__(
|
|
9818
|
+
const expand = __webpack_require__(56)
|
|
9670
9819
|
|
|
9671
9820
|
const plTypes = {
|
|
9672
9821
|
'!': { open: '(?:(?!(?:', close: '))[^/]*?)'},
|
|
@@ -10557,7 +10706,7 @@ minimatch.Minimatch = Minimatch
|
|
|
10557
10706
|
|
|
10558
10707
|
|
|
10559
10708
|
/***/ }),
|
|
10560
|
-
/*
|
|
10709
|
+
/* 55 */
|
|
10561
10710
|
/***/ ((module) => {
|
|
10562
10711
|
|
|
10563
10712
|
const isWindows = typeof process === 'object' &&
|
|
@@ -10567,10 +10716,10 @@ module.exports = isWindows ? { sep: '\\' } : { sep: '/' }
|
|
|
10567
10716
|
|
|
10568
10717
|
|
|
10569
10718
|
/***/ }),
|
|
10570
|
-
/*
|
|
10719
|
+
/* 56 */
|
|
10571
10720
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
10572
10721
|
|
|
10573
|
-
var balanced = __webpack_require__(
|
|
10722
|
+
var balanced = __webpack_require__(57);
|
|
10574
10723
|
|
|
10575
10724
|
module.exports = expandTop;
|
|
10576
10725
|
|
|
@@ -10776,7 +10925,7 @@ function expand(str, isTop) {
|
|
|
10776
10925
|
|
|
10777
10926
|
|
|
10778
10927
|
/***/ }),
|
|
10779
|
-
/*
|
|
10928
|
+
/* 57 */
|
|
10780
10929
|
/***/ ((module) => {
|
|
10781
10930
|
|
|
10782
10931
|
"use strict";
|
|
@@ -10842,7 +10991,7 @@ function range(a, b, str) {
|
|
|
10842
10991
|
|
|
10843
10992
|
|
|
10844
10993
|
/***/ }),
|
|
10845
|
-
/*
|
|
10994
|
+
/* 58 */
|
|
10846
10995
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
10847
10996
|
|
|
10848
10997
|
"use strict";
|
|
@@ -10855,47 +11004,48 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
10855
11004
|
exports.ProposedFeatures = exports.BaseLanguageClient = exports.MessageTransports = exports.SuspendMode = exports.State = exports.CloseAction = exports.ErrorAction = exports.RevealOutputChannelOn = void 0;
|
|
10856
11005
|
const vscode_1 = __webpack_require__(1);
|
|
10857
11006
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
10858
|
-
const c2p = __webpack_require__(
|
|
10859
|
-
const p2c = __webpack_require__(
|
|
10860
|
-
const Is = __webpack_require__(
|
|
10861
|
-
const async_1 = __webpack_require__(
|
|
10862
|
-
const UUID = __webpack_require__(
|
|
10863
|
-
const progressPart_1 = __webpack_require__(
|
|
10864
|
-
const features_1 = __webpack_require__(
|
|
10865
|
-
const diagnostic_1 = __webpack_require__(
|
|
10866
|
-
const notebook_1 = __webpack_require__(
|
|
10867
|
-
const configuration_1 = __webpack_require__(
|
|
10868
|
-
const textSynchronization_1 = __webpack_require__(
|
|
10869
|
-
const completion_1 = __webpack_require__(
|
|
10870
|
-
const hover_1 = __webpack_require__(
|
|
10871
|
-
const definition_1 = __webpack_require__(
|
|
10872
|
-
const signatureHelp_1 = __webpack_require__(
|
|
10873
|
-
const documentHighlight_1 = __webpack_require__(
|
|
10874
|
-
const documentSymbol_1 = __webpack_require__(
|
|
10875
|
-
const workspaceSymbol_1 = __webpack_require__(
|
|
10876
|
-
const reference_1 = __webpack_require__(
|
|
10877
|
-
const codeAction_1 = __webpack_require__(
|
|
10878
|
-
const codeLens_1 = __webpack_require__(
|
|
10879
|
-
const formatting_1 = __webpack_require__(
|
|
10880
|
-
const rename_1 = __webpack_require__(
|
|
10881
|
-
const documentLink_1 = __webpack_require__(
|
|
10882
|
-
const executeCommand_1 = __webpack_require__(
|
|
10883
|
-
const fileSystemWatcher_1 = __webpack_require__(
|
|
10884
|
-
const colorProvider_1 = __webpack_require__(
|
|
10885
|
-
const implementation_1 = __webpack_require__(
|
|
10886
|
-
const typeDefinition_1 = __webpack_require__(
|
|
10887
|
-
const workspaceFolder_1 = __webpack_require__(
|
|
10888
|
-
const foldingRange_1 = __webpack_require__(
|
|
10889
|
-
const declaration_1 = __webpack_require__(
|
|
10890
|
-
const selectionRange_1 = __webpack_require__(
|
|
10891
|
-
const progress_1 = __webpack_require__(
|
|
10892
|
-
const callHierarchy_1 = __webpack_require__(
|
|
10893
|
-
const semanticTokens_1 = __webpack_require__(
|
|
10894
|
-
const fileOperations_1 = __webpack_require__(
|
|
10895
|
-
const linkedEditingRange_1 = __webpack_require__(
|
|
10896
|
-
const typeHierarchy_1 = __webpack_require__(
|
|
10897
|
-
const inlineValue_1 = __webpack_require__(
|
|
10898
|
-
const inlayHint_1 = __webpack_require__(
|
|
11007
|
+
const c2p = __webpack_require__(59);
|
|
11008
|
+
const p2c = __webpack_require__(70);
|
|
11009
|
+
const Is = __webpack_require__(51);
|
|
11010
|
+
const async_1 = __webpack_require__(60);
|
|
11011
|
+
const UUID = __webpack_require__(52);
|
|
11012
|
+
const progressPart_1 = __webpack_require__(71);
|
|
11013
|
+
const features_1 = __webpack_require__(50);
|
|
11014
|
+
const diagnostic_1 = __webpack_require__(53);
|
|
11015
|
+
const notebook_1 = __webpack_require__(72);
|
|
11016
|
+
const configuration_1 = __webpack_require__(73);
|
|
11017
|
+
const textSynchronization_1 = __webpack_require__(74);
|
|
11018
|
+
const completion_1 = __webpack_require__(75);
|
|
11019
|
+
const hover_1 = __webpack_require__(76);
|
|
11020
|
+
const definition_1 = __webpack_require__(77);
|
|
11021
|
+
const signatureHelp_1 = __webpack_require__(78);
|
|
11022
|
+
const documentHighlight_1 = __webpack_require__(79);
|
|
11023
|
+
const documentSymbol_1 = __webpack_require__(80);
|
|
11024
|
+
const workspaceSymbol_1 = __webpack_require__(81);
|
|
11025
|
+
const reference_1 = __webpack_require__(82);
|
|
11026
|
+
const codeAction_1 = __webpack_require__(83);
|
|
11027
|
+
const codeLens_1 = __webpack_require__(84);
|
|
11028
|
+
const formatting_1 = __webpack_require__(85);
|
|
11029
|
+
const rename_1 = __webpack_require__(86);
|
|
11030
|
+
const documentLink_1 = __webpack_require__(87);
|
|
11031
|
+
const executeCommand_1 = __webpack_require__(88);
|
|
11032
|
+
const fileSystemWatcher_1 = __webpack_require__(89);
|
|
11033
|
+
const colorProvider_1 = __webpack_require__(90);
|
|
11034
|
+
const implementation_1 = __webpack_require__(91);
|
|
11035
|
+
const typeDefinition_1 = __webpack_require__(92);
|
|
11036
|
+
const workspaceFolder_1 = __webpack_require__(93);
|
|
11037
|
+
const foldingRange_1 = __webpack_require__(94);
|
|
11038
|
+
const declaration_1 = __webpack_require__(95);
|
|
11039
|
+
const selectionRange_1 = __webpack_require__(96);
|
|
11040
|
+
const progress_1 = __webpack_require__(97);
|
|
11041
|
+
const callHierarchy_1 = __webpack_require__(98);
|
|
11042
|
+
const semanticTokens_1 = __webpack_require__(99);
|
|
11043
|
+
const fileOperations_1 = __webpack_require__(100);
|
|
11044
|
+
const linkedEditingRange_1 = __webpack_require__(101);
|
|
11045
|
+
const typeHierarchy_1 = __webpack_require__(102);
|
|
11046
|
+
const inlineValue_1 = __webpack_require__(103);
|
|
11047
|
+
const inlayHint_1 = __webpack_require__(104);
|
|
11048
|
+
const inlineCompletion_1 = __webpack_require__(105);
|
|
10899
11049
|
/**
|
|
10900
11050
|
* Controls when the output channel is revealed.
|
|
10901
11051
|
*/
|
|
@@ -10905,7 +11055,7 @@ var RevealOutputChannelOn;
|
|
|
10905
11055
|
RevealOutputChannelOn[RevealOutputChannelOn["Warn"] = 2] = "Warn";
|
|
10906
11056
|
RevealOutputChannelOn[RevealOutputChannelOn["Error"] = 3] = "Error";
|
|
10907
11057
|
RevealOutputChannelOn[RevealOutputChannelOn["Never"] = 4] = "Never";
|
|
10908
|
-
})(RevealOutputChannelOn
|
|
11058
|
+
})(RevealOutputChannelOn || (exports.RevealOutputChannelOn = RevealOutputChannelOn = {}));
|
|
10909
11059
|
/**
|
|
10910
11060
|
* An action to be performed when the connection is producing errors.
|
|
10911
11061
|
*/
|
|
@@ -10919,7 +11069,7 @@ var ErrorAction;
|
|
|
10919
11069
|
* Shutdown the server.
|
|
10920
11070
|
*/
|
|
10921
11071
|
ErrorAction[ErrorAction["Shutdown"] = 2] = "Shutdown";
|
|
10922
|
-
})(ErrorAction
|
|
11072
|
+
})(ErrorAction || (exports.ErrorAction = ErrorAction = {}));
|
|
10923
11073
|
/**
|
|
10924
11074
|
* An action to be performed when the connection to a server got closed.
|
|
10925
11075
|
*/
|
|
@@ -10933,7 +11083,7 @@ var CloseAction;
|
|
|
10933
11083
|
* Restart the server.
|
|
10934
11084
|
*/
|
|
10935
11085
|
CloseAction[CloseAction["Restart"] = 2] = "Restart";
|
|
10936
|
-
})(CloseAction
|
|
11086
|
+
})(CloseAction || (exports.CloseAction = CloseAction = {}));
|
|
10937
11087
|
/**
|
|
10938
11088
|
* Signals in which state the language client is in.
|
|
10939
11089
|
*/
|
|
@@ -10951,7 +11101,7 @@ var State;
|
|
|
10951
11101
|
* The client is running and ready.
|
|
10952
11102
|
*/
|
|
10953
11103
|
State[State["Running"] = 2] = "Running";
|
|
10954
|
-
})(State
|
|
11104
|
+
})(State || (exports.State = State = {}));
|
|
10955
11105
|
var SuspendMode;
|
|
10956
11106
|
(function (SuspendMode) {
|
|
10957
11107
|
/**
|
|
@@ -10964,7 +11114,20 @@ var SuspendMode;
|
|
|
10964
11114
|
* activation listener.
|
|
10965
11115
|
*/
|
|
10966
11116
|
SuspendMode["on"] = "on";
|
|
10967
|
-
})(SuspendMode
|
|
11117
|
+
})(SuspendMode || (exports.SuspendMode = SuspendMode = {}));
|
|
11118
|
+
var ResolvedClientOptions;
|
|
11119
|
+
(function (ResolvedClientOptions) {
|
|
11120
|
+
function sanitizeIsTrusted(isTrusted) {
|
|
11121
|
+
if (isTrusted === undefined || isTrusted === null) {
|
|
11122
|
+
return false;
|
|
11123
|
+
}
|
|
11124
|
+
if ((typeof isTrusted === 'boolean') || (typeof isTrusted === 'object' && isTrusted !== null && Is.stringArray(isTrusted.enabledCommands))) {
|
|
11125
|
+
return isTrusted;
|
|
11126
|
+
}
|
|
11127
|
+
return false;
|
|
11128
|
+
}
|
|
11129
|
+
ResolvedClientOptions.sanitizeIsTrusted = sanitizeIsTrusted;
|
|
11130
|
+
})(ResolvedClientOptions || (ResolvedClientOptions = {}));
|
|
10968
11131
|
class DefaultErrorHandler {
|
|
10969
11132
|
constructor(client, maxRestartCount) {
|
|
10970
11133
|
this.client = client;
|
|
@@ -11010,7 +11173,7 @@ var MessageTransports;
|
|
|
11010
11173
|
return candidate && vscode_languageserver_protocol_1.MessageReader.is(value.reader) && vscode_languageserver_protocol_1.MessageWriter.is(value.writer);
|
|
11011
11174
|
}
|
|
11012
11175
|
MessageTransports.is = is;
|
|
11013
|
-
})(MessageTransports
|
|
11176
|
+
})(MessageTransports || (exports.MessageTransports = MessageTransports = {}));
|
|
11014
11177
|
class BaseLanguageClient {
|
|
11015
11178
|
constructor(id, name, clientOptions) {
|
|
11016
11179
|
this._traceFormat = vscode_languageserver_protocol_1.TraceFormat.Text;
|
|
@@ -11024,7 +11187,7 @@ class BaseLanguageClient {
|
|
|
11024
11187
|
clientOptions = clientOptions || {};
|
|
11025
11188
|
const markdown = { isTrusted: false, supportHtml: false };
|
|
11026
11189
|
if (clientOptions.markdown !== undefined) {
|
|
11027
|
-
markdown.isTrusted = clientOptions.markdown.isTrusted
|
|
11190
|
+
markdown.isTrusted = ResolvedClientOptions.sanitizeIsTrusted(clientOptions.markdown.isTrusted);
|
|
11028
11191
|
markdown.supportHtml = clientOptions.markdown.supportHtml === true;
|
|
11029
11192
|
}
|
|
11030
11193
|
// const defaultInterval = (clientOptions as TestOptions).$testMode ? 50 : 60000;
|
|
@@ -11841,9 +12004,9 @@ class BaseLanguageClient {
|
|
|
11841
12004
|
if (this._syncedDocuments) {
|
|
11842
12005
|
this._syncedDocuments.clear();
|
|
11843
12006
|
}
|
|
11844
|
-
//
|
|
12007
|
+
// Clear features in reverse order;
|
|
11845
12008
|
for (const feature of Array.from(this._features.entries()).map(entry => entry[1]).reverse()) {
|
|
11846
|
-
feature.
|
|
12009
|
+
feature.clear();
|
|
11847
12010
|
}
|
|
11848
12011
|
if (mode === 'stop' && this._diagnostics !== undefined) {
|
|
11849
12012
|
this._diagnostics.dispose();
|
|
@@ -12423,15 +12586,17 @@ function createConnection(input, output, errorHandler, closeHandler, options) {
|
|
|
12423
12586
|
var ProposedFeatures;
|
|
12424
12587
|
(function (ProposedFeatures) {
|
|
12425
12588
|
function createAll(_client) {
|
|
12426
|
-
let result = [
|
|
12589
|
+
let result = [
|
|
12590
|
+
new inlineCompletion_1.InlineCompletionItemFeature(_client)
|
|
12591
|
+
];
|
|
12427
12592
|
return result;
|
|
12428
12593
|
}
|
|
12429
12594
|
ProposedFeatures.createAll = createAll;
|
|
12430
|
-
})(ProposedFeatures
|
|
12595
|
+
})(ProposedFeatures || (exports.ProposedFeatures = ProposedFeatures = {}));
|
|
12431
12596
|
|
|
12432
12597
|
|
|
12433
12598
|
/***/ }),
|
|
12434
|
-
/*
|
|
12599
|
+
/* 59 */
|
|
12435
12600
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
12436
12601
|
|
|
12437
12602
|
"use strict";
|
|
@@ -12444,17 +12609,17 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
12444
12609
|
exports.createConverter = void 0;
|
|
12445
12610
|
const code = __webpack_require__(1);
|
|
12446
12611
|
const proto = __webpack_require__(5);
|
|
12447
|
-
const Is = __webpack_require__(
|
|
12448
|
-
const async = __webpack_require__(
|
|
12449
|
-
const protocolCompletionItem_1 = __webpack_require__(
|
|
12450
|
-
const protocolCodeLens_1 = __webpack_require__(
|
|
12451
|
-
const protocolDocumentLink_1 = __webpack_require__(
|
|
12452
|
-
const protocolCodeAction_1 = __webpack_require__(
|
|
12453
|
-
const protocolDiagnostic_1 = __webpack_require__(
|
|
12454
|
-
const protocolCallHierarchyItem_1 = __webpack_require__(
|
|
12455
|
-
const protocolTypeHierarchyItem_1 = __webpack_require__(
|
|
12456
|
-
const protocolWorkspaceSymbol_1 = __webpack_require__(
|
|
12457
|
-
const protocolInlayHint_1 = __webpack_require__(
|
|
12612
|
+
const Is = __webpack_require__(51);
|
|
12613
|
+
const async = __webpack_require__(60);
|
|
12614
|
+
const protocolCompletionItem_1 = __webpack_require__(61);
|
|
12615
|
+
const protocolCodeLens_1 = __webpack_require__(62);
|
|
12616
|
+
const protocolDocumentLink_1 = __webpack_require__(63);
|
|
12617
|
+
const protocolCodeAction_1 = __webpack_require__(64);
|
|
12618
|
+
const protocolDiagnostic_1 = __webpack_require__(65);
|
|
12619
|
+
const protocolCallHierarchyItem_1 = __webpack_require__(66);
|
|
12620
|
+
const protocolTypeHierarchyItem_1 = __webpack_require__(67);
|
|
12621
|
+
const protocolWorkspaceSymbol_1 = __webpack_require__(68);
|
|
12622
|
+
const protocolInlayHint_1 = __webpack_require__(69);
|
|
12458
12623
|
var InsertReplaceRange;
|
|
12459
12624
|
(function (InsertReplaceRange) {
|
|
12460
12625
|
function is(value) {
|
|
@@ -12713,6 +12878,9 @@ function createConverter(uriConverter) {
|
|
|
12713
12878
|
}
|
|
12714
12879
|
return { start: asPosition(value.start), end: asPosition(value.end) };
|
|
12715
12880
|
}
|
|
12881
|
+
function asRanges(values) {
|
|
12882
|
+
return values.map(asRange);
|
|
12883
|
+
}
|
|
12716
12884
|
function asLocation(value) {
|
|
12717
12885
|
if (value === undefined || value === null) {
|
|
12718
12886
|
return value;
|
|
@@ -13088,6 +13256,10 @@ function createConverter(uriConverter) {
|
|
|
13088
13256
|
}
|
|
13089
13257
|
return proto.InlineValueContext.create(context.frameId, asRange(context.stoppedLocation));
|
|
13090
13258
|
}
|
|
13259
|
+
function asInlineCompletionParams(document, position, context) {
|
|
13260
|
+
return { context: proto.InlineCompletionContext.create(context.triggerKind, context.selectedCompletionInfo),
|
|
13261
|
+
textDocument: asTextDocumentIdentifier(document), position: asPosition(position) };
|
|
13262
|
+
}
|
|
13091
13263
|
function asCommand(item) {
|
|
13092
13264
|
let result = proto.Command.create(item.title, item.command);
|
|
13093
13265
|
if (item.arguments) {
|
|
@@ -13268,6 +13440,7 @@ function createConverter(uriConverter) {
|
|
|
13268
13440
|
asSignatureHelpParams,
|
|
13269
13441
|
asWorkerPosition,
|
|
13270
13442
|
asRange,
|
|
13443
|
+
asRanges,
|
|
13271
13444
|
asPosition,
|
|
13272
13445
|
asPositions,
|
|
13273
13446
|
asPositionsSync,
|
|
@@ -13298,14 +13471,15 @@ function createConverter(uriConverter) {
|
|
|
13298
13471
|
asCallHierarchyItem,
|
|
13299
13472
|
asTypeHierarchyItem,
|
|
13300
13473
|
asInlayHint,
|
|
13301
|
-
asWorkspaceSymbol
|
|
13474
|
+
asWorkspaceSymbol,
|
|
13475
|
+
asInlineCompletionParams
|
|
13302
13476
|
};
|
|
13303
13477
|
}
|
|
13304
13478
|
exports.createConverter = createConverter;
|
|
13305
13479
|
|
|
13306
13480
|
|
|
13307
13481
|
/***/ }),
|
|
13308
|
-
/*
|
|
13482
|
+
/* 60 */
|
|
13309
13483
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
13310
13484
|
|
|
13311
13485
|
"use strict";
|
|
@@ -13588,7 +13762,7 @@ exports.forEach = forEach;
|
|
|
13588
13762
|
|
|
13589
13763
|
|
|
13590
13764
|
/***/ }),
|
|
13591
|
-
/*
|
|
13765
|
+
/* 61 */
|
|
13592
13766
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
13593
13767
|
|
|
13594
13768
|
"use strict";
|
|
@@ -13608,7 +13782,7 @@ exports["default"] = ProtocolCompletionItem;
|
|
|
13608
13782
|
|
|
13609
13783
|
|
|
13610
13784
|
/***/ }),
|
|
13611
|
-
/*
|
|
13785
|
+
/* 62 */
|
|
13612
13786
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
13613
13787
|
|
|
13614
13788
|
"use strict";
|
|
@@ -13628,7 +13802,7 @@ exports["default"] = ProtocolCodeLens;
|
|
|
13628
13802
|
|
|
13629
13803
|
|
|
13630
13804
|
/***/ }),
|
|
13631
|
-
/*
|
|
13805
|
+
/* 63 */
|
|
13632
13806
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
13633
13807
|
|
|
13634
13808
|
"use strict";
|
|
@@ -13648,7 +13822,7 @@ exports["default"] = ProtocolDocumentLink;
|
|
|
13648
13822
|
|
|
13649
13823
|
|
|
13650
13824
|
/***/ }),
|
|
13651
|
-
/*
|
|
13825
|
+
/* 64 */
|
|
13652
13826
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
13653
13827
|
|
|
13654
13828
|
"use strict";
|
|
@@ -13669,7 +13843,7 @@ exports["default"] = ProtocolCodeAction;
|
|
|
13669
13843
|
|
|
13670
13844
|
|
|
13671
13845
|
/***/ }),
|
|
13672
|
-
/*
|
|
13846
|
+
/* 65 */
|
|
13673
13847
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
13674
13848
|
|
|
13675
13849
|
"use strict";
|
|
@@ -13681,7 +13855,7 @@ exports["default"] = ProtocolCodeAction;
|
|
|
13681
13855
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
13682
13856
|
exports.ProtocolDiagnostic = exports.DiagnosticCode = void 0;
|
|
13683
13857
|
const vscode = __webpack_require__(1);
|
|
13684
|
-
const Is = __webpack_require__(
|
|
13858
|
+
const Is = __webpack_require__(51);
|
|
13685
13859
|
var DiagnosticCode;
|
|
13686
13860
|
(function (DiagnosticCode) {
|
|
13687
13861
|
function is(value) {
|
|
@@ -13689,7 +13863,7 @@ var DiagnosticCode;
|
|
|
13689
13863
|
return candidate !== undefined && candidate !== null && (Is.number(candidate.value) || Is.string(candidate.value)) && Is.string(candidate.target);
|
|
13690
13864
|
}
|
|
13691
13865
|
DiagnosticCode.is = is;
|
|
13692
|
-
})(DiagnosticCode
|
|
13866
|
+
})(DiagnosticCode || (exports.DiagnosticCode = DiagnosticCode = {}));
|
|
13693
13867
|
class ProtocolDiagnostic extends vscode.Diagnostic {
|
|
13694
13868
|
constructor(range, message, severity, data) {
|
|
13695
13869
|
super(range, message, severity);
|
|
@@ -13701,7 +13875,7 @@ exports.ProtocolDiagnostic = ProtocolDiagnostic;
|
|
|
13701
13875
|
|
|
13702
13876
|
|
|
13703
13877
|
/***/ }),
|
|
13704
|
-
/*
|
|
13878
|
+
/* 66 */
|
|
13705
13879
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
13706
13880
|
|
|
13707
13881
|
"use strict";
|
|
@@ -13724,7 +13898,7 @@ exports["default"] = ProtocolCallHierarchyItem;
|
|
|
13724
13898
|
|
|
13725
13899
|
|
|
13726
13900
|
/***/ }),
|
|
13727
|
-
/*
|
|
13901
|
+
/* 67 */
|
|
13728
13902
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
13729
13903
|
|
|
13730
13904
|
"use strict";
|
|
@@ -13747,7 +13921,7 @@ exports["default"] = ProtocolTypeHierarchyItem;
|
|
|
13747
13921
|
|
|
13748
13922
|
|
|
13749
13923
|
/***/ }),
|
|
13750
|
-
/*
|
|
13924
|
+
/* 68 */
|
|
13751
13925
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
13752
13926
|
|
|
13753
13927
|
"use strict";
|
|
@@ -13772,7 +13946,7 @@ exports["default"] = WorkspaceSymbol;
|
|
|
13772
13946
|
|
|
13773
13947
|
|
|
13774
13948
|
/***/ }),
|
|
13775
|
-
/*
|
|
13949
|
+
/* 69 */
|
|
13776
13950
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
13777
13951
|
|
|
13778
13952
|
"use strict";
|
|
@@ -13792,7 +13966,7 @@ exports["default"] = ProtocolInlayHint;
|
|
|
13792
13966
|
|
|
13793
13967
|
|
|
13794
13968
|
/***/ }),
|
|
13795
|
-
/*
|
|
13969
|
+
/* 70 */
|
|
13796
13970
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
13797
13971
|
|
|
13798
13972
|
"use strict";
|
|
@@ -13805,17 +13979,17 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
13805
13979
|
exports.createConverter = void 0;
|
|
13806
13980
|
const code = __webpack_require__(1);
|
|
13807
13981
|
const ls = __webpack_require__(5);
|
|
13808
|
-
const Is = __webpack_require__(
|
|
13809
|
-
const async = __webpack_require__(
|
|
13810
|
-
const protocolCompletionItem_1 = __webpack_require__(
|
|
13811
|
-
const protocolCodeLens_1 = __webpack_require__(
|
|
13812
|
-
const protocolDocumentLink_1 = __webpack_require__(
|
|
13813
|
-
const protocolCodeAction_1 = __webpack_require__(
|
|
13814
|
-
const protocolDiagnostic_1 = __webpack_require__(
|
|
13815
|
-
const protocolCallHierarchyItem_1 = __webpack_require__(
|
|
13816
|
-
const protocolTypeHierarchyItem_1 = __webpack_require__(
|
|
13817
|
-
const protocolWorkspaceSymbol_1 = __webpack_require__(
|
|
13818
|
-
const protocolInlayHint_1 = __webpack_require__(
|
|
13982
|
+
const Is = __webpack_require__(51);
|
|
13983
|
+
const async = __webpack_require__(60);
|
|
13984
|
+
const protocolCompletionItem_1 = __webpack_require__(61);
|
|
13985
|
+
const protocolCodeLens_1 = __webpack_require__(62);
|
|
13986
|
+
const protocolDocumentLink_1 = __webpack_require__(63);
|
|
13987
|
+
const protocolCodeAction_1 = __webpack_require__(64);
|
|
13988
|
+
const protocolDiagnostic_1 = __webpack_require__(65);
|
|
13989
|
+
const protocolCallHierarchyItem_1 = __webpack_require__(66);
|
|
13990
|
+
const protocolTypeHierarchyItem_1 = __webpack_require__(67);
|
|
13991
|
+
const protocolWorkspaceSymbol_1 = __webpack_require__(68);
|
|
13992
|
+
const protocolInlayHint_1 = __webpack_require__(69);
|
|
13819
13993
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
13820
13994
|
var CodeBlock;
|
|
13821
13995
|
(function (CodeBlock) {
|
|
@@ -14821,6 +14995,37 @@ function createConverter(uriConverter, trustMarkdown, supportHtml) {
|
|
|
14821
14995
|
}
|
|
14822
14996
|
return undefined;
|
|
14823
14997
|
}
|
|
14998
|
+
async function asInlineCompletionResult(value, token) {
|
|
14999
|
+
if (!value) {
|
|
15000
|
+
return undefined;
|
|
15001
|
+
}
|
|
15002
|
+
if (Array.isArray(value)) {
|
|
15003
|
+
return async.map(value, (item) => asInlineCompletionItem(item), token);
|
|
15004
|
+
}
|
|
15005
|
+
const list = value;
|
|
15006
|
+
const converted = await async.map(list.items, (item) => {
|
|
15007
|
+
return asInlineCompletionItem(item);
|
|
15008
|
+
}, token);
|
|
15009
|
+
return new code.InlineCompletionList(converted);
|
|
15010
|
+
}
|
|
15011
|
+
function asInlineCompletionItem(item) {
|
|
15012
|
+
let insertText;
|
|
15013
|
+
if (typeof item.insertText === 'string') {
|
|
15014
|
+
insertText = item.insertText;
|
|
15015
|
+
}
|
|
15016
|
+
else {
|
|
15017
|
+
insertText = new code.SnippetString(item.insertText.value);
|
|
15018
|
+
}
|
|
15019
|
+
let command = undefined;
|
|
15020
|
+
if (item.command) {
|
|
15021
|
+
command = asCommand(item.command);
|
|
15022
|
+
}
|
|
15023
|
+
const inlineCompletionItem = new code.InlineCompletionItem(insertText, asRange(item.range), command);
|
|
15024
|
+
if (item.filterText) {
|
|
15025
|
+
inlineCompletionItem.filterText = item.filterText;
|
|
15026
|
+
}
|
|
15027
|
+
return inlineCompletionItem;
|
|
15028
|
+
}
|
|
14824
15029
|
return {
|
|
14825
15030
|
asUri,
|
|
14826
15031
|
asDocumentSelector,
|
|
@@ -14893,14 +15098,16 @@ function createConverter(uriConverter, trustMarkdown, supportHtml) {
|
|
|
14893
15098
|
asLinkedEditingRanges: asLinkedEditingRanges,
|
|
14894
15099
|
asTypeHierarchyItem,
|
|
14895
15100
|
asTypeHierarchyItems,
|
|
14896
|
-
asGlobPattern
|
|
15101
|
+
asGlobPattern,
|
|
15102
|
+
asInlineCompletionResult,
|
|
15103
|
+
asInlineCompletionItem
|
|
14897
15104
|
};
|
|
14898
15105
|
}
|
|
14899
15106
|
exports.createConverter = createConverter;
|
|
14900
15107
|
|
|
14901
15108
|
|
|
14902
15109
|
/***/ }),
|
|
14903
|
-
/*
|
|
15110
|
+
/* 71 */
|
|
14904
15111
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
14905
15112
|
|
|
14906
15113
|
"use strict";
|
|
@@ -14913,7 +15120,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
14913
15120
|
exports.ProgressPart = void 0;
|
|
14914
15121
|
const vscode_1 = __webpack_require__(1);
|
|
14915
15122
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
14916
|
-
const Is = __webpack_require__(
|
|
15123
|
+
const Is = __webpack_require__(51);
|
|
14917
15124
|
class ProgressPart {
|
|
14918
15125
|
constructor(_client, _token, done) {
|
|
14919
15126
|
this._client = _client;
|
|
@@ -15003,7 +15210,7 @@ exports.ProgressPart = ProgressPart;
|
|
|
15003
15210
|
|
|
15004
15211
|
|
|
15005
15212
|
/***/ }),
|
|
15006
|
-
/*
|
|
15213
|
+
/* 72 */
|
|
15007
15214
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
15008
15215
|
|
|
15009
15216
|
"use strict";
|
|
@@ -15015,10 +15222,10 @@ exports.ProgressPart = ProgressPart;
|
|
|
15015
15222
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
15016
15223
|
exports.NotebookDocumentSyncFeature = void 0;
|
|
15017
15224
|
const vscode = __webpack_require__(1);
|
|
15018
|
-
const minimatch = __webpack_require__(
|
|
15225
|
+
const minimatch = __webpack_require__(54);
|
|
15019
15226
|
const proto = __webpack_require__(5);
|
|
15020
|
-
const UUID = __webpack_require__(
|
|
15021
|
-
const Is = __webpack_require__(
|
|
15227
|
+
const UUID = __webpack_require__(52);
|
|
15228
|
+
const Is = __webpack_require__(51);
|
|
15022
15229
|
function ensure(target, key) {
|
|
15023
15230
|
if (target[key] === void 0) {
|
|
15024
15231
|
target[key] = {};
|
|
@@ -15816,7 +16023,7 @@ class NotebookDocumentSyncFeature {
|
|
|
15816
16023
|
const provider = this.registrations.get(id);
|
|
15817
16024
|
provider && provider.dispose();
|
|
15818
16025
|
}
|
|
15819
|
-
|
|
16026
|
+
clear() {
|
|
15820
16027
|
for (const provider of this.registrations.values()) {
|
|
15821
16028
|
provider.dispose();
|
|
15822
16029
|
}
|
|
@@ -15861,7 +16068,7 @@ NotebookDocumentSyncFeature.CellScheme = 'vscode-notebook-cell';
|
|
|
15861
16068
|
|
|
15862
16069
|
|
|
15863
16070
|
/***/ }),
|
|
15864
|
-
/*
|
|
16071
|
+
/* 73 */
|
|
15865
16072
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
15866
16073
|
|
|
15867
16074
|
"use strict";
|
|
@@ -15874,9 +16081,9 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
15874
16081
|
exports.SyncConfigurationFeature = exports.toJSONObject = exports.ConfigurationFeature = void 0;
|
|
15875
16082
|
const vscode_1 = __webpack_require__(1);
|
|
15876
16083
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
15877
|
-
const Is = __webpack_require__(
|
|
15878
|
-
const UUID = __webpack_require__(
|
|
15879
|
-
const features_1 = __webpack_require__(
|
|
16084
|
+
const Is = __webpack_require__(51);
|
|
16085
|
+
const UUID = __webpack_require__(52);
|
|
16086
|
+
const features_1 = __webpack_require__(50);
|
|
15880
16087
|
/**
|
|
15881
16088
|
* Configuration pull model. From server to client.
|
|
15882
16089
|
*/
|
|
@@ -15936,7 +16143,7 @@ class ConfigurationFeature {
|
|
|
15936
16143
|
}
|
|
15937
16144
|
return result;
|
|
15938
16145
|
}
|
|
15939
|
-
|
|
16146
|
+
clear() {
|
|
15940
16147
|
}
|
|
15941
16148
|
}
|
|
15942
16149
|
exports.ConfigurationFeature = ConfigurationFeature;
|
|
@@ -15961,7 +16168,7 @@ exports.toJSONObject = toJSONObject;
|
|
|
15961
16168
|
class SyncConfigurationFeature {
|
|
15962
16169
|
constructor(_client) {
|
|
15963
16170
|
this._client = _client;
|
|
15964
|
-
this.
|
|
16171
|
+
this.isCleared = false;
|
|
15965
16172
|
this._listeners = new Map();
|
|
15966
16173
|
}
|
|
15967
16174
|
getState() {
|
|
@@ -15974,6 +16181,7 @@ class SyncConfigurationFeature {
|
|
|
15974
16181
|
(0, features_1.ensure)((0, features_1.ensure)(capabilities, 'workspace'), 'didChangeConfiguration').dynamicRegistration = true;
|
|
15975
16182
|
}
|
|
15976
16183
|
initialize() {
|
|
16184
|
+
this.isCleared = false;
|
|
15977
16185
|
let section = this._client.clientOptions.synchronize?.configurationSection;
|
|
15978
16186
|
if (section !== undefined) {
|
|
15979
16187
|
this.register({
|
|
@@ -16000,15 +16208,15 @@ class SyncConfigurationFeature {
|
|
|
16000
16208
|
disposable.dispose();
|
|
16001
16209
|
}
|
|
16002
16210
|
}
|
|
16003
|
-
|
|
16211
|
+
clear() {
|
|
16004
16212
|
for (const disposable of this._listeners.values()) {
|
|
16005
16213
|
disposable.dispose();
|
|
16006
16214
|
}
|
|
16007
16215
|
this._listeners.clear();
|
|
16008
|
-
this.
|
|
16216
|
+
this.isCleared = true;
|
|
16009
16217
|
}
|
|
16010
16218
|
onDidChangeConfiguration(configurationSection, event) {
|
|
16011
|
-
if (this.
|
|
16219
|
+
if (this.isCleared) {
|
|
16012
16220
|
return;
|
|
16013
16221
|
}
|
|
16014
16222
|
let sections;
|
|
@@ -16076,7 +16284,7 @@ exports.SyncConfigurationFeature = SyncConfigurationFeature;
|
|
|
16076
16284
|
|
|
16077
16285
|
|
|
16078
16286
|
/***/ }),
|
|
16079
|
-
/*
|
|
16287
|
+
/* 74 */
|
|
16080
16288
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
16081
16289
|
|
|
16082
16290
|
"use strict";
|
|
@@ -16089,8 +16297,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
16089
16297
|
exports.DidSaveTextDocumentFeature = exports.WillSaveWaitUntilFeature = exports.WillSaveFeature = exports.DidChangeTextDocumentFeature = exports.DidCloseTextDocumentFeature = exports.DidOpenTextDocumentFeature = void 0;
|
|
16090
16298
|
const vscode_1 = __webpack_require__(1);
|
|
16091
16299
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
16092
|
-
const features_1 = __webpack_require__(
|
|
16093
|
-
const UUID = __webpack_require__(
|
|
16300
|
+
const features_1 = __webpack_require__(50);
|
|
16301
|
+
const UUID = __webpack_require__(52);
|
|
16094
16302
|
class DidOpenTextDocumentFeature extends features_1.TextDocumentEventFeature {
|
|
16095
16303
|
constructor(client, syncedDocuments) {
|
|
16096
16304
|
super(client, vscode_1.workspace.onDidOpenTextDocument, vscode_languageserver_protocol_1.DidOpenTextDocumentNotification.type, () => client.middleware.didOpen, (textDocument) => client.code2ProtocolConverter.asOpenTextDocumentParams(textDocument), (data) => data, features_1.TextDocumentEventFeature.textDocumentFilter);
|
|
@@ -16304,7 +16512,7 @@ class DidChangeTextDocumentFeature extends features_1.DynamicDocumentFeature {
|
|
|
16304
16512
|
}
|
|
16305
16513
|
}
|
|
16306
16514
|
}
|
|
16307
|
-
|
|
16515
|
+
clear() {
|
|
16308
16516
|
this._pendingTextDocumentChanges.clear();
|
|
16309
16517
|
this._changeData.clear();
|
|
16310
16518
|
this._syncKind = vscode_languageserver_protocol_1.TextDocumentSyncKind.None;
|
|
@@ -16441,7 +16649,7 @@ class WillSaveWaitUntilFeature extends features_1.DynamicDocumentFeature {
|
|
|
16441
16649
|
this._listener = undefined;
|
|
16442
16650
|
}
|
|
16443
16651
|
}
|
|
16444
|
-
|
|
16652
|
+
clear() {
|
|
16445
16653
|
this._selectors.clear();
|
|
16446
16654
|
if (this._listener) {
|
|
16447
16655
|
this._listener.dispose();
|
|
@@ -16485,7 +16693,7 @@ exports.DidSaveTextDocumentFeature = DidSaveTextDocumentFeature;
|
|
|
16485
16693
|
|
|
16486
16694
|
|
|
16487
16695
|
/***/ }),
|
|
16488
|
-
/*
|
|
16696
|
+
/* 75 */
|
|
16489
16697
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
16490
16698
|
|
|
16491
16699
|
"use strict";
|
|
@@ -16498,8 +16706,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
16498
16706
|
exports.CompletionItemFeature = void 0;
|
|
16499
16707
|
const vscode_1 = __webpack_require__(1);
|
|
16500
16708
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
16501
|
-
const features_1 = __webpack_require__(
|
|
16502
|
-
const UUID = __webpack_require__(
|
|
16709
|
+
const features_1 = __webpack_require__(50);
|
|
16710
|
+
const UUID = __webpack_require__(52);
|
|
16503
16711
|
const SupportedCompletionItemKinds = [
|
|
16504
16712
|
vscode_languageserver_protocol_1.CompletionItemKind.Text,
|
|
16505
16713
|
vscode_languageserver_protocol_1.CompletionItemKind.Method,
|
|
@@ -16618,7 +16826,7 @@ exports.CompletionItemFeature = CompletionItemFeature;
|
|
|
16618
16826
|
|
|
16619
16827
|
|
|
16620
16828
|
/***/ }),
|
|
16621
|
-
/*
|
|
16829
|
+
/* 76 */
|
|
16622
16830
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
16623
16831
|
|
|
16624
16832
|
"use strict";
|
|
@@ -16631,8 +16839,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
16631
16839
|
exports.HoverFeature = void 0;
|
|
16632
16840
|
const vscode_1 = __webpack_require__(1);
|
|
16633
16841
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
16634
|
-
const features_1 = __webpack_require__(
|
|
16635
|
-
const UUID = __webpack_require__(
|
|
16842
|
+
const features_1 = __webpack_require__(50);
|
|
16843
|
+
const UUID = __webpack_require__(52);
|
|
16636
16844
|
class HoverFeature extends features_1.TextDocumentLanguageFeature {
|
|
16637
16845
|
constructor(client) {
|
|
16638
16846
|
super(client, vscode_languageserver_protocol_1.HoverRequest.type);
|
|
@@ -16683,7 +16891,7 @@ exports.HoverFeature = HoverFeature;
|
|
|
16683
16891
|
|
|
16684
16892
|
|
|
16685
16893
|
/***/ }),
|
|
16686
|
-
/*
|
|
16894
|
+
/* 77 */
|
|
16687
16895
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
16688
16896
|
|
|
16689
16897
|
"use strict";
|
|
@@ -16696,8 +16904,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
16696
16904
|
exports.DefinitionFeature = void 0;
|
|
16697
16905
|
const vscode_1 = __webpack_require__(1);
|
|
16698
16906
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
16699
|
-
const features_1 = __webpack_require__(
|
|
16700
|
-
const UUID = __webpack_require__(
|
|
16907
|
+
const features_1 = __webpack_require__(50);
|
|
16908
|
+
const UUID = __webpack_require__(52);
|
|
16701
16909
|
class DefinitionFeature extends features_1.TextDocumentLanguageFeature {
|
|
16702
16910
|
constructor(client) {
|
|
16703
16911
|
super(client, vscode_languageserver_protocol_1.DefinitionRequest.type);
|
|
@@ -16745,7 +16953,7 @@ exports.DefinitionFeature = DefinitionFeature;
|
|
|
16745
16953
|
|
|
16746
16954
|
|
|
16747
16955
|
/***/ }),
|
|
16748
|
-
/*
|
|
16956
|
+
/* 78 */
|
|
16749
16957
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
16750
16958
|
|
|
16751
16959
|
"use strict";
|
|
@@ -16758,8 +16966,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
16758
16966
|
exports.SignatureHelpFeature = void 0;
|
|
16759
16967
|
const vscode_1 = __webpack_require__(1);
|
|
16760
16968
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
16761
|
-
const features_1 = __webpack_require__(
|
|
16762
|
-
const UUID = __webpack_require__(
|
|
16969
|
+
const features_1 = __webpack_require__(50);
|
|
16970
|
+
const UUID = __webpack_require__(52);
|
|
16763
16971
|
class SignatureHelpFeature extends features_1.TextDocumentLanguageFeature {
|
|
16764
16972
|
constructor(client) {
|
|
16765
16973
|
super(client, vscode_languageserver_protocol_1.SignatureHelpRequest.type);
|
|
@@ -16823,7 +17031,7 @@ exports.SignatureHelpFeature = SignatureHelpFeature;
|
|
|
16823
17031
|
|
|
16824
17032
|
|
|
16825
17033
|
/***/ }),
|
|
16826
|
-
/*
|
|
17034
|
+
/* 79 */
|
|
16827
17035
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
16828
17036
|
|
|
16829
17037
|
"use strict";
|
|
@@ -16836,8 +17044,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
16836
17044
|
exports.DocumentHighlightFeature = void 0;
|
|
16837
17045
|
const vscode_1 = __webpack_require__(1);
|
|
16838
17046
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
16839
|
-
const features_1 = __webpack_require__(
|
|
16840
|
-
const UUID = __webpack_require__(
|
|
17047
|
+
const features_1 = __webpack_require__(50);
|
|
17048
|
+
const UUID = __webpack_require__(52);
|
|
16841
17049
|
class DocumentHighlightFeature extends features_1.TextDocumentLanguageFeature {
|
|
16842
17050
|
constructor(client) {
|
|
16843
17051
|
super(client, vscode_languageserver_protocol_1.DocumentHighlightRequest.type);
|
|
@@ -16880,7 +17088,7 @@ exports.DocumentHighlightFeature = DocumentHighlightFeature;
|
|
|
16880
17088
|
|
|
16881
17089
|
|
|
16882
17090
|
/***/ }),
|
|
16883
|
-
/*
|
|
17091
|
+
/* 80 */
|
|
16884
17092
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
16885
17093
|
|
|
16886
17094
|
"use strict";
|
|
@@ -16893,8 +17101,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
16893
17101
|
exports.DocumentSymbolFeature = exports.SupportedSymbolTags = exports.SupportedSymbolKinds = void 0;
|
|
16894
17102
|
const vscode_1 = __webpack_require__(1);
|
|
16895
17103
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
16896
|
-
const features_1 = __webpack_require__(
|
|
16897
|
-
const UUID = __webpack_require__(
|
|
17104
|
+
const features_1 = __webpack_require__(50);
|
|
17105
|
+
const UUID = __webpack_require__(52);
|
|
16898
17106
|
exports.SupportedSymbolKinds = [
|
|
16899
17107
|
vscode_languageserver_protocol_1.SymbolKind.File,
|
|
16900
17108
|
vscode_languageserver_protocol_1.SymbolKind.Module,
|
|
@@ -16991,7 +17199,7 @@ exports.DocumentSymbolFeature = DocumentSymbolFeature;
|
|
|
16991
17199
|
|
|
16992
17200
|
|
|
16993
17201
|
/***/ }),
|
|
16994
|
-
/*
|
|
17202
|
+
/* 81 */
|
|
16995
17203
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
16996
17204
|
|
|
16997
17205
|
"use strict";
|
|
@@ -17004,9 +17212,9 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
17004
17212
|
exports.WorkspaceSymbolFeature = void 0;
|
|
17005
17213
|
const vscode_1 = __webpack_require__(1);
|
|
17006
17214
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
17007
|
-
const features_1 = __webpack_require__(
|
|
17008
|
-
const documentSymbol_1 = __webpack_require__(
|
|
17009
|
-
const UUID = __webpack_require__(
|
|
17215
|
+
const features_1 = __webpack_require__(50);
|
|
17216
|
+
const documentSymbol_1 = __webpack_require__(80);
|
|
17217
|
+
const UUID = __webpack_require__(52);
|
|
17010
17218
|
class WorkspaceSymbolFeature extends features_1.WorkspaceFeature {
|
|
17011
17219
|
constructor(client) {
|
|
17012
17220
|
super(client, vscode_languageserver_protocol_1.WorkspaceSymbolRequest.type);
|
|
@@ -17077,7 +17285,7 @@ exports.WorkspaceSymbolFeature = WorkspaceSymbolFeature;
|
|
|
17077
17285
|
|
|
17078
17286
|
|
|
17079
17287
|
/***/ }),
|
|
17080
|
-
/*
|
|
17288
|
+
/* 82 */
|
|
17081
17289
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
17082
17290
|
|
|
17083
17291
|
"use strict";
|
|
@@ -17090,8 +17298,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
17090
17298
|
exports.ReferencesFeature = void 0;
|
|
17091
17299
|
const vscode_1 = __webpack_require__(1);
|
|
17092
17300
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
17093
|
-
const features_1 = __webpack_require__(
|
|
17094
|
-
const UUID = __webpack_require__(
|
|
17301
|
+
const features_1 = __webpack_require__(50);
|
|
17302
|
+
const UUID = __webpack_require__(52);
|
|
17095
17303
|
class ReferencesFeature extends features_1.TextDocumentLanguageFeature {
|
|
17096
17304
|
constructor(client) {
|
|
17097
17305
|
super(client, vscode_languageserver_protocol_1.ReferencesRequest.type);
|
|
@@ -17137,7 +17345,7 @@ exports.ReferencesFeature = ReferencesFeature;
|
|
|
17137
17345
|
|
|
17138
17346
|
|
|
17139
17347
|
/***/ }),
|
|
17140
|
-
/*
|
|
17348
|
+
/* 83 */
|
|
17141
17349
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
17142
17350
|
|
|
17143
17351
|
"use strict";
|
|
@@ -17150,8 +17358,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
17150
17358
|
exports.CodeActionFeature = void 0;
|
|
17151
17359
|
const vscode_1 = __webpack_require__(1);
|
|
17152
17360
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
17153
|
-
const UUID = __webpack_require__(
|
|
17154
|
-
const features_1 = __webpack_require__(
|
|
17361
|
+
const UUID = __webpack_require__(52);
|
|
17362
|
+
const features_1 = __webpack_require__(50);
|
|
17155
17363
|
class CodeActionFeature extends features_1.TextDocumentLanguageFeature {
|
|
17156
17364
|
constructor(client) {
|
|
17157
17365
|
super(client, vscode_languageserver_protocol_1.CodeActionRequest.type);
|
|
@@ -17243,7 +17451,7 @@ exports.CodeActionFeature = CodeActionFeature;
|
|
|
17243
17451
|
|
|
17244
17452
|
|
|
17245
17453
|
/***/ }),
|
|
17246
|
-
/*
|
|
17454
|
+
/* 84 */
|
|
17247
17455
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
17248
17456
|
|
|
17249
17457
|
"use strict";
|
|
@@ -17256,8 +17464,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
17256
17464
|
exports.CodeLensFeature = void 0;
|
|
17257
17465
|
const vscode_1 = __webpack_require__(1);
|
|
17258
17466
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
17259
|
-
const UUID = __webpack_require__(
|
|
17260
|
-
const features_1 = __webpack_require__(
|
|
17467
|
+
const UUID = __webpack_require__(52);
|
|
17468
|
+
const features_1 = __webpack_require__(50);
|
|
17261
17469
|
class CodeLensFeature extends features_1.TextDocumentLanguageFeature {
|
|
17262
17470
|
constructor(client) {
|
|
17263
17471
|
super(client, vscode_languageserver_protocol_1.CodeLensRequest.type);
|
|
@@ -17328,7 +17536,7 @@ exports.CodeLensFeature = CodeLensFeature;
|
|
|
17328
17536
|
|
|
17329
17537
|
|
|
17330
17538
|
/***/ }),
|
|
17331
|
-
/*
|
|
17539
|
+
/* 85 */
|
|
17332
17540
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
17333
17541
|
|
|
17334
17542
|
"use strict";
|
|
@@ -17337,12 +17545,13 @@ exports.CodeLensFeature = CodeLensFeature;
|
|
|
17337
17545
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
17338
17546
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
17339
17547
|
* ------------------------------------------------------------------------------------------ */
|
|
17548
|
+
/// <reference path="../../typings/vscode.proposed.formatMultipleRanges.d.ts" />
|
|
17340
17549
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
17341
17550
|
exports.DocumentOnTypeFormattingFeature = exports.DocumentRangeFormattingFeature = exports.DocumentFormattingFeature = void 0;
|
|
17342
17551
|
const vscode_1 = __webpack_require__(1);
|
|
17343
17552
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
17344
|
-
const UUID = __webpack_require__(
|
|
17345
|
-
const features_1 = __webpack_require__(
|
|
17553
|
+
const UUID = __webpack_require__(52);
|
|
17554
|
+
const features_1 = __webpack_require__(50);
|
|
17346
17555
|
var FileFormattingOptions;
|
|
17347
17556
|
(function (FileFormattingOptions) {
|
|
17348
17557
|
function fromConfiguration(document) {
|
|
@@ -17403,7 +17612,9 @@ class DocumentRangeFormattingFeature extends features_1.TextDocumentLanguageFeat
|
|
|
17403
17612
|
super(client, vscode_languageserver_protocol_1.DocumentRangeFormattingRequest.type);
|
|
17404
17613
|
}
|
|
17405
17614
|
fillClientCapabilities(capabilities) {
|
|
17406
|
-
(0, features_1.ensure)((0, features_1.ensure)(capabilities, 'textDocument'), 'rangeFormatting')
|
|
17615
|
+
const capability = (0, features_1.ensure)((0, features_1.ensure)(capabilities, 'textDocument'), 'rangeFormatting');
|
|
17616
|
+
capability.dynamicRegistration = true;
|
|
17617
|
+
capability.rangesSupport = true;
|
|
17407
17618
|
}
|
|
17408
17619
|
initialize(capabilities, documentSelector) {
|
|
17409
17620
|
const options = this.getRegistrationOptions(documentSelector, capabilities.documentRangeFormattingProvider);
|
|
@@ -17438,6 +17649,30 @@ class DocumentRangeFormattingFeature extends features_1.TextDocumentLanguageFeat
|
|
|
17438
17649
|
: provideDocumentRangeFormattingEdits(document, range, options, token);
|
|
17439
17650
|
}
|
|
17440
17651
|
};
|
|
17652
|
+
if (options.rangesSupport) {
|
|
17653
|
+
provider.provideDocumentRangesFormattingEdits = (document, ranges, options, token) => {
|
|
17654
|
+
const client = this._client;
|
|
17655
|
+
const provideDocumentRangesFormattingEdits = (document, ranges, options, token) => {
|
|
17656
|
+
const params = {
|
|
17657
|
+
textDocument: client.code2ProtocolConverter.asTextDocumentIdentifier(document),
|
|
17658
|
+
ranges: client.code2ProtocolConverter.asRanges(ranges),
|
|
17659
|
+
options: client.code2ProtocolConverter.asFormattingOptions(options, FileFormattingOptions.fromConfiguration(document))
|
|
17660
|
+
};
|
|
17661
|
+
return client.sendRequest(vscode_languageserver_protocol_1.DocumentRangesFormattingRequest.type, params, token).then((result) => {
|
|
17662
|
+
if (token.isCancellationRequested) {
|
|
17663
|
+
return null;
|
|
17664
|
+
}
|
|
17665
|
+
return client.protocol2CodeConverter.asTextEdits(result, token);
|
|
17666
|
+
}, (error) => {
|
|
17667
|
+
return client.handleFailedRequest(vscode_languageserver_protocol_1.DocumentRangesFormattingRequest.type, token, error, null);
|
|
17668
|
+
});
|
|
17669
|
+
};
|
|
17670
|
+
const middleware = client.middleware;
|
|
17671
|
+
return middleware.provideDocumentRangesFormattingEdits
|
|
17672
|
+
? middleware.provideDocumentRangesFormattingEdits(document, ranges, options, token, provideDocumentRangesFormattingEdits)
|
|
17673
|
+
: provideDocumentRangesFormattingEdits(document, ranges, options, token);
|
|
17674
|
+
};
|
|
17675
|
+
}
|
|
17441
17676
|
return [vscode_1.languages.registerDocumentRangeFormattingEditProvider(this._client.protocol2CodeConverter.asDocumentSelector(selector), provider), provider];
|
|
17442
17677
|
}
|
|
17443
17678
|
}
|
|
@@ -17491,7 +17726,7 @@ exports.DocumentOnTypeFormattingFeature = DocumentOnTypeFormattingFeature;
|
|
|
17491
17726
|
|
|
17492
17727
|
|
|
17493
17728
|
/***/ }),
|
|
17494
|
-
/*
|
|
17729
|
+
/* 86 */
|
|
17495
17730
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
17496
17731
|
|
|
17497
17732
|
"use strict";
|
|
@@ -17504,9 +17739,9 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
17504
17739
|
exports.RenameFeature = void 0;
|
|
17505
17740
|
const vscode_1 = __webpack_require__(1);
|
|
17506
17741
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
17507
|
-
const UUID = __webpack_require__(
|
|
17508
|
-
const Is = __webpack_require__(
|
|
17509
|
-
const features_1 = __webpack_require__(
|
|
17742
|
+
const UUID = __webpack_require__(52);
|
|
17743
|
+
const Is = __webpack_require__(51);
|
|
17744
|
+
const features_1 = __webpack_require__(50);
|
|
17510
17745
|
class RenameFeature extends features_1.TextDocumentLanguageFeature {
|
|
17511
17746
|
constructor(client) {
|
|
17512
17747
|
super(client, vscode_languageserver_protocol_1.RenameRequest.type);
|
|
@@ -17611,7 +17846,7 @@ exports.RenameFeature = RenameFeature;
|
|
|
17611
17846
|
|
|
17612
17847
|
|
|
17613
17848
|
/***/ }),
|
|
17614
|
-
/*
|
|
17849
|
+
/* 87 */
|
|
17615
17850
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
17616
17851
|
|
|
17617
17852
|
"use strict";
|
|
@@ -17624,8 +17859,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
17624
17859
|
exports.DocumentLinkFeature = void 0;
|
|
17625
17860
|
const vscode_1 = __webpack_require__(1);
|
|
17626
17861
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
17627
|
-
const features_1 = __webpack_require__(
|
|
17628
|
-
const UUID = __webpack_require__(
|
|
17862
|
+
const features_1 = __webpack_require__(50);
|
|
17863
|
+
const UUID = __webpack_require__(52);
|
|
17629
17864
|
class DocumentLinkFeature extends features_1.TextDocumentLanguageFeature {
|
|
17630
17865
|
constructor(client) {
|
|
17631
17866
|
super(client, vscode_languageserver_protocol_1.DocumentLinkRequest.type);
|
|
@@ -17689,7 +17924,7 @@ exports.DocumentLinkFeature = DocumentLinkFeature;
|
|
|
17689
17924
|
|
|
17690
17925
|
|
|
17691
17926
|
/***/ }),
|
|
17692
|
-
/*
|
|
17927
|
+
/* 88 */
|
|
17693
17928
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
17694
17929
|
|
|
17695
17930
|
"use strict";
|
|
@@ -17702,8 +17937,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
17702
17937
|
exports.ExecuteCommandFeature = void 0;
|
|
17703
17938
|
const vscode_1 = __webpack_require__(1);
|
|
17704
17939
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
17705
|
-
const UUID = __webpack_require__(
|
|
17706
|
-
const features_1 = __webpack_require__(
|
|
17940
|
+
const UUID = __webpack_require__(52);
|
|
17941
|
+
const features_1 = __webpack_require__(50);
|
|
17707
17942
|
class ExecuteCommandFeature {
|
|
17708
17943
|
constructor(client) {
|
|
17709
17944
|
this._client = client;
|
|
@@ -17757,7 +17992,7 @@ class ExecuteCommandFeature {
|
|
|
17757
17992
|
disposables.forEach(disposable => disposable.dispose());
|
|
17758
17993
|
}
|
|
17759
17994
|
}
|
|
17760
|
-
|
|
17995
|
+
clear() {
|
|
17761
17996
|
this._commands.forEach((value) => {
|
|
17762
17997
|
value.forEach(disposable => disposable.dispose());
|
|
17763
17998
|
});
|
|
@@ -17768,7 +18003,7 @@ exports.ExecuteCommandFeature = ExecuteCommandFeature;
|
|
|
17768
18003
|
|
|
17769
18004
|
|
|
17770
18005
|
/***/ }),
|
|
17771
|
-
/*
|
|
18006
|
+
/* 89 */
|
|
17772
18007
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
17773
18008
|
|
|
17774
18009
|
"use strict";
|
|
@@ -17781,7 +18016,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
17781
18016
|
exports.FileSystemWatcherFeature = void 0;
|
|
17782
18017
|
const vscode_1 = __webpack_require__(1);
|
|
17783
18018
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
17784
|
-
const features_1 = __webpack_require__(
|
|
18019
|
+
const features_1 = __webpack_require__(50);
|
|
17785
18020
|
class FileSystemWatcherFeature {
|
|
17786
18021
|
constructor(client, notifyFileEvent) {
|
|
17787
18022
|
this._client = client;
|
|
@@ -17857,7 +18092,7 @@ class FileSystemWatcherFeature {
|
|
|
17857
18092
|
}
|
|
17858
18093
|
}
|
|
17859
18094
|
}
|
|
17860
|
-
|
|
18095
|
+
clear() {
|
|
17861
18096
|
this._watchers.forEach((disposables) => {
|
|
17862
18097
|
for (let disposable of disposables) {
|
|
17863
18098
|
disposable.dispose();
|
|
@@ -17870,7 +18105,7 @@ exports.FileSystemWatcherFeature = FileSystemWatcherFeature;
|
|
|
17870
18105
|
|
|
17871
18106
|
|
|
17872
18107
|
/***/ }),
|
|
17873
|
-
/*
|
|
18108
|
+
/* 90 */
|
|
17874
18109
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
17875
18110
|
|
|
17876
18111
|
"use strict";
|
|
@@ -17883,7 +18118,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
17883
18118
|
exports.ColorProviderFeature = void 0;
|
|
17884
18119
|
const vscode_1 = __webpack_require__(1);
|
|
17885
18120
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
17886
|
-
const features_1 = __webpack_require__(
|
|
18121
|
+
const features_1 = __webpack_require__(50);
|
|
17887
18122
|
class ColorProviderFeature extends features_1.TextDocumentLanguageFeature {
|
|
17888
18123
|
constructor(client) {
|
|
17889
18124
|
super(client, vscode_languageserver_protocol_1.DocumentColorRequest.type);
|
|
@@ -17951,7 +18186,7 @@ exports.ColorProviderFeature = ColorProviderFeature;
|
|
|
17951
18186
|
|
|
17952
18187
|
|
|
17953
18188
|
/***/ }),
|
|
17954
|
-
/*
|
|
18189
|
+
/* 91 */
|
|
17955
18190
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
17956
18191
|
|
|
17957
18192
|
"use strict";
|
|
@@ -17964,7 +18199,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
17964
18199
|
exports.ImplementationFeature = void 0;
|
|
17965
18200
|
const vscode_1 = __webpack_require__(1);
|
|
17966
18201
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
17967
|
-
const features_1 = __webpack_require__(
|
|
18202
|
+
const features_1 = __webpack_require__(50);
|
|
17968
18203
|
class ImplementationFeature extends features_1.TextDocumentLanguageFeature {
|
|
17969
18204
|
constructor(client) {
|
|
17970
18205
|
super(client, vscode_languageserver_protocol_1.ImplementationRequest.type);
|
|
@@ -18012,7 +18247,7 @@ exports.ImplementationFeature = ImplementationFeature;
|
|
|
18012
18247
|
|
|
18013
18248
|
|
|
18014
18249
|
/***/ }),
|
|
18015
|
-
/*
|
|
18250
|
+
/* 92 */
|
|
18016
18251
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
18017
18252
|
|
|
18018
18253
|
"use strict";
|
|
@@ -18025,7 +18260,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
18025
18260
|
exports.TypeDefinitionFeature = void 0;
|
|
18026
18261
|
const vscode_1 = __webpack_require__(1);
|
|
18027
18262
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
18028
|
-
const features_1 = __webpack_require__(
|
|
18263
|
+
const features_1 = __webpack_require__(50);
|
|
18029
18264
|
class TypeDefinitionFeature extends features_1.TextDocumentLanguageFeature {
|
|
18030
18265
|
constructor(client) {
|
|
18031
18266
|
super(client, vscode_languageserver_protocol_1.TypeDefinitionRequest.type);
|
|
@@ -18074,7 +18309,7 @@ exports.TypeDefinitionFeature = TypeDefinitionFeature;
|
|
|
18074
18309
|
|
|
18075
18310
|
|
|
18076
18311
|
/***/ }),
|
|
18077
|
-
/*
|
|
18312
|
+
/* 93 */
|
|
18078
18313
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
18079
18314
|
|
|
18080
18315
|
"use strict";
|
|
@@ -18085,7 +18320,7 @@ exports.TypeDefinitionFeature = TypeDefinitionFeature;
|
|
|
18085
18320
|
* ------------------------------------------------------------------------------------------ */
|
|
18086
18321
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
18087
18322
|
exports.WorkspaceFoldersFeature = exports.arrayDiff = void 0;
|
|
18088
|
-
const UUID = __webpack_require__(
|
|
18323
|
+
const UUID = __webpack_require__(52);
|
|
18089
18324
|
const vscode_1 = __webpack_require__(1);
|
|
18090
18325
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
18091
18326
|
function access(target, key) {
|
|
@@ -18212,7 +18447,7 @@ class WorkspaceFoldersFeature {
|
|
|
18212
18447
|
this._listeners.delete(id);
|
|
18213
18448
|
disposable.dispose();
|
|
18214
18449
|
}
|
|
18215
|
-
|
|
18450
|
+
clear() {
|
|
18216
18451
|
for (let disposable of this._listeners.values()) {
|
|
18217
18452
|
disposable.dispose();
|
|
18218
18453
|
}
|
|
@@ -18229,7 +18464,7 @@ exports.WorkspaceFoldersFeature = WorkspaceFoldersFeature;
|
|
|
18229
18464
|
|
|
18230
18465
|
|
|
18231
18466
|
/***/ }),
|
|
18232
|
-
/*
|
|
18467
|
+
/* 94 */
|
|
18233
18468
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
18234
18469
|
|
|
18235
18470
|
"use strict";
|
|
@@ -18242,7 +18477,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
18242
18477
|
exports.FoldingRangeFeature = void 0;
|
|
18243
18478
|
const vscode_1 = __webpack_require__(1);
|
|
18244
18479
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
18245
|
-
const features_1 = __webpack_require__(
|
|
18480
|
+
const features_1 = __webpack_require__(50);
|
|
18246
18481
|
class FoldingRangeFeature extends features_1.TextDocumentLanguageFeature {
|
|
18247
18482
|
constructor(client) {
|
|
18248
18483
|
super(client, vscode_languageserver_protocol_1.FoldingRangeRequest.type);
|
|
@@ -18293,7 +18528,7 @@ exports.FoldingRangeFeature = FoldingRangeFeature;
|
|
|
18293
18528
|
|
|
18294
18529
|
|
|
18295
18530
|
/***/ }),
|
|
18296
|
-
/*
|
|
18531
|
+
/* 95 */
|
|
18297
18532
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
18298
18533
|
|
|
18299
18534
|
"use strict";
|
|
@@ -18306,7 +18541,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
18306
18541
|
exports.DeclarationFeature = void 0;
|
|
18307
18542
|
const vscode_1 = __webpack_require__(1);
|
|
18308
18543
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
18309
|
-
const features_1 = __webpack_require__(
|
|
18544
|
+
const features_1 = __webpack_require__(50);
|
|
18310
18545
|
class DeclarationFeature extends features_1.TextDocumentLanguageFeature {
|
|
18311
18546
|
constructor(client) {
|
|
18312
18547
|
super(client, vscode_languageserver_protocol_1.DeclarationRequest.type);
|
|
@@ -18354,7 +18589,7 @@ exports.DeclarationFeature = DeclarationFeature;
|
|
|
18354
18589
|
|
|
18355
18590
|
|
|
18356
18591
|
/***/ }),
|
|
18357
|
-
/*
|
|
18592
|
+
/* 96 */
|
|
18358
18593
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
18359
18594
|
|
|
18360
18595
|
"use strict";
|
|
@@ -18367,7 +18602,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
18367
18602
|
exports.SelectionRangeFeature = void 0;
|
|
18368
18603
|
const vscode_1 = __webpack_require__(1);
|
|
18369
18604
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
18370
|
-
const features_1 = __webpack_require__(
|
|
18605
|
+
const features_1 = __webpack_require__(50);
|
|
18371
18606
|
class SelectionRangeFeature extends features_1.TextDocumentLanguageFeature {
|
|
18372
18607
|
constructor(client) {
|
|
18373
18608
|
super(client, vscode_languageserver_protocol_1.SelectionRangeRequest.type);
|
|
@@ -18418,7 +18653,7 @@ exports.SelectionRangeFeature = SelectionRangeFeature;
|
|
|
18418
18653
|
|
|
18419
18654
|
|
|
18420
18655
|
/***/ }),
|
|
18421
|
-
/*
|
|
18656
|
+
/* 97 */
|
|
18422
18657
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
18423
18658
|
|
|
18424
18659
|
"use strict";
|
|
@@ -18430,7 +18665,7 @@ exports.SelectionRangeFeature = SelectionRangeFeature;
|
|
|
18430
18665
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
18431
18666
|
exports.ProgressFeature = void 0;
|
|
18432
18667
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
18433
|
-
const progressPart_1 = __webpack_require__(
|
|
18668
|
+
const progressPart_1 = __webpack_require__(71);
|
|
18434
18669
|
function ensure(target, key) {
|
|
18435
18670
|
if (target[key] === void 0) {
|
|
18436
18671
|
target[key] = Object.create(null);
|
|
@@ -18458,7 +18693,7 @@ class ProgressFeature {
|
|
|
18458
18693
|
};
|
|
18459
18694
|
client.onRequest(vscode_languageserver_protocol_1.WorkDoneProgressCreateRequest.type, createHandler);
|
|
18460
18695
|
}
|
|
18461
|
-
|
|
18696
|
+
clear() {
|
|
18462
18697
|
for (const part of this.activeParts) {
|
|
18463
18698
|
part.done();
|
|
18464
18699
|
}
|
|
@@ -18469,7 +18704,7 @@ exports.ProgressFeature = ProgressFeature;
|
|
|
18469
18704
|
|
|
18470
18705
|
|
|
18471
18706
|
/***/ }),
|
|
18472
|
-
/*
|
|
18707
|
+
/* 98 */
|
|
18473
18708
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
18474
18709
|
|
|
18475
18710
|
"use strict";
|
|
@@ -18482,7 +18717,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
18482
18717
|
exports.CallHierarchyFeature = void 0;
|
|
18483
18718
|
const vscode_1 = __webpack_require__(1);
|
|
18484
18719
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
18485
|
-
const features_1 = __webpack_require__(
|
|
18720
|
+
const features_1 = __webpack_require__(50);
|
|
18486
18721
|
class CallHierarchyProvider {
|
|
18487
18722
|
constructor(client) {
|
|
18488
18723
|
this.client = client;
|
|
@@ -18573,7 +18808,7 @@ exports.CallHierarchyFeature = CallHierarchyFeature;
|
|
|
18573
18808
|
|
|
18574
18809
|
|
|
18575
18810
|
/***/ }),
|
|
18576
|
-
/*
|
|
18811
|
+
/* 99 */
|
|
18577
18812
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
18578
18813
|
|
|
18579
18814
|
"use strict";
|
|
@@ -18586,8 +18821,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
18586
18821
|
exports.SemanticTokensFeature = void 0;
|
|
18587
18822
|
const vscode = __webpack_require__(1);
|
|
18588
18823
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
18589
|
-
const features_1 = __webpack_require__(
|
|
18590
|
-
const Is = __webpack_require__(
|
|
18824
|
+
const features_1 = __webpack_require__(50);
|
|
18825
|
+
const Is = __webpack_require__(51);
|
|
18591
18826
|
class SemanticTokensFeature extends features_1.TextDocumentLanguageFeature {
|
|
18592
18827
|
constructor(client) {
|
|
18593
18828
|
super(client, vscode_languageserver_protocol_1.SemanticTokensRegistrationType.type);
|
|
@@ -18759,7 +18994,7 @@ exports.SemanticTokensFeature = SemanticTokensFeature;
|
|
|
18759
18994
|
|
|
18760
18995
|
|
|
18761
18996
|
/***/ }),
|
|
18762
|
-
/*
|
|
18997
|
+
/* 100 */
|
|
18763
18998
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
18764
18999
|
|
|
18765
19000
|
"use strict";
|
|
@@ -18771,9 +19006,9 @@ exports.SemanticTokensFeature = SemanticTokensFeature;
|
|
|
18771
19006
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
18772
19007
|
exports.WillDeleteFilesFeature = exports.WillRenameFilesFeature = exports.WillCreateFilesFeature = exports.DidDeleteFilesFeature = exports.DidRenameFilesFeature = exports.DidCreateFilesFeature = void 0;
|
|
18773
19008
|
const code = __webpack_require__(1);
|
|
18774
|
-
const minimatch = __webpack_require__(
|
|
19009
|
+
const minimatch = __webpack_require__(54);
|
|
18775
19010
|
const proto = __webpack_require__(5);
|
|
18776
|
-
const UUID = __webpack_require__(
|
|
19011
|
+
const UUID = __webpack_require__(52);
|
|
18777
19012
|
function ensure(target, key) {
|
|
18778
19013
|
if (target[key] === void 0) {
|
|
18779
19014
|
target[key] = {};
|
|
@@ -18845,7 +19080,7 @@ class FileOperationFeature {
|
|
|
18845
19080
|
this._listener = undefined;
|
|
18846
19081
|
}
|
|
18847
19082
|
}
|
|
18848
|
-
|
|
19083
|
+
clear() {
|
|
18849
19084
|
this._filters.clear();
|
|
18850
19085
|
if (this._listener) {
|
|
18851
19086
|
this._listener.dispose();
|
|
@@ -18969,8 +19204,8 @@ class CachingNotificationFileOperationFeature extends NotificationFileOperationF
|
|
|
18969
19204
|
this._willListener = undefined;
|
|
18970
19205
|
}
|
|
18971
19206
|
}
|
|
18972
|
-
|
|
18973
|
-
super.
|
|
19207
|
+
clear() {
|
|
19208
|
+
super.clear();
|
|
18974
19209
|
if (this._willListener) {
|
|
18975
19210
|
this._willListener.dispose();
|
|
18976
19211
|
this._willListener = undefined;
|
|
@@ -19099,7 +19334,7 @@ exports.WillDeleteFilesFeature = WillDeleteFilesFeature;
|
|
|
19099
19334
|
|
|
19100
19335
|
|
|
19101
19336
|
/***/ }),
|
|
19102
|
-
/*
|
|
19337
|
+
/* 101 */
|
|
19103
19338
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
19104
19339
|
|
|
19105
19340
|
"use strict";
|
|
@@ -19112,7 +19347,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
19112
19347
|
exports.LinkedEditingFeature = void 0;
|
|
19113
19348
|
const code = __webpack_require__(1);
|
|
19114
19349
|
const proto = __webpack_require__(5);
|
|
19115
|
-
const features_1 = __webpack_require__(
|
|
19350
|
+
const features_1 = __webpack_require__(50);
|
|
19116
19351
|
class LinkedEditingFeature extends features_1.TextDocumentLanguageFeature {
|
|
19117
19352
|
constructor(client) {
|
|
19118
19353
|
super(client, proto.LinkedEditingRangeRequest.type);
|
|
@@ -19159,7 +19394,7 @@ exports.LinkedEditingFeature = LinkedEditingFeature;
|
|
|
19159
19394
|
|
|
19160
19395
|
|
|
19161
19396
|
/***/ }),
|
|
19162
|
-
/*
|
|
19397
|
+
/* 102 */
|
|
19163
19398
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
19164
19399
|
|
|
19165
19400
|
"use strict";
|
|
@@ -19172,7 +19407,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
19172
19407
|
exports.TypeHierarchyFeature = void 0;
|
|
19173
19408
|
const vscode_1 = __webpack_require__(1);
|
|
19174
19409
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
19175
|
-
const features_1 = __webpack_require__(
|
|
19410
|
+
const features_1 = __webpack_require__(50);
|
|
19176
19411
|
class TypeHierarchyProvider {
|
|
19177
19412
|
constructor(client) {
|
|
19178
19413
|
this.client = client;
|
|
@@ -19262,7 +19497,7 @@ exports.TypeHierarchyFeature = TypeHierarchyFeature;
|
|
|
19262
19497
|
|
|
19263
19498
|
|
|
19264
19499
|
/***/ }),
|
|
19265
|
-
/*
|
|
19500
|
+
/* 103 */
|
|
19266
19501
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
19267
19502
|
|
|
19268
19503
|
"use strict";
|
|
@@ -19275,7 +19510,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
19275
19510
|
exports.InlineValueFeature = void 0;
|
|
19276
19511
|
const vscode_1 = __webpack_require__(1);
|
|
19277
19512
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
19278
|
-
const features_1 = __webpack_require__(
|
|
19513
|
+
const features_1 = __webpack_require__(50);
|
|
19279
19514
|
class InlineValueFeature extends features_1.TextDocumentLanguageFeature {
|
|
19280
19515
|
constructor(client) {
|
|
19281
19516
|
super(client, vscode_languageserver_protocol_1.InlineValueRequest.type);
|
|
@@ -19334,7 +19569,7 @@ exports.InlineValueFeature = InlineValueFeature;
|
|
|
19334
19569
|
|
|
19335
19570
|
|
|
19336
19571
|
/***/ }),
|
|
19337
|
-
/*
|
|
19572
|
+
/* 104 */
|
|
19338
19573
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
19339
19574
|
|
|
19340
19575
|
"use strict";
|
|
@@ -19347,7 +19582,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
19347
19582
|
exports.InlayHintsFeature = void 0;
|
|
19348
19583
|
const vscode_1 = __webpack_require__(1);
|
|
19349
19584
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
19350
|
-
const features_1 = __webpack_require__(
|
|
19585
|
+
const features_1 = __webpack_require__(50);
|
|
19351
19586
|
class InlayHintsFeature extends features_1.TextDocumentLanguageFeature {
|
|
19352
19587
|
constructor(client) {
|
|
19353
19588
|
super(client, vscode_languageserver_protocol_1.InlayHintRequest.type);
|
|
@@ -19433,7 +19668,68 @@ exports.InlayHintsFeature = InlayHintsFeature;
|
|
|
19433
19668
|
|
|
19434
19669
|
|
|
19435
19670
|
/***/ }),
|
|
19436
|
-
/*
|
|
19671
|
+
/* 105 */
|
|
19672
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
19673
|
+
|
|
19674
|
+
"use strict";
|
|
19675
|
+
|
|
19676
|
+
/* --------------------------------------------------------------------------------------------
|
|
19677
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
19678
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
19679
|
+
* ------------------------------------------------------------------------------------------ */
|
|
19680
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
19681
|
+
exports.InlineCompletionItemFeature = void 0;
|
|
19682
|
+
const vscode_1 = __webpack_require__(1);
|
|
19683
|
+
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
19684
|
+
const features_1 = __webpack_require__(50);
|
|
19685
|
+
const UUID = __webpack_require__(52);
|
|
19686
|
+
class InlineCompletionItemFeature extends features_1.TextDocumentLanguageFeature {
|
|
19687
|
+
constructor(client) {
|
|
19688
|
+
super(client, vscode_languageserver_protocol_1.InlineCompletionRequest.type);
|
|
19689
|
+
}
|
|
19690
|
+
fillClientCapabilities(capabilities) {
|
|
19691
|
+
let inlineCompletion = (0, features_1.ensure)((0, features_1.ensure)(capabilities, 'textDocument'), 'inlineCompletion');
|
|
19692
|
+
inlineCompletion.dynamicRegistration = true;
|
|
19693
|
+
}
|
|
19694
|
+
initialize(capabilities, documentSelector) {
|
|
19695
|
+
const options = this.getRegistrationOptions(documentSelector, capabilities.inlineCompletionProvider);
|
|
19696
|
+
if (!options) {
|
|
19697
|
+
return;
|
|
19698
|
+
}
|
|
19699
|
+
this.register({
|
|
19700
|
+
id: UUID.generateUuid(),
|
|
19701
|
+
registerOptions: options
|
|
19702
|
+
});
|
|
19703
|
+
}
|
|
19704
|
+
registerLanguageProvider(options) {
|
|
19705
|
+
const selector = options.documentSelector;
|
|
19706
|
+
const provider = {
|
|
19707
|
+
provideInlineCompletionItems: (document, position, context, token) => {
|
|
19708
|
+
const client = this._client;
|
|
19709
|
+
const middleware = this._client.middleware;
|
|
19710
|
+
const provideInlineCompletionItems = (document, position, context, token) => {
|
|
19711
|
+
return client.sendRequest(vscode_languageserver_protocol_1.InlineCompletionRequest.type, client.code2ProtocolConverter.asInlineCompletionParams(document, position, context), token).then((result) => {
|
|
19712
|
+
if (token.isCancellationRequested) {
|
|
19713
|
+
return null;
|
|
19714
|
+
}
|
|
19715
|
+
return client.protocol2CodeConverter.asInlineCompletionResult(result, token);
|
|
19716
|
+
}, (error) => {
|
|
19717
|
+
return client.handleFailedRequest(vscode_languageserver_protocol_1.InlineCompletionRequest.type, token, error, null);
|
|
19718
|
+
});
|
|
19719
|
+
};
|
|
19720
|
+
return middleware.provideInlineCompletionItems
|
|
19721
|
+
? middleware.provideInlineCompletionItems(document, position, context, token, provideInlineCompletionItems)
|
|
19722
|
+
: provideInlineCompletionItems(document, position, context, token);
|
|
19723
|
+
}
|
|
19724
|
+
};
|
|
19725
|
+
return [vscode_1.languages.registerInlineCompletionItemProvider(this._client.protocol2CodeConverter.asDocumentSelector(selector), provider), provider];
|
|
19726
|
+
}
|
|
19727
|
+
}
|
|
19728
|
+
exports.InlineCompletionItemFeature = InlineCompletionItemFeature;
|
|
19729
|
+
|
|
19730
|
+
|
|
19731
|
+
/***/ }),
|
|
19732
|
+
/* 106 */
|
|
19437
19733
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
19438
19734
|
|
|
19439
19735
|
"use strict";
|
|
@@ -19446,7 +19742,7 @@ exports.InlayHintsFeature = InlayHintsFeature;
|
|
|
19446
19742
|
module.exports = __webpack_require__(5);
|
|
19447
19743
|
|
|
19448
19744
|
/***/ }),
|
|
19449
|
-
/*
|
|
19745
|
+
/* 107 */
|
|
19450
19746
|
/***/ ((__unused_webpack_module, exports) => {
|
|
19451
19747
|
|
|
19452
19748
|
"use strict";
|
|
@@ -19510,7 +19806,7 @@ function objectHash(obj, initialHashVal) {
|
|
|
19510
19806
|
|
|
19511
19807
|
|
|
19512
19808
|
/***/ }),
|
|
19513
|
-
/*
|
|
19809
|
+
/* 108 */
|
|
19514
19810
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
19515
19811
|
|
|
19516
19812
|
"use strict";
|
|
@@ -19765,7 +20061,7 @@ exports.createDocumentSymbolsLimitItem = createDocumentSymbolsLimitItem;
|
|
|
19765
20061
|
|
|
19766
20062
|
|
|
19767
20063
|
/***/ }),
|
|
19768
|
-
/*
|
|
20064
|
+
/* 109 */
|
|
19769
20065
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
19770
20066
|
|
|
19771
20067
|
"use strict";
|
|
@@ -19848,7 +20144,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
19848
20144
|
exports.deactivate = exports.activate = void 0;
|
|
19849
20145
|
const vscode_1 = __webpack_require__(1);
|
|
19850
20146
|
const jsonClient_1 = __webpack_require__(2);
|
|
19851
|
-
const browser_1 = __webpack_require__(
|
|
20147
|
+
const browser_1 = __webpack_require__(109);
|
|
19852
20148
|
let client;
|
|
19853
20149
|
// this method is called when vs code is activated
|
|
19854
20150
|
async function activate(context) {
|