@codingame/monaco-vscode-css-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/cssClientMain.js +692 -421
- package/cssClientMain.js.map +1 -1
- package/cssServerMain.js +1415 -764
- package/cssServerMain.js.map +1 -1
- package/index.d.ts +2 -0
- package/index.js +4 -2
- package/package.json +4 -3
package/cssClientMain.js
CHANGED
|
@@ -21,8 +21,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
21
21
|
exports.startClient = void 0;
|
|
22
22
|
const vscode_1 = __webpack_require__(1);
|
|
23
23
|
const vscode_languageclient_1 = __webpack_require__(3);
|
|
24
|
-
const customData_1 = __webpack_require__(
|
|
25
|
-
const requests_1 = __webpack_require__(
|
|
24
|
+
const customData_1 = __webpack_require__(107);
|
|
25
|
+
const requests_1 = __webpack_require__(109);
|
|
26
26
|
var CustomDataChangedNotification;
|
|
27
27
|
(function (CustomDataChangedNotification) {
|
|
28
28
|
CustomDataChangedNotification.type = new vscode_languageclient_1.NotificationType('css/customDataChanged');
|
|
@@ -210,8 +210,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
210
210
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
211
211
|
exports.LanguageClient = void 0;
|
|
212
212
|
const api_1 = __webpack_require__(4);
|
|
213
|
-
const browser_1 = __webpack_require__(
|
|
214
|
-
__exportStar(__webpack_require__(
|
|
213
|
+
const browser_1 = __webpack_require__(106);
|
|
214
|
+
__exportStar(__webpack_require__(106), exports);
|
|
215
215
|
__exportStar(__webpack_require__(4), exports);
|
|
216
216
|
class LanguageClient extends api_1.BaseLanguageClient {
|
|
217
217
|
constructor(id, name, clientOptions, worker) {
|
|
@@ -254,11 +254,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
254
254
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
255
255
|
exports.DiagnosticPullMode = exports.vsdiag = void 0;
|
|
256
256
|
__exportStar(__webpack_require__(5), exports);
|
|
257
|
-
__exportStar(__webpack_require__(
|
|
258
|
-
var diagnostic_1 = __webpack_require__(
|
|
257
|
+
__exportStar(__webpack_require__(50), exports);
|
|
258
|
+
var diagnostic_1 = __webpack_require__(53);
|
|
259
259
|
Object.defineProperty(exports, "vsdiag", ({ enumerable: true, get: function () { return diagnostic_1.vsdiag; } }));
|
|
260
260
|
Object.defineProperty(exports, "DiagnosticPullMode", ({ enumerable: true, get: function () { return diagnostic_1.DiagnosticPullMode; } }));
|
|
261
|
-
__exportStar(__webpack_require__(
|
|
261
|
+
__exportStar(__webpack_require__(58), exports);
|
|
262
262
|
|
|
263
263
|
|
|
264
264
|
/***/ }),
|
|
@@ -711,7 +711,7 @@ var ErrorCodes;
|
|
|
711
711
|
ErrorCodes.jsonrpcReservedErrorRangeEnd = -32000;
|
|
712
712
|
/** @deprecated use jsonrpcReservedErrorRangeEnd */
|
|
713
713
|
ErrorCodes.serverErrorEnd = -32000;
|
|
714
|
-
})(ErrorCodes
|
|
714
|
+
})(ErrorCodes || (exports.ErrorCodes = ErrorCodes = {}));
|
|
715
715
|
/**
|
|
716
716
|
* An error object return in a response in case a request
|
|
717
717
|
* has failed.
|
|
@@ -953,7 +953,7 @@ var Message;
|
|
|
953
953
|
return candidate && (candidate.result !== void 0 || !!candidate.error) && (is.string(candidate.id) || is.number(candidate.id) || candidate.id === null);
|
|
954
954
|
}
|
|
955
955
|
Message.isResponse = isResponse;
|
|
956
|
-
})(Message
|
|
956
|
+
})(Message || (exports.Message = Message = {}));
|
|
957
957
|
|
|
958
958
|
|
|
959
959
|
/***/ }),
|
|
@@ -1018,7 +1018,7 @@ var Touch;
|
|
|
1018
1018
|
Touch.AsOld = Touch.First;
|
|
1019
1019
|
Touch.Last = 2;
|
|
1020
1020
|
Touch.AsNew = Touch.Last;
|
|
1021
|
-
})(Touch
|
|
1021
|
+
})(Touch || (exports.Touch = Touch = {}));
|
|
1022
1022
|
class LinkedMap {
|
|
1023
1023
|
constructor() {
|
|
1024
1024
|
this[_a] = 'LinkedMap';
|
|
@@ -1423,7 +1423,7 @@ var Disposable;
|
|
|
1423
1423
|
};
|
|
1424
1424
|
}
|
|
1425
1425
|
Disposable.create = create;
|
|
1426
|
-
})(Disposable
|
|
1426
|
+
})(Disposable || (exports.Disposable = Disposable = {}));
|
|
1427
1427
|
|
|
1428
1428
|
|
|
1429
1429
|
/***/ }),
|
|
@@ -1443,7 +1443,7 @@ var Event;
|
|
|
1443
1443
|
(function (Event) {
|
|
1444
1444
|
const _disposable = { dispose() { } };
|
|
1445
1445
|
Event.None = function () { return _disposable; };
|
|
1446
|
-
})(Event
|
|
1446
|
+
})(Event || (exports.Event = Event = {}));
|
|
1447
1447
|
class CallbackList {
|
|
1448
1448
|
add(callback, context = null, bucket) {
|
|
1449
1449
|
if (!this._callbacks) {
|
|
@@ -1623,7 +1623,7 @@ var CancellationToken;
|
|
|
1623
1623
|
|| (Is.boolean(candidate.isCancellationRequested) && !!candidate.onCancellationRequested));
|
|
1624
1624
|
}
|
|
1625
1625
|
CancellationToken.is = is;
|
|
1626
|
-
})(CancellationToken
|
|
1626
|
+
})(CancellationToken || (exports.CancellationToken = CancellationToken = {}));
|
|
1627
1627
|
const shortcutEvent = Object.freeze(function (callback, context) {
|
|
1628
1628
|
const handle = (0, ral_1.default)().timer.setTimeout(callback.bind(context), 0);
|
|
1629
1629
|
return { dispose() { handle.dispose(); } };
|
|
@@ -1801,7 +1801,7 @@ var MessageReader;
|
|
|
1801
1801
|
Is.func(candidate.onError) && Is.func(candidate.onClose) && Is.func(candidate.onPartialMessage);
|
|
1802
1802
|
}
|
|
1803
1803
|
MessageReader.is = is;
|
|
1804
|
-
})(MessageReader
|
|
1804
|
+
})(MessageReader || (exports.MessageReader = MessageReader = {}));
|
|
1805
1805
|
class AbstractMessageReader {
|
|
1806
1806
|
constructor() {
|
|
1807
1807
|
this.errorEmitter = new events_1.Emitter();
|
|
@@ -2077,7 +2077,7 @@ var MessageWriter;
|
|
|
2077
2077
|
Is.func(candidate.onError) && Is.func(candidate.write);
|
|
2078
2078
|
}
|
|
2079
2079
|
MessageWriter.is = is;
|
|
2080
|
-
})(MessageWriter
|
|
2080
|
+
})(MessageWriter || (exports.MessageWriter = MessageWriter = {}));
|
|
2081
2081
|
class AbstractMessageWriter {
|
|
2082
2082
|
constructor() {
|
|
2083
2083
|
this.errorEmitter = new events_1.Emitter();
|
|
@@ -2360,7 +2360,7 @@ var ProgressToken;
|
|
|
2360
2360
|
return typeof value === 'string' || typeof value === 'number';
|
|
2361
2361
|
}
|
|
2362
2362
|
ProgressToken.is = is;
|
|
2363
|
-
})(ProgressToken
|
|
2363
|
+
})(ProgressToken || (exports.ProgressToken = ProgressToken = {}));
|
|
2364
2364
|
var ProgressNotification;
|
|
2365
2365
|
(function (ProgressNotification) {
|
|
2366
2366
|
ProgressNotification.type = new messages_1.NotificationType('$/progress');
|
|
@@ -2389,7 +2389,7 @@ var Trace;
|
|
|
2389
2389
|
Trace[Trace["Messages"] = 1] = "Messages";
|
|
2390
2390
|
Trace[Trace["Compact"] = 2] = "Compact";
|
|
2391
2391
|
Trace[Trace["Verbose"] = 3] = "Verbose";
|
|
2392
|
-
})(Trace
|
|
2392
|
+
})(Trace || (exports.Trace = Trace = {}));
|
|
2393
2393
|
var TraceValues;
|
|
2394
2394
|
(function (TraceValues) {
|
|
2395
2395
|
/**
|
|
@@ -2408,7 +2408,7 @@ var TraceValues;
|
|
|
2408
2408
|
* Verbose message tracing.
|
|
2409
2409
|
*/
|
|
2410
2410
|
TraceValues.Verbose = 'verbose';
|
|
2411
|
-
})(TraceValues
|
|
2411
|
+
})(TraceValues || (exports.TraceValues = TraceValues = {}));
|
|
2412
2412
|
(function (Trace) {
|
|
2413
2413
|
function fromString(value) {
|
|
2414
2414
|
if (!Is.string(value)) {
|
|
@@ -2444,12 +2444,12 @@ var TraceValues;
|
|
|
2444
2444
|
}
|
|
2445
2445
|
}
|
|
2446
2446
|
Trace.toString = toString;
|
|
2447
|
-
})(Trace
|
|
2447
|
+
})(Trace || (exports.Trace = Trace = {}));
|
|
2448
2448
|
var TraceFormat;
|
|
2449
2449
|
(function (TraceFormat) {
|
|
2450
2450
|
TraceFormat["Text"] = "text";
|
|
2451
2451
|
TraceFormat["JSON"] = "json";
|
|
2452
|
-
})(TraceFormat
|
|
2452
|
+
})(TraceFormat || (exports.TraceFormat = TraceFormat = {}));
|
|
2453
2453
|
(function (TraceFormat) {
|
|
2454
2454
|
function fromString(value) {
|
|
2455
2455
|
if (!Is.string(value)) {
|
|
@@ -2464,15 +2464,15 @@ var TraceFormat;
|
|
|
2464
2464
|
}
|
|
2465
2465
|
}
|
|
2466
2466
|
TraceFormat.fromString = fromString;
|
|
2467
|
-
})(TraceFormat
|
|
2467
|
+
})(TraceFormat || (exports.TraceFormat = TraceFormat = {}));
|
|
2468
2468
|
var SetTraceNotification;
|
|
2469
2469
|
(function (SetTraceNotification) {
|
|
2470
2470
|
SetTraceNotification.type = new messages_1.NotificationType('$/setTrace');
|
|
2471
|
-
})(SetTraceNotification
|
|
2471
|
+
})(SetTraceNotification || (exports.SetTraceNotification = SetTraceNotification = {}));
|
|
2472
2472
|
var LogTraceNotification;
|
|
2473
2473
|
(function (LogTraceNotification) {
|
|
2474
2474
|
LogTraceNotification.type = new messages_1.NotificationType('$/logTrace');
|
|
2475
|
-
})(LogTraceNotification
|
|
2475
|
+
})(LogTraceNotification || (exports.LogTraceNotification = LogTraceNotification = {}));
|
|
2476
2476
|
var ConnectionErrors;
|
|
2477
2477
|
(function (ConnectionErrors) {
|
|
2478
2478
|
/**
|
|
@@ -2487,7 +2487,7 @@ var ConnectionErrors;
|
|
|
2487
2487
|
* The connection is already in listening mode.
|
|
2488
2488
|
*/
|
|
2489
2489
|
ConnectionErrors[ConnectionErrors["AlreadyListening"] = 3] = "AlreadyListening";
|
|
2490
|
-
})(ConnectionErrors
|
|
2490
|
+
})(ConnectionErrors || (exports.ConnectionErrors = ConnectionErrors = {}));
|
|
2491
2491
|
class ConnectionError extends Error {
|
|
2492
2492
|
constructor(code, message) {
|
|
2493
2493
|
super(message);
|
|
@@ -2503,7 +2503,7 @@ var ConnectionStrategy;
|
|
|
2503
2503
|
return candidate && Is.func(candidate.cancelUndispatched);
|
|
2504
2504
|
}
|
|
2505
2505
|
ConnectionStrategy.is = is;
|
|
2506
|
-
})(ConnectionStrategy
|
|
2506
|
+
})(ConnectionStrategy || (exports.ConnectionStrategy = ConnectionStrategy = {}));
|
|
2507
2507
|
var IdCancellationReceiverStrategy;
|
|
2508
2508
|
(function (IdCancellationReceiverStrategy) {
|
|
2509
2509
|
function is(value) {
|
|
@@ -2511,7 +2511,7 @@ var IdCancellationReceiverStrategy;
|
|
|
2511
2511
|
return candidate && (candidate.kind === undefined || candidate.kind === 'id') && Is.func(candidate.createCancellationTokenSource) && (candidate.dispose === undefined || Is.func(candidate.dispose));
|
|
2512
2512
|
}
|
|
2513
2513
|
IdCancellationReceiverStrategy.is = is;
|
|
2514
|
-
})(IdCancellationReceiverStrategy
|
|
2514
|
+
})(IdCancellationReceiverStrategy || (exports.IdCancellationReceiverStrategy = IdCancellationReceiverStrategy = {}));
|
|
2515
2515
|
var RequestCancellationReceiverStrategy;
|
|
2516
2516
|
(function (RequestCancellationReceiverStrategy) {
|
|
2517
2517
|
function is(value) {
|
|
@@ -2519,7 +2519,7 @@ var RequestCancellationReceiverStrategy;
|
|
|
2519
2519
|
return candidate && candidate.kind === 'request' && Is.func(candidate.createCancellationTokenSource) && (candidate.dispose === undefined || Is.func(candidate.dispose));
|
|
2520
2520
|
}
|
|
2521
2521
|
RequestCancellationReceiverStrategy.is = is;
|
|
2522
|
-
})(RequestCancellationReceiverStrategy
|
|
2522
|
+
})(RequestCancellationReceiverStrategy || (exports.RequestCancellationReceiverStrategy = RequestCancellationReceiverStrategy = {}));
|
|
2523
2523
|
var CancellationReceiverStrategy;
|
|
2524
2524
|
(function (CancellationReceiverStrategy) {
|
|
2525
2525
|
CancellationReceiverStrategy.Message = Object.freeze({
|
|
@@ -2531,7 +2531,7 @@ var CancellationReceiverStrategy;
|
|
|
2531
2531
|
return IdCancellationReceiverStrategy.is(value) || RequestCancellationReceiverStrategy.is(value);
|
|
2532
2532
|
}
|
|
2533
2533
|
CancellationReceiverStrategy.is = is;
|
|
2534
|
-
})(CancellationReceiverStrategy
|
|
2534
|
+
})(CancellationReceiverStrategy || (exports.CancellationReceiverStrategy = CancellationReceiverStrategy = {}));
|
|
2535
2535
|
var CancellationSenderStrategy;
|
|
2536
2536
|
(function (CancellationSenderStrategy) {
|
|
2537
2537
|
CancellationSenderStrategy.Message = Object.freeze({
|
|
@@ -2545,7 +2545,7 @@ var CancellationSenderStrategy;
|
|
|
2545
2545
|
return candidate && Is.func(candidate.sendCancellation) && Is.func(candidate.cleanup);
|
|
2546
2546
|
}
|
|
2547
2547
|
CancellationSenderStrategy.is = is;
|
|
2548
|
-
})(CancellationSenderStrategy
|
|
2548
|
+
})(CancellationSenderStrategy || (exports.CancellationSenderStrategy = CancellationSenderStrategy = {}));
|
|
2549
2549
|
var CancellationStrategy;
|
|
2550
2550
|
(function (CancellationStrategy) {
|
|
2551
2551
|
CancellationStrategy.Message = Object.freeze({
|
|
@@ -2557,7 +2557,7 @@ var CancellationStrategy;
|
|
|
2557
2557
|
return candidate && CancellationReceiverStrategy.is(candidate.receiver) && CancellationSenderStrategy.is(candidate.sender);
|
|
2558
2558
|
}
|
|
2559
2559
|
CancellationStrategy.is = is;
|
|
2560
|
-
})(CancellationStrategy
|
|
2560
|
+
})(CancellationStrategy || (exports.CancellationStrategy = CancellationStrategy = {}));
|
|
2561
2561
|
var MessageStrategy;
|
|
2562
2562
|
(function (MessageStrategy) {
|
|
2563
2563
|
function is(value) {
|
|
@@ -2565,7 +2565,7 @@ var MessageStrategy;
|
|
|
2565
2565
|
return candidate && Is.func(candidate.handleMessage);
|
|
2566
2566
|
}
|
|
2567
2567
|
MessageStrategy.is = is;
|
|
2568
|
-
})(MessageStrategy
|
|
2568
|
+
})(MessageStrategy || (exports.MessageStrategy = MessageStrategy = {}));
|
|
2569
2569
|
var ConnectionOptions;
|
|
2570
2570
|
(function (ConnectionOptions) {
|
|
2571
2571
|
function is(value) {
|
|
@@ -2573,7 +2573,7 @@ var ConnectionOptions;
|
|
|
2573
2573
|
return candidate && (CancellationStrategy.is(candidate.cancellationStrategy) || ConnectionStrategy.is(candidate.connectionStrategy) || MessageStrategy.is(candidate.messageStrategy));
|
|
2574
2574
|
}
|
|
2575
2575
|
ConnectionOptions.is = is;
|
|
2576
|
-
})(ConnectionOptions
|
|
2576
|
+
})(ConnectionOptions || (exports.ConnectionOptions = ConnectionOptions = {}));
|
|
2577
2577
|
var ConnectionState;
|
|
2578
2578
|
(function (ConnectionState) {
|
|
2579
2579
|
ConnectionState[ConnectionState["New"] = 1] = "New";
|
|
@@ -3581,7 +3581,7 @@ __exportStar(__webpack_require__(7), exports);
|
|
|
3581
3581
|
__exportStar(__webpack_require__(24), exports);
|
|
3582
3582
|
__exportStar(__webpack_require__(25), exports);
|
|
3583
3583
|
__exportStar(__webpack_require__(26), exports);
|
|
3584
|
-
var connection_1 = __webpack_require__(
|
|
3584
|
+
var connection_1 = __webpack_require__(49);
|
|
3585
3585
|
Object.defineProperty(exports, "createProtocolConnection", ({ enumerable: true, get: function () { return connection_1.createProtocolConnection; } }));
|
|
3586
3586
|
var LSPErrorCodes;
|
|
3587
3587
|
(function (LSPErrorCodes) {
|
|
@@ -3632,7 +3632,7 @@ var LSPErrorCodes;
|
|
|
3632
3632
|
* @since 3.16.0
|
|
3633
3633
|
*/
|
|
3634
3634
|
LSPErrorCodes.lspReservedErrorRangeEnd = -32800;
|
|
3635
|
-
})(LSPErrorCodes
|
|
3635
|
+
})(LSPErrorCodes || (exports.LSPErrorCodes = LSPErrorCodes = {}));
|
|
3636
3636
|
|
|
3637
3637
|
|
|
3638
3638
|
/***/ }),
|
|
@@ -3679,6 +3679,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3679
3679
|
/* harmony export */ "InlayHint": () => (/* binding */ InlayHint),
|
|
3680
3680
|
/* harmony export */ "InlayHintKind": () => (/* binding */ InlayHintKind),
|
|
3681
3681
|
/* harmony export */ "InlayHintLabelPart": () => (/* binding */ InlayHintLabelPart),
|
|
3682
|
+
/* harmony export */ "InlineCompletionContext": () => (/* binding */ InlineCompletionContext),
|
|
3683
|
+
/* harmony export */ "InlineCompletionItem": () => (/* binding */ InlineCompletionItem),
|
|
3684
|
+
/* harmony export */ "InlineCompletionList": () => (/* binding */ InlineCompletionList),
|
|
3685
|
+
/* harmony export */ "InlineCompletionTriggerKind": () => (/* binding */ InlineCompletionTriggerKind),
|
|
3682
3686
|
/* harmony export */ "InlineValueContext": () => (/* binding */ InlineValueContext),
|
|
3683
3687
|
/* harmony export */ "InlineValueEvaluatableExpression": () => (/* binding */ InlineValueEvaluatableExpression),
|
|
3684
3688
|
/* harmony export */ "InlineValueText": () => (/* binding */ InlineValueText),
|
|
@@ -3696,11 +3700,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3696
3700
|
/* harmony export */ "Position": () => (/* binding */ Position),
|
|
3697
3701
|
/* harmony export */ "Range": () => (/* binding */ Range),
|
|
3698
3702
|
/* harmony export */ "RenameFile": () => (/* binding */ RenameFile),
|
|
3703
|
+
/* harmony export */ "SelectedCompletionInfo": () => (/* binding */ SelectedCompletionInfo),
|
|
3699
3704
|
/* harmony export */ "SelectionRange": () => (/* binding */ SelectionRange),
|
|
3700
3705
|
/* harmony export */ "SemanticTokenModifiers": () => (/* binding */ SemanticTokenModifiers),
|
|
3701
3706
|
/* harmony export */ "SemanticTokenTypes": () => (/* binding */ SemanticTokenTypes),
|
|
3702
3707
|
/* harmony export */ "SemanticTokens": () => (/* binding */ SemanticTokens),
|
|
3703
3708
|
/* harmony export */ "SignatureInformation": () => (/* binding */ SignatureInformation),
|
|
3709
|
+
/* harmony export */ "StringValue": () => (/* binding */ StringValue),
|
|
3704
3710
|
/* harmony export */ "SymbolInformation": () => (/* binding */ SymbolInformation),
|
|
3705
3711
|
/* harmony export */ "SymbolKind": () => (/* binding */ SymbolKind),
|
|
3706
3712
|
/* harmony export */ "SymbolTag": () => (/* binding */ SymbolTag),
|
|
@@ -5673,6 +5679,58 @@ var InlayHint;
|
|
|
5673
5679
|
}
|
|
5674
5680
|
InlayHint.is = is;
|
|
5675
5681
|
})(InlayHint || (InlayHint = {}));
|
|
5682
|
+
var StringValue;
|
|
5683
|
+
(function (StringValue) {
|
|
5684
|
+
function createSnippet(value) {
|
|
5685
|
+
return { kind: 'snippet', value: value };
|
|
5686
|
+
}
|
|
5687
|
+
StringValue.createSnippet = createSnippet;
|
|
5688
|
+
})(StringValue || (StringValue = {}));
|
|
5689
|
+
var InlineCompletionItem;
|
|
5690
|
+
(function (InlineCompletionItem) {
|
|
5691
|
+
function create(insertText, filterText, range, command) {
|
|
5692
|
+
return { insertText: insertText, filterText: filterText, range: range, command: command };
|
|
5693
|
+
}
|
|
5694
|
+
InlineCompletionItem.create = create;
|
|
5695
|
+
})(InlineCompletionItem || (InlineCompletionItem = {}));
|
|
5696
|
+
var InlineCompletionList;
|
|
5697
|
+
(function (InlineCompletionList) {
|
|
5698
|
+
function create(items) {
|
|
5699
|
+
return { items: items };
|
|
5700
|
+
}
|
|
5701
|
+
InlineCompletionList.create = create;
|
|
5702
|
+
})(InlineCompletionList || (InlineCompletionList = {}));
|
|
5703
|
+
/**
|
|
5704
|
+
* Describes how an {@link InlineCompletionItemProvider inline completion provider} was triggered.
|
|
5705
|
+
*
|
|
5706
|
+
* @since 3.18.0
|
|
5707
|
+
* @proposed
|
|
5708
|
+
*/
|
|
5709
|
+
var InlineCompletionTriggerKind;
|
|
5710
|
+
(function (InlineCompletionTriggerKind) {
|
|
5711
|
+
/**
|
|
5712
|
+
* Completion was triggered explicitly by a user gesture.
|
|
5713
|
+
*/
|
|
5714
|
+
InlineCompletionTriggerKind.Invoked = 0;
|
|
5715
|
+
/**
|
|
5716
|
+
* Completion was triggered automatically while editing.
|
|
5717
|
+
*/
|
|
5718
|
+
InlineCompletionTriggerKind.Automatic = 1;
|
|
5719
|
+
})(InlineCompletionTriggerKind || (InlineCompletionTriggerKind = {}));
|
|
5720
|
+
var SelectedCompletionInfo;
|
|
5721
|
+
(function (SelectedCompletionInfo) {
|
|
5722
|
+
function create(range, text) {
|
|
5723
|
+
return { range: range, text: text };
|
|
5724
|
+
}
|
|
5725
|
+
SelectedCompletionInfo.create = create;
|
|
5726
|
+
})(SelectedCompletionInfo || (SelectedCompletionInfo = {}));
|
|
5727
|
+
var InlineCompletionContext;
|
|
5728
|
+
(function (InlineCompletionContext) {
|
|
5729
|
+
function create(triggerKind, selectedCompletionInfo) {
|
|
5730
|
+
return { triggerKind: triggerKind, selectedCompletionInfo: selectedCompletionInfo };
|
|
5731
|
+
}
|
|
5732
|
+
InlineCompletionContext.create = create;
|
|
5733
|
+
})(InlineCompletionContext || (InlineCompletionContext = {}));
|
|
5676
5734
|
var WorkspaceFolder;
|
|
5677
5735
|
(function (WorkspaceFolder) {
|
|
5678
5736
|
function is(value) {
|
|
@@ -5946,7 +6004,7 @@ var MessageDirection;
|
|
|
5946
6004
|
MessageDirection["clientToServer"] = "clientToServer";
|
|
5947
6005
|
MessageDirection["serverToClient"] = "serverToClient";
|
|
5948
6006
|
MessageDirection["both"] = "both";
|
|
5949
|
-
})(MessageDirection
|
|
6007
|
+
})(MessageDirection || (exports.MessageDirection = MessageDirection = {}));
|
|
5950
6008
|
class RegistrationType {
|
|
5951
6009
|
constructor(method) {
|
|
5952
6010
|
this.method = method;
|
|
@@ -5991,8 +6049,8 @@ exports.ProtocolNotificationType = ProtocolNotificationType;
|
|
|
5991
6049
|
* ------------------------------------------------------------------------------------------ */
|
|
5992
6050
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5993
6051
|
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;
|
|
5994
|
-
exports.
|
|
5995
|
-
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;
|
|
6052
|
+
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;
|
|
6053
|
+
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;
|
|
5996
6054
|
const messages_1 = __webpack_require__(25);
|
|
5997
6055
|
const vscode_languageserver_types_1 = __webpack_require__(24);
|
|
5998
6056
|
const Is = __webpack_require__(27);
|
|
@@ -6073,6 +6131,8 @@ Object.defineProperty(exports, "NotebookCellArrayChange", ({ enumerable: true, g
|
|
|
6073
6131
|
Object.defineProperty(exports, "DidChangeNotebookDocumentNotification", ({ enumerable: true, get: function () { return protocol_notebook_1.DidChangeNotebookDocumentNotification; } }));
|
|
6074
6132
|
Object.defineProperty(exports, "DidSaveNotebookDocumentNotification", ({ enumerable: true, get: function () { return protocol_notebook_1.DidSaveNotebookDocumentNotification; } }));
|
|
6075
6133
|
Object.defineProperty(exports, "DidCloseNotebookDocumentNotification", ({ enumerable: true, get: function () { return protocol_notebook_1.DidCloseNotebookDocumentNotification; } }));
|
|
6134
|
+
const protocol_inlineCompletion_1 = __webpack_require__(48);
|
|
6135
|
+
Object.defineProperty(exports, "InlineCompletionRequest", ({ enumerable: true, get: function () { return protocol_inlineCompletion_1.InlineCompletionRequest; } }));
|
|
6076
6136
|
// @ts-ignore: to avoid inlining LocationLink as dynamic import
|
|
6077
6137
|
let __noDynamicImport;
|
|
6078
6138
|
/**
|
|
@@ -6088,7 +6148,7 @@ var TextDocumentFilter;
|
|
|
6088
6148
|
return Is.string(candidate) || (Is.string(candidate.language) || Is.string(candidate.scheme) || Is.string(candidate.pattern));
|
|
6089
6149
|
}
|
|
6090
6150
|
TextDocumentFilter.is = is;
|
|
6091
|
-
})(TextDocumentFilter
|
|
6151
|
+
})(TextDocumentFilter || (exports.TextDocumentFilter = TextDocumentFilter = {}));
|
|
6092
6152
|
/**
|
|
6093
6153
|
* The NotebookDocumentFilter namespace provides helper functions to work with
|
|
6094
6154
|
* {@link NotebookDocumentFilter} literals.
|
|
@@ -6102,7 +6162,7 @@ var NotebookDocumentFilter;
|
|
|
6102
6162
|
return Is.objectLiteral(candidate) && (Is.string(candidate.notebookType) || Is.string(candidate.scheme) || Is.string(candidate.pattern));
|
|
6103
6163
|
}
|
|
6104
6164
|
NotebookDocumentFilter.is = is;
|
|
6105
|
-
})(NotebookDocumentFilter
|
|
6165
|
+
})(NotebookDocumentFilter || (exports.NotebookDocumentFilter = NotebookDocumentFilter = {}));
|
|
6106
6166
|
/**
|
|
6107
6167
|
* The NotebookCellTextDocumentFilter namespace provides helper functions to work with
|
|
6108
6168
|
* {@link NotebookCellTextDocumentFilter} literals.
|
|
@@ -6118,7 +6178,7 @@ var NotebookCellTextDocumentFilter;
|
|
|
6118
6178
|
&& (candidate.language === undefined || Is.string(candidate.language));
|
|
6119
6179
|
}
|
|
6120
6180
|
NotebookCellTextDocumentFilter.is = is;
|
|
6121
|
-
})(NotebookCellTextDocumentFilter
|
|
6181
|
+
})(NotebookCellTextDocumentFilter || (exports.NotebookCellTextDocumentFilter = NotebookCellTextDocumentFilter = {}));
|
|
6122
6182
|
/**
|
|
6123
6183
|
* The DocumentSelector namespace provides helper functions to work with
|
|
6124
6184
|
* {@link DocumentSelector}s.
|
|
@@ -6137,7 +6197,7 @@ var DocumentSelector;
|
|
|
6137
6197
|
return true;
|
|
6138
6198
|
}
|
|
6139
6199
|
DocumentSelector.is = is;
|
|
6140
|
-
})(DocumentSelector
|
|
6200
|
+
})(DocumentSelector || (exports.DocumentSelector = DocumentSelector = {}));
|
|
6141
6201
|
/**
|
|
6142
6202
|
* The `client/registerCapability` request is sent from the server to the client to register a new capability
|
|
6143
6203
|
* handler on the client side.
|
|
@@ -6147,7 +6207,7 @@ var RegistrationRequest;
|
|
|
6147
6207
|
RegistrationRequest.method = 'client/registerCapability';
|
|
6148
6208
|
RegistrationRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
6149
6209
|
RegistrationRequest.type = new messages_1.ProtocolRequestType(RegistrationRequest.method);
|
|
6150
|
-
})(RegistrationRequest
|
|
6210
|
+
})(RegistrationRequest || (exports.RegistrationRequest = RegistrationRequest = {}));
|
|
6151
6211
|
/**
|
|
6152
6212
|
* The `client/unregisterCapability` request is sent from the server to the client to unregister a previously registered capability
|
|
6153
6213
|
* handler on the client side.
|
|
@@ -6157,7 +6217,7 @@ var UnregistrationRequest;
|
|
|
6157
6217
|
UnregistrationRequest.method = 'client/unregisterCapability';
|
|
6158
6218
|
UnregistrationRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
6159
6219
|
UnregistrationRequest.type = new messages_1.ProtocolRequestType(UnregistrationRequest.method);
|
|
6160
|
-
})(UnregistrationRequest
|
|
6220
|
+
})(UnregistrationRequest || (exports.UnregistrationRequest = UnregistrationRequest = {}));
|
|
6161
6221
|
var ResourceOperationKind;
|
|
6162
6222
|
(function (ResourceOperationKind) {
|
|
6163
6223
|
/**
|
|
@@ -6172,7 +6232,7 @@ var ResourceOperationKind;
|
|
|
6172
6232
|
* Supports deleting existing files and folders.
|
|
6173
6233
|
*/
|
|
6174
6234
|
ResourceOperationKind.Delete = 'delete';
|
|
6175
|
-
})(ResourceOperationKind
|
|
6235
|
+
})(ResourceOperationKind || (exports.ResourceOperationKind = ResourceOperationKind = {}));
|
|
6176
6236
|
var FailureHandlingKind;
|
|
6177
6237
|
(function (FailureHandlingKind) {
|
|
6178
6238
|
/**
|
|
@@ -6196,7 +6256,7 @@ var FailureHandlingKind;
|
|
|
6196
6256
|
* guarantee that this is succeeding.
|
|
6197
6257
|
*/
|
|
6198
6258
|
FailureHandlingKind.Undo = 'undo';
|
|
6199
|
-
})(FailureHandlingKind
|
|
6259
|
+
})(FailureHandlingKind || (exports.FailureHandlingKind = FailureHandlingKind = {}));
|
|
6200
6260
|
/**
|
|
6201
6261
|
* A set of predefined position encoding kinds.
|
|
6202
6262
|
*
|
|
@@ -6223,7 +6283,7 @@ var PositionEncodingKind;
|
|
|
6223
6283
|
* encoding-agnostic representation of character offsets.
|
|
6224
6284
|
*/
|
|
6225
6285
|
PositionEncodingKind.UTF32 = 'utf-32';
|
|
6226
|
-
})(PositionEncodingKind
|
|
6286
|
+
})(PositionEncodingKind || (exports.PositionEncodingKind = PositionEncodingKind = {}));
|
|
6227
6287
|
/**
|
|
6228
6288
|
* The StaticRegistrationOptions namespace provides helper functions to work with
|
|
6229
6289
|
* {@link StaticRegistrationOptions} literals.
|
|
@@ -6235,7 +6295,7 @@ var StaticRegistrationOptions;
|
|
|
6235
6295
|
return candidate && Is.string(candidate.id) && candidate.id.length > 0;
|
|
6236
6296
|
}
|
|
6237
6297
|
StaticRegistrationOptions.hasId = hasId;
|
|
6238
|
-
})(StaticRegistrationOptions
|
|
6298
|
+
})(StaticRegistrationOptions || (exports.StaticRegistrationOptions = StaticRegistrationOptions = {}));
|
|
6239
6299
|
/**
|
|
6240
6300
|
* The TextDocumentRegistrationOptions namespace provides helper functions to work with
|
|
6241
6301
|
* {@link TextDocumentRegistrationOptions} literals.
|
|
@@ -6247,7 +6307,7 @@ var TextDocumentRegistrationOptions;
|
|
|
6247
6307
|
return candidate && (candidate.documentSelector === null || DocumentSelector.is(candidate.documentSelector));
|
|
6248
6308
|
}
|
|
6249
6309
|
TextDocumentRegistrationOptions.is = is;
|
|
6250
|
-
})(TextDocumentRegistrationOptions
|
|
6310
|
+
})(TextDocumentRegistrationOptions || (exports.TextDocumentRegistrationOptions = TextDocumentRegistrationOptions = {}));
|
|
6251
6311
|
/**
|
|
6252
6312
|
* The WorkDoneProgressOptions namespace provides helper functions to work with
|
|
6253
6313
|
* {@link WorkDoneProgressOptions} literals.
|
|
@@ -6264,7 +6324,7 @@ var WorkDoneProgressOptions;
|
|
|
6264
6324
|
return candidate && Is.boolean(candidate.workDoneProgress);
|
|
6265
6325
|
}
|
|
6266
6326
|
WorkDoneProgressOptions.hasWorkDoneProgress = hasWorkDoneProgress;
|
|
6267
|
-
})(WorkDoneProgressOptions
|
|
6327
|
+
})(WorkDoneProgressOptions || (exports.WorkDoneProgressOptions = WorkDoneProgressOptions = {}));
|
|
6268
6328
|
/**
|
|
6269
6329
|
* The initialize request is sent from the client to the server.
|
|
6270
6330
|
* It is sent once as the request after starting up the server.
|
|
@@ -6277,7 +6337,7 @@ var InitializeRequest;
|
|
|
6277
6337
|
InitializeRequest.method = 'initialize';
|
|
6278
6338
|
InitializeRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6279
6339
|
InitializeRequest.type = new messages_1.ProtocolRequestType(InitializeRequest.method);
|
|
6280
|
-
})(InitializeRequest
|
|
6340
|
+
})(InitializeRequest || (exports.InitializeRequest = InitializeRequest = {}));
|
|
6281
6341
|
/**
|
|
6282
6342
|
* Known error codes for an `InitializeErrorCodes`;
|
|
6283
6343
|
*/
|
|
@@ -6290,7 +6350,7 @@ var InitializeErrorCodes;
|
|
|
6290
6350
|
* no version handshake in version 3.0x
|
|
6291
6351
|
*/
|
|
6292
6352
|
InitializeErrorCodes.unknownProtocolVersion = 1;
|
|
6293
|
-
})(InitializeErrorCodes
|
|
6353
|
+
})(InitializeErrorCodes || (exports.InitializeErrorCodes = InitializeErrorCodes = {}));
|
|
6294
6354
|
/**
|
|
6295
6355
|
* The initialized notification is sent from the client to the
|
|
6296
6356
|
* server after the client is fully initialized and the server
|
|
@@ -6301,7 +6361,7 @@ var InitializedNotification;
|
|
|
6301
6361
|
InitializedNotification.method = 'initialized';
|
|
6302
6362
|
InitializedNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6303
6363
|
InitializedNotification.type = new messages_1.ProtocolNotificationType(InitializedNotification.method);
|
|
6304
|
-
})(InitializedNotification
|
|
6364
|
+
})(InitializedNotification || (exports.InitializedNotification = InitializedNotification = {}));
|
|
6305
6365
|
//---- Shutdown Method ----
|
|
6306
6366
|
/**
|
|
6307
6367
|
* A shutdown request is sent from the client to the server.
|
|
@@ -6314,7 +6374,7 @@ var ShutdownRequest;
|
|
|
6314
6374
|
ShutdownRequest.method = 'shutdown';
|
|
6315
6375
|
ShutdownRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6316
6376
|
ShutdownRequest.type = new messages_1.ProtocolRequestType0(ShutdownRequest.method);
|
|
6317
|
-
})(ShutdownRequest
|
|
6377
|
+
})(ShutdownRequest || (exports.ShutdownRequest = ShutdownRequest = {}));
|
|
6318
6378
|
//---- Exit Notification ----
|
|
6319
6379
|
/**
|
|
6320
6380
|
* The exit event is sent from the client to the server to
|
|
@@ -6325,7 +6385,7 @@ var ExitNotification;
|
|
|
6325
6385
|
ExitNotification.method = 'exit';
|
|
6326
6386
|
ExitNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6327
6387
|
ExitNotification.type = new messages_1.ProtocolNotificationType0(ExitNotification.method);
|
|
6328
|
-
})(ExitNotification
|
|
6388
|
+
})(ExitNotification || (exports.ExitNotification = ExitNotification = {}));
|
|
6329
6389
|
/**
|
|
6330
6390
|
* The configuration change notification is sent from the client to the server
|
|
6331
6391
|
* when the client's configuration has changed. The notification contains
|
|
@@ -6336,7 +6396,7 @@ var DidChangeConfigurationNotification;
|
|
|
6336
6396
|
DidChangeConfigurationNotification.method = 'workspace/didChangeConfiguration';
|
|
6337
6397
|
DidChangeConfigurationNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6338
6398
|
DidChangeConfigurationNotification.type = new messages_1.ProtocolNotificationType(DidChangeConfigurationNotification.method);
|
|
6339
|
-
})(DidChangeConfigurationNotification
|
|
6399
|
+
})(DidChangeConfigurationNotification || (exports.DidChangeConfigurationNotification = DidChangeConfigurationNotification = {}));
|
|
6340
6400
|
//---- Message show and log notifications ----
|
|
6341
6401
|
/**
|
|
6342
6402
|
* The message type
|
|
@@ -6359,7 +6419,7 @@ var MessageType;
|
|
|
6359
6419
|
* A log message.
|
|
6360
6420
|
*/
|
|
6361
6421
|
MessageType.Log = 4;
|
|
6362
|
-
})(MessageType
|
|
6422
|
+
})(MessageType || (exports.MessageType = MessageType = {}));
|
|
6363
6423
|
/**
|
|
6364
6424
|
* The show message notification is sent from a server to a client to ask
|
|
6365
6425
|
* the client to display a particular message in the user interface.
|
|
@@ -6369,7 +6429,7 @@ var ShowMessageNotification;
|
|
|
6369
6429
|
ShowMessageNotification.method = 'window/showMessage';
|
|
6370
6430
|
ShowMessageNotification.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
6371
6431
|
ShowMessageNotification.type = new messages_1.ProtocolNotificationType(ShowMessageNotification.method);
|
|
6372
|
-
})(ShowMessageNotification
|
|
6432
|
+
})(ShowMessageNotification || (exports.ShowMessageNotification = ShowMessageNotification = {}));
|
|
6373
6433
|
/**
|
|
6374
6434
|
* The show message request is sent from the server to the client to show a message
|
|
6375
6435
|
* and a set of options actions to the user.
|
|
@@ -6379,7 +6439,7 @@ var ShowMessageRequest;
|
|
|
6379
6439
|
ShowMessageRequest.method = 'window/showMessageRequest';
|
|
6380
6440
|
ShowMessageRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
6381
6441
|
ShowMessageRequest.type = new messages_1.ProtocolRequestType(ShowMessageRequest.method);
|
|
6382
|
-
})(ShowMessageRequest
|
|
6442
|
+
})(ShowMessageRequest || (exports.ShowMessageRequest = ShowMessageRequest = {}));
|
|
6383
6443
|
/**
|
|
6384
6444
|
* The log message notification is sent from the server to the client to ask
|
|
6385
6445
|
* the client to log a particular message.
|
|
@@ -6389,7 +6449,7 @@ var LogMessageNotification;
|
|
|
6389
6449
|
LogMessageNotification.method = 'window/logMessage';
|
|
6390
6450
|
LogMessageNotification.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
6391
6451
|
LogMessageNotification.type = new messages_1.ProtocolNotificationType(LogMessageNotification.method);
|
|
6392
|
-
})(LogMessageNotification
|
|
6452
|
+
})(LogMessageNotification || (exports.LogMessageNotification = LogMessageNotification = {}));
|
|
6393
6453
|
//---- Telemetry notification
|
|
6394
6454
|
/**
|
|
6395
6455
|
* The telemetry event notification is sent from the server to the client to ask
|
|
@@ -6400,7 +6460,7 @@ var TelemetryEventNotification;
|
|
|
6400
6460
|
TelemetryEventNotification.method = 'telemetry/event';
|
|
6401
6461
|
TelemetryEventNotification.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
6402
6462
|
TelemetryEventNotification.type = new messages_1.ProtocolNotificationType(TelemetryEventNotification.method);
|
|
6403
|
-
})(TelemetryEventNotification
|
|
6463
|
+
})(TelemetryEventNotification || (exports.TelemetryEventNotification = TelemetryEventNotification = {}));
|
|
6404
6464
|
/**
|
|
6405
6465
|
* Defines how the host (editor) should sync
|
|
6406
6466
|
* document changes to the language server.
|
|
@@ -6422,7 +6482,7 @@ var TextDocumentSyncKind;
|
|
|
6422
6482
|
* send.
|
|
6423
6483
|
*/
|
|
6424
6484
|
TextDocumentSyncKind.Incremental = 2;
|
|
6425
|
-
})(TextDocumentSyncKind
|
|
6485
|
+
})(TextDocumentSyncKind || (exports.TextDocumentSyncKind = TextDocumentSyncKind = {}));
|
|
6426
6486
|
/**
|
|
6427
6487
|
* The document open notification is sent from the client to the server to signal
|
|
6428
6488
|
* newly opened text documents. The document's truth is now managed by the client
|
|
@@ -6438,7 +6498,7 @@ var DidOpenTextDocumentNotification;
|
|
|
6438
6498
|
DidOpenTextDocumentNotification.method = 'textDocument/didOpen';
|
|
6439
6499
|
DidOpenTextDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6440
6500
|
DidOpenTextDocumentNotification.type = new messages_1.ProtocolNotificationType(DidOpenTextDocumentNotification.method);
|
|
6441
|
-
})(DidOpenTextDocumentNotification
|
|
6501
|
+
})(DidOpenTextDocumentNotification || (exports.DidOpenTextDocumentNotification = DidOpenTextDocumentNotification = {}));
|
|
6442
6502
|
var TextDocumentContentChangeEvent;
|
|
6443
6503
|
(function (TextDocumentContentChangeEvent) {
|
|
6444
6504
|
/**
|
|
@@ -6460,7 +6520,7 @@ var TextDocumentContentChangeEvent;
|
|
|
6460
6520
|
typeof candidate.text === 'string' && candidate.range === undefined && candidate.rangeLength === undefined;
|
|
6461
6521
|
}
|
|
6462
6522
|
TextDocumentContentChangeEvent.isFull = isFull;
|
|
6463
|
-
})(TextDocumentContentChangeEvent
|
|
6523
|
+
})(TextDocumentContentChangeEvent || (exports.TextDocumentContentChangeEvent = TextDocumentContentChangeEvent = {}));
|
|
6464
6524
|
/**
|
|
6465
6525
|
* The document change notification is sent from the client to the server to signal
|
|
6466
6526
|
* changes to a text document.
|
|
@@ -6470,7 +6530,7 @@ var DidChangeTextDocumentNotification;
|
|
|
6470
6530
|
DidChangeTextDocumentNotification.method = 'textDocument/didChange';
|
|
6471
6531
|
DidChangeTextDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6472
6532
|
DidChangeTextDocumentNotification.type = new messages_1.ProtocolNotificationType(DidChangeTextDocumentNotification.method);
|
|
6473
|
-
})(DidChangeTextDocumentNotification
|
|
6533
|
+
})(DidChangeTextDocumentNotification || (exports.DidChangeTextDocumentNotification = DidChangeTextDocumentNotification = {}));
|
|
6474
6534
|
/**
|
|
6475
6535
|
* The document close notification is sent from the client to the server when
|
|
6476
6536
|
* the document got closed in the client. The document's truth now exists where
|
|
@@ -6485,7 +6545,7 @@ var DidCloseTextDocumentNotification;
|
|
|
6485
6545
|
DidCloseTextDocumentNotification.method = 'textDocument/didClose';
|
|
6486
6546
|
DidCloseTextDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6487
6547
|
DidCloseTextDocumentNotification.type = new messages_1.ProtocolNotificationType(DidCloseTextDocumentNotification.method);
|
|
6488
|
-
})(DidCloseTextDocumentNotification
|
|
6548
|
+
})(DidCloseTextDocumentNotification || (exports.DidCloseTextDocumentNotification = DidCloseTextDocumentNotification = {}));
|
|
6489
6549
|
/**
|
|
6490
6550
|
* The document save notification is sent from the client to the server when
|
|
6491
6551
|
* the document got saved in the client.
|
|
@@ -6495,7 +6555,7 @@ var DidSaveTextDocumentNotification;
|
|
|
6495
6555
|
DidSaveTextDocumentNotification.method = 'textDocument/didSave';
|
|
6496
6556
|
DidSaveTextDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6497
6557
|
DidSaveTextDocumentNotification.type = new messages_1.ProtocolNotificationType(DidSaveTextDocumentNotification.method);
|
|
6498
|
-
})(DidSaveTextDocumentNotification
|
|
6558
|
+
})(DidSaveTextDocumentNotification || (exports.DidSaveTextDocumentNotification = DidSaveTextDocumentNotification = {}));
|
|
6499
6559
|
/**
|
|
6500
6560
|
* Represents reasons why a text document is saved.
|
|
6501
6561
|
*/
|
|
@@ -6514,7 +6574,7 @@ var TextDocumentSaveReason;
|
|
|
6514
6574
|
* When the editor lost focus.
|
|
6515
6575
|
*/
|
|
6516
6576
|
TextDocumentSaveReason.FocusOut = 3;
|
|
6517
|
-
})(TextDocumentSaveReason
|
|
6577
|
+
})(TextDocumentSaveReason || (exports.TextDocumentSaveReason = TextDocumentSaveReason = {}));
|
|
6518
6578
|
/**
|
|
6519
6579
|
* A document will save notification is sent from the client to the server before
|
|
6520
6580
|
* the document is actually saved.
|
|
@@ -6524,7 +6584,7 @@ var WillSaveTextDocumentNotification;
|
|
|
6524
6584
|
WillSaveTextDocumentNotification.method = 'textDocument/willSave';
|
|
6525
6585
|
WillSaveTextDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6526
6586
|
WillSaveTextDocumentNotification.type = new messages_1.ProtocolNotificationType(WillSaveTextDocumentNotification.method);
|
|
6527
|
-
})(WillSaveTextDocumentNotification
|
|
6587
|
+
})(WillSaveTextDocumentNotification || (exports.WillSaveTextDocumentNotification = WillSaveTextDocumentNotification = {}));
|
|
6528
6588
|
/**
|
|
6529
6589
|
* A document will save request is sent from the client to the server before
|
|
6530
6590
|
* the document is actually saved. The request can return an array of TextEdits
|
|
@@ -6538,7 +6598,7 @@ var WillSaveTextDocumentWaitUntilRequest;
|
|
|
6538
6598
|
WillSaveTextDocumentWaitUntilRequest.method = 'textDocument/willSaveWaitUntil';
|
|
6539
6599
|
WillSaveTextDocumentWaitUntilRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6540
6600
|
WillSaveTextDocumentWaitUntilRequest.type = new messages_1.ProtocolRequestType(WillSaveTextDocumentWaitUntilRequest.method);
|
|
6541
|
-
})(WillSaveTextDocumentWaitUntilRequest
|
|
6601
|
+
})(WillSaveTextDocumentWaitUntilRequest || (exports.WillSaveTextDocumentWaitUntilRequest = WillSaveTextDocumentWaitUntilRequest = {}));
|
|
6542
6602
|
/**
|
|
6543
6603
|
* The watched files notification is sent from the client to the server when
|
|
6544
6604
|
* the client detects changes to file watched by the language client.
|
|
@@ -6548,7 +6608,7 @@ var DidChangeWatchedFilesNotification;
|
|
|
6548
6608
|
DidChangeWatchedFilesNotification.method = 'workspace/didChangeWatchedFiles';
|
|
6549
6609
|
DidChangeWatchedFilesNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6550
6610
|
DidChangeWatchedFilesNotification.type = new messages_1.ProtocolNotificationType(DidChangeWatchedFilesNotification.method);
|
|
6551
|
-
})(DidChangeWatchedFilesNotification
|
|
6611
|
+
})(DidChangeWatchedFilesNotification || (exports.DidChangeWatchedFilesNotification = DidChangeWatchedFilesNotification = {}));
|
|
6552
6612
|
/**
|
|
6553
6613
|
* The file event type
|
|
6554
6614
|
*/
|
|
@@ -6566,7 +6626,7 @@ var FileChangeType;
|
|
|
6566
6626
|
* The file got deleted.
|
|
6567
6627
|
*/
|
|
6568
6628
|
FileChangeType.Deleted = 3;
|
|
6569
|
-
})(FileChangeType
|
|
6629
|
+
})(FileChangeType || (exports.FileChangeType = FileChangeType = {}));
|
|
6570
6630
|
var RelativePattern;
|
|
6571
6631
|
(function (RelativePattern) {
|
|
6572
6632
|
function is(value) {
|
|
@@ -6574,7 +6634,7 @@ var RelativePattern;
|
|
|
6574
6634
|
return Is.objectLiteral(candidate) && (vscode_languageserver_types_1.URI.is(candidate.baseUri) || vscode_languageserver_types_1.WorkspaceFolder.is(candidate.baseUri)) && Is.string(candidate.pattern);
|
|
6575
6635
|
}
|
|
6576
6636
|
RelativePattern.is = is;
|
|
6577
|
-
})(RelativePattern
|
|
6637
|
+
})(RelativePattern || (exports.RelativePattern = RelativePattern = {}));
|
|
6578
6638
|
var WatchKind;
|
|
6579
6639
|
(function (WatchKind) {
|
|
6580
6640
|
/**
|
|
@@ -6589,7 +6649,7 @@ var WatchKind;
|
|
|
6589
6649
|
* Interested in delete events
|
|
6590
6650
|
*/
|
|
6591
6651
|
WatchKind.Delete = 4;
|
|
6592
|
-
})(WatchKind
|
|
6652
|
+
})(WatchKind || (exports.WatchKind = WatchKind = {}));
|
|
6593
6653
|
/**
|
|
6594
6654
|
* Diagnostics notification are sent from the server to the client to signal
|
|
6595
6655
|
* results of validation runs.
|
|
@@ -6599,7 +6659,7 @@ var PublishDiagnosticsNotification;
|
|
|
6599
6659
|
PublishDiagnosticsNotification.method = 'textDocument/publishDiagnostics';
|
|
6600
6660
|
PublishDiagnosticsNotification.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
6601
6661
|
PublishDiagnosticsNotification.type = new messages_1.ProtocolNotificationType(PublishDiagnosticsNotification.method);
|
|
6602
|
-
})(PublishDiagnosticsNotification
|
|
6662
|
+
})(PublishDiagnosticsNotification || (exports.PublishDiagnosticsNotification = PublishDiagnosticsNotification = {}));
|
|
6603
6663
|
/**
|
|
6604
6664
|
* How a completion was triggered
|
|
6605
6665
|
*/
|
|
@@ -6619,7 +6679,7 @@ var CompletionTriggerKind;
|
|
|
6619
6679
|
* Completion was re-triggered as current completion list is incomplete
|
|
6620
6680
|
*/
|
|
6621
6681
|
CompletionTriggerKind.TriggerForIncompleteCompletions = 3;
|
|
6622
|
-
})(CompletionTriggerKind
|
|
6682
|
+
})(CompletionTriggerKind || (exports.CompletionTriggerKind = CompletionTriggerKind = {}));
|
|
6623
6683
|
/**
|
|
6624
6684
|
* Request to request completion at a given text document position. The request's
|
|
6625
6685
|
* parameter is of type {@link TextDocumentPosition} the response
|
|
@@ -6636,7 +6696,7 @@ var CompletionRequest;
|
|
|
6636
6696
|
CompletionRequest.method = 'textDocument/completion';
|
|
6637
6697
|
CompletionRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6638
6698
|
CompletionRequest.type = new messages_1.ProtocolRequestType(CompletionRequest.method);
|
|
6639
|
-
})(CompletionRequest
|
|
6699
|
+
})(CompletionRequest || (exports.CompletionRequest = CompletionRequest = {}));
|
|
6640
6700
|
/**
|
|
6641
6701
|
* Request to resolve additional information for a given completion item.The request's
|
|
6642
6702
|
* parameter is of type {@link CompletionItem} the response
|
|
@@ -6647,7 +6707,7 @@ var CompletionResolveRequest;
|
|
|
6647
6707
|
CompletionResolveRequest.method = 'completionItem/resolve';
|
|
6648
6708
|
CompletionResolveRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6649
6709
|
CompletionResolveRequest.type = new messages_1.ProtocolRequestType(CompletionResolveRequest.method);
|
|
6650
|
-
})(CompletionResolveRequest
|
|
6710
|
+
})(CompletionResolveRequest || (exports.CompletionResolveRequest = CompletionResolveRequest = {}));
|
|
6651
6711
|
/**
|
|
6652
6712
|
* Request to request hover information at a given text document position. The request's
|
|
6653
6713
|
* parameter is of type {@link TextDocumentPosition} the response is of
|
|
@@ -6658,7 +6718,7 @@ var HoverRequest;
|
|
|
6658
6718
|
HoverRequest.method = 'textDocument/hover';
|
|
6659
6719
|
HoverRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6660
6720
|
HoverRequest.type = new messages_1.ProtocolRequestType(HoverRequest.method);
|
|
6661
|
-
})(HoverRequest
|
|
6721
|
+
})(HoverRequest || (exports.HoverRequest = HoverRequest = {}));
|
|
6662
6722
|
/**
|
|
6663
6723
|
* How a signature help was triggered.
|
|
6664
6724
|
*
|
|
@@ -6678,26 +6738,25 @@ var SignatureHelpTriggerKind;
|
|
|
6678
6738
|
* Signature help was triggered by the cursor moving or by the document content changing.
|
|
6679
6739
|
*/
|
|
6680
6740
|
SignatureHelpTriggerKind.ContentChange = 3;
|
|
6681
|
-
})(SignatureHelpTriggerKind
|
|
6741
|
+
})(SignatureHelpTriggerKind || (exports.SignatureHelpTriggerKind = SignatureHelpTriggerKind = {}));
|
|
6682
6742
|
var SignatureHelpRequest;
|
|
6683
6743
|
(function (SignatureHelpRequest) {
|
|
6684
6744
|
SignatureHelpRequest.method = 'textDocument/signatureHelp';
|
|
6685
6745
|
SignatureHelpRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6686
6746
|
SignatureHelpRequest.type = new messages_1.ProtocolRequestType(SignatureHelpRequest.method);
|
|
6687
|
-
})(SignatureHelpRequest
|
|
6747
|
+
})(SignatureHelpRequest || (exports.SignatureHelpRequest = SignatureHelpRequest = {}));
|
|
6688
6748
|
/**
|
|
6689
6749
|
* A request to resolve the definition location of a symbol at a given text
|
|
6690
|
-
* document position. The request's parameter is of type
|
|
6691
|
-
*
|
|
6692
|
-
*
|
|
6693
|
-
* to such.
|
|
6750
|
+
* document position. The request's parameter is of type {@link TextDocumentPosition}
|
|
6751
|
+
* the response is of either type {@link Definition} or a typed array of
|
|
6752
|
+
* {@link DefinitionLink} or a Thenable that resolves to such.
|
|
6694
6753
|
*/
|
|
6695
6754
|
var DefinitionRequest;
|
|
6696
6755
|
(function (DefinitionRequest) {
|
|
6697
6756
|
DefinitionRequest.method = 'textDocument/definition';
|
|
6698
6757
|
DefinitionRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6699
6758
|
DefinitionRequest.type = new messages_1.ProtocolRequestType(DefinitionRequest.method);
|
|
6700
|
-
})(DefinitionRequest
|
|
6759
|
+
})(DefinitionRequest || (exports.DefinitionRequest = DefinitionRequest = {}));
|
|
6701
6760
|
/**
|
|
6702
6761
|
* A request to resolve project-wide references for the symbol denoted
|
|
6703
6762
|
* by the given text document position. The request's parameter is of
|
|
@@ -6709,19 +6768,19 @@ var ReferencesRequest;
|
|
|
6709
6768
|
ReferencesRequest.method = 'textDocument/references';
|
|
6710
6769
|
ReferencesRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6711
6770
|
ReferencesRequest.type = new messages_1.ProtocolRequestType(ReferencesRequest.method);
|
|
6712
|
-
})(ReferencesRequest
|
|
6771
|
+
})(ReferencesRequest || (exports.ReferencesRequest = ReferencesRequest = {}));
|
|
6713
6772
|
/**
|
|
6714
6773
|
* Request to resolve a {@link DocumentHighlight} for a given
|
|
6715
|
-
* text document position. The request's parameter is of type
|
|
6716
|
-
*
|
|
6717
|
-
*
|
|
6774
|
+
* text document position. The request's parameter is of type {@link TextDocumentPosition}
|
|
6775
|
+
* the request response is an array of type {@link DocumentHighlight}
|
|
6776
|
+
* or a Thenable that resolves to such.
|
|
6718
6777
|
*/
|
|
6719
6778
|
var DocumentHighlightRequest;
|
|
6720
6779
|
(function (DocumentHighlightRequest) {
|
|
6721
6780
|
DocumentHighlightRequest.method = 'textDocument/documentHighlight';
|
|
6722
6781
|
DocumentHighlightRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6723
6782
|
DocumentHighlightRequest.type = new messages_1.ProtocolRequestType(DocumentHighlightRequest.method);
|
|
6724
|
-
})(DocumentHighlightRequest
|
|
6783
|
+
})(DocumentHighlightRequest || (exports.DocumentHighlightRequest = DocumentHighlightRequest = {}));
|
|
6725
6784
|
/**
|
|
6726
6785
|
* A request to list all symbols found in a given text document. The request's
|
|
6727
6786
|
* parameter is of type {@link TextDocumentIdentifier} the
|
|
@@ -6733,7 +6792,7 @@ var DocumentSymbolRequest;
|
|
|
6733
6792
|
DocumentSymbolRequest.method = 'textDocument/documentSymbol';
|
|
6734
6793
|
DocumentSymbolRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6735
6794
|
DocumentSymbolRequest.type = new messages_1.ProtocolRequestType(DocumentSymbolRequest.method);
|
|
6736
|
-
})(DocumentSymbolRequest
|
|
6795
|
+
})(DocumentSymbolRequest || (exports.DocumentSymbolRequest = DocumentSymbolRequest = {}));
|
|
6737
6796
|
/**
|
|
6738
6797
|
* A request to provide commands for the given text document and range.
|
|
6739
6798
|
*/
|
|
@@ -6742,7 +6801,7 @@ var CodeActionRequest;
|
|
|
6742
6801
|
CodeActionRequest.method = 'textDocument/codeAction';
|
|
6743
6802
|
CodeActionRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6744
6803
|
CodeActionRequest.type = new messages_1.ProtocolRequestType(CodeActionRequest.method);
|
|
6745
|
-
})(CodeActionRequest
|
|
6804
|
+
})(CodeActionRequest || (exports.CodeActionRequest = CodeActionRequest = {}));
|
|
6746
6805
|
/**
|
|
6747
6806
|
* Request to resolve additional information for a given code action.The request's
|
|
6748
6807
|
* parameter is of type {@link CodeAction} the response
|
|
@@ -6753,7 +6812,7 @@ var CodeActionResolveRequest;
|
|
|
6753
6812
|
CodeActionResolveRequest.method = 'codeAction/resolve';
|
|
6754
6813
|
CodeActionResolveRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6755
6814
|
CodeActionResolveRequest.type = new messages_1.ProtocolRequestType(CodeActionResolveRequest.method);
|
|
6756
|
-
})(CodeActionResolveRequest
|
|
6815
|
+
})(CodeActionResolveRequest || (exports.CodeActionResolveRequest = CodeActionResolveRequest = {}));
|
|
6757
6816
|
/**
|
|
6758
6817
|
* A request to list project-wide symbols matching the query string given
|
|
6759
6818
|
* by the {@link WorkspaceSymbolParams}. The response is
|
|
@@ -6770,7 +6829,7 @@ var WorkspaceSymbolRequest;
|
|
|
6770
6829
|
WorkspaceSymbolRequest.method = 'workspace/symbol';
|
|
6771
6830
|
WorkspaceSymbolRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6772
6831
|
WorkspaceSymbolRequest.type = new messages_1.ProtocolRequestType(WorkspaceSymbolRequest.method);
|
|
6773
|
-
})(WorkspaceSymbolRequest
|
|
6832
|
+
})(WorkspaceSymbolRequest || (exports.WorkspaceSymbolRequest = WorkspaceSymbolRequest = {}));
|
|
6774
6833
|
/**
|
|
6775
6834
|
* A request to resolve the range inside the workspace
|
|
6776
6835
|
* symbol's location.
|
|
@@ -6782,7 +6841,7 @@ var WorkspaceSymbolResolveRequest;
|
|
|
6782
6841
|
WorkspaceSymbolResolveRequest.method = 'workspaceSymbol/resolve';
|
|
6783
6842
|
WorkspaceSymbolResolveRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6784
6843
|
WorkspaceSymbolResolveRequest.type = new messages_1.ProtocolRequestType(WorkspaceSymbolResolveRequest.method);
|
|
6785
|
-
})(WorkspaceSymbolResolveRequest
|
|
6844
|
+
})(WorkspaceSymbolResolveRequest || (exports.WorkspaceSymbolResolveRequest = WorkspaceSymbolResolveRequest = {}));
|
|
6786
6845
|
/**
|
|
6787
6846
|
* A request to provide code lens for the given text document.
|
|
6788
6847
|
*/
|
|
@@ -6791,7 +6850,7 @@ var CodeLensRequest;
|
|
|
6791
6850
|
CodeLensRequest.method = 'textDocument/codeLens';
|
|
6792
6851
|
CodeLensRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6793
6852
|
CodeLensRequest.type = new messages_1.ProtocolRequestType(CodeLensRequest.method);
|
|
6794
|
-
})(CodeLensRequest
|
|
6853
|
+
})(CodeLensRequest || (exports.CodeLensRequest = CodeLensRequest = {}));
|
|
6795
6854
|
/**
|
|
6796
6855
|
* A request to resolve a command for a given code lens.
|
|
6797
6856
|
*/
|
|
@@ -6800,7 +6859,7 @@ var CodeLensResolveRequest;
|
|
|
6800
6859
|
CodeLensResolveRequest.method = 'codeLens/resolve';
|
|
6801
6860
|
CodeLensResolveRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6802
6861
|
CodeLensResolveRequest.type = new messages_1.ProtocolRequestType(CodeLensResolveRequest.method);
|
|
6803
|
-
})(CodeLensResolveRequest
|
|
6862
|
+
})(CodeLensResolveRequest || (exports.CodeLensResolveRequest = CodeLensResolveRequest = {}));
|
|
6804
6863
|
/**
|
|
6805
6864
|
* A request to refresh all code actions
|
|
6806
6865
|
*
|
|
@@ -6811,7 +6870,7 @@ var CodeLensRefreshRequest;
|
|
|
6811
6870
|
CodeLensRefreshRequest.method = `workspace/codeLens/refresh`;
|
|
6812
6871
|
CodeLensRefreshRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
6813
6872
|
CodeLensRefreshRequest.type = new messages_1.ProtocolRequestType0(CodeLensRefreshRequest.method);
|
|
6814
|
-
})(CodeLensRefreshRequest
|
|
6873
|
+
})(CodeLensRefreshRequest || (exports.CodeLensRefreshRequest = CodeLensRefreshRequest = {}));
|
|
6815
6874
|
/**
|
|
6816
6875
|
* A request to provide document links
|
|
6817
6876
|
*/
|
|
@@ -6820,7 +6879,7 @@ var DocumentLinkRequest;
|
|
|
6820
6879
|
DocumentLinkRequest.method = 'textDocument/documentLink';
|
|
6821
6880
|
DocumentLinkRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6822
6881
|
DocumentLinkRequest.type = new messages_1.ProtocolRequestType(DocumentLinkRequest.method);
|
|
6823
|
-
})(DocumentLinkRequest
|
|
6882
|
+
})(DocumentLinkRequest || (exports.DocumentLinkRequest = DocumentLinkRequest = {}));
|
|
6824
6883
|
/**
|
|
6825
6884
|
* Request to resolve additional information for a given document link. The request's
|
|
6826
6885
|
* parameter is of type {@link DocumentLink} the response
|
|
@@ -6831,7 +6890,7 @@ var DocumentLinkResolveRequest;
|
|
|
6831
6890
|
DocumentLinkResolveRequest.method = 'documentLink/resolve';
|
|
6832
6891
|
DocumentLinkResolveRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6833
6892
|
DocumentLinkResolveRequest.type = new messages_1.ProtocolRequestType(DocumentLinkResolveRequest.method);
|
|
6834
|
-
})(DocumentLinkResolveRequest
|
|
6893
|
+
})(DocumentLinkResolveRequest || (exports.DocumentLinkResolveRequest = DocumentLinkResolveRequest = {}));
|
|
6835
6894
|
/**
|
|
6836
6895
|
* A request to format a whole document.
|
|
6837
6896
|
*/
|
|
@@ -6840,7 +6899,7 @@ var DocumentFormattingRequest;
|
|
|
6840
6899
|
DocumentFormattingRequest.method = 'textDocument/formatting';
|
|
6841
6900
|
DocumentFormattingRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6842
6901
|
DocumentFormattingRequest.type = new messages_1.ProtocolRequestType(DocumentFormattingRequest.method);
|
|
6843
|
-
})(DocumentFormattingRequest
|
|
6902
|
+
})(DocumentFormattingRequest || (exports.DocumentFormattingRequest = DocumentFormattingRequest = {}));
|
|
6844
6903
|
/**
|
|
6845
6904
|
* A request to format a range in a document.
|
|
6846
6905
|
*/
|
|
@@ -6849,7 +6908,19 @@ var DocumentRangeFormattingRequest;
|
|
|
6849
6908
|
DocumentRangeFormattingRequest.method = 'textDocument/rangeFormatting';
|
|
6850
6909
|
DocumentRangeFormattingRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6851
6910
|
DocumentRangeFormattingRequest.type = new messages_1.ProtocolRequestType(DocumentRangeFormattingRequest.method);
|
|
6852
|
-
})(DocumentRangeFormattingRequest
|
|
6911
|
+
})(DocumentRangeFormattingRequest || (exports.DocumentRangeFormattingRequest = DocumentRangeFormattingRequest = {}));
|
|
6912
|
+
/**
|
|
6913
|
+
* A request to format ranges in a document.
|
|
6914
|
+
*
|
|
6915
|
+
* @since 3.18.0
|
|
6916
|
+
* @proposed
|
|
6917
|
+
*/
|
|
6918
|
+
var DocumentRangesFormattingRequest;
|
|
6919
|
+
(function (DocumentRangesFormattingRequest) {
|
|
6920
|
+
DocumentRangesFormattingRequest.method = 'textDocument/rangesFormatting';
|
|
6921
|
+
DocumentRangesFormattingRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6922
|
+
DocumentRangesFormattingRequest.type = new messages_1.ProtocolRequestType(DocumentRangesFormattingRequest.method);
|
|
6923
|
+
})(DocumentRangesFormattingRequest || (exports.DocumentRangesFormattingRequest = DocumentRangesFormattingRequest = {}));
|
|
6853
6924
|
/**
|
|
6854
6925
|
* A request to format a document on type.
|
|
6855
6926
|
*/
|
|
@@ -6858,7 +6929,7 @@ var DocumentOnTypeFormattingRequest;
|
|
|
6858
6929
|
DocumentOnTypeFormattingRequest.method = 'textDocument/onTypeFormatting';
|
|
6859
6930
|
DocumentOnTypeFormattingRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6860
6931
|
DocumentOnTypeFormattingRequest.type = new messages_1.ProtocolRequestType(DocumentOnTypeFormattingRequest.method);
|
|
6861
|
-
})(DocumentOnTypeFormattingRequest
|
|
6932
|
+
})(DocumentOnTypeFormattingRequest || (exports.DocumentOnTypeFormattingRequest = DocumentOnTypeFormattingRequest = {}));
|
|
6862
6933
|
//---- Rename ----------------------------------------------
|
|
6863
6934
|
var PrepareSupportDefaultBehavior;
|
|
6864
6935
|
(function (PrepareSupportDefaultBehavior) {
|
|
@@ -6867,7 +6938,7 @@ var PrepareSupportDefaultBehavior;
|
|
|
6867
6938
|
* according the to language's syntax rule.
|
|
6868
6939
|
*/
|
|
6869
6940
|
PrepareSupportDefaultBehavior.Identifier = 1;
|
|
6870
|
-
})(PrepareSupportDefaultBehavior
|
|
6941
|
+
})(PrepareSupportDefaultBehavior || (exports.PrepareSupportDefaultBehavior = PrepareSupportDefaultBehavior = {}));
|
|
6871
6942
|
/**
|
|
6872
6943
|
* A request to rename a symbol.
|
|
6873
6944
|
*/
|
|
@@ -6876,7 +6947,7 @@ var RenameRequest;
|
|
|
6876
6947
|
RenameRequest.method = 'textDocument/rename';
|
|
6877
6948
|
RenameRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6878
6949
|
RenameRequest.type = new messages_1.ProtocolRequestType(RenameRequest.method);
|
|
6879
|
-
})(RenameRequest
|
|
6950
|
+
})(RenameRequest || (exports.RenameRequest = RenameRequest = {}));
|
|
6880
6951
|
/**
|
|
6881
6952
|
* A request to test and perform the setup necessary for a rename.
|
|
6882
6953
|
*
|
|
@@ -6887,7 +6958,7 @@ var PrepareRenameRequest;
|
|
|
6887
6958
|
PrepareRenameRequest.method = 'textDocument/prepareRename';
|
|
6888
6959
|
PrepareRenameRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6889
6960
|
PrepareRenameRequest.type = new messages_1.ProtocolRequestType(PrepareRenameRequest.method);
|
|
6890
|
-
})(PrepareRenameRequest
|
|
6961
|
+
})(PrepareRenameRequest || (exports.PrepareRenameRequest = PrepareRenameRequest = {}));
|
|
6891
6962
|
/**
|
|
6892
6963
|
* A request send from the client to the server to execute a command. The request might return
|
|
6893
6964
|
* a workspace edit which the client will apply to the workspace.
|
|
@@ -6897,7 +6968,7 @@ var ExecuteCommandRequest;
|
|
|
6897
6968
|
ExecuteCommandRequest.method = 'workspace/executeCommand';
|
|
6898
6969
|
ExecuteCommandRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6899
6970
|
ExecuteCommandRequest.type = new messages_1.ProtocolRequestType(ExecuteCommandRequest.method);
|
|
6900
|
-
})(ExecuteCommandRequest
|
|
6971
|
+
})(ExecuteCommandRequest || (exports.ExecuteCommandRequest = ExecuteCommandRequest = {}));
|
|
6901
6972
|
/**
|
|
6902
6973
|
* A request sent from the server to the client to modified certain resources.
|
|
6903
6974
|
*/
|
|
@@ -6906,7 +6977,7 @@ var ApplyWorkspaceEditRequest;
|
|
|
6906
6977
|
ApplyWorkspaceEditRequest.method = 'workspace/applyEdit';
|
|
6907
6978
|
ApplyWorkspaceEditRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
6908
6979
|
ApplyWorkspaceEditRequest.type = new messages_1.ProtocolRequestType('workspace/applyEdit');
|
|
6909
|
-
})(ApplyWorkspaceEditRequest
|
|
6980
|
+
})(ApplyWorkspaceEditRequest || (exports.ApplyWorkspaceEditRequest = ApplyWorkspaceEditRequest = {}));
|
|
6910
6981
|
|
|
6911
6982
|
|
|
6912
6983
|
/***/ }),
|
|
@@ -6979,16 +7050,15 @@ const messages_1 = __webpack_require__(25);
|
|
|
6979
7050
|
let __noDynamicImport;
|
|
6980
7051
|
/**
|
|
6981
7052
|
* A request to resolve the implementation locations of a symbol at a given text
|
|
6982
|
-
* document position. The request's parameter is of type
|
|
6983
|
-
*
|
|
6984
|
-
* Thenable that resolves to such.
|
|
7053
|
+
* document position. The request's parameter is of type {@link TextDocumentPositionParams}
|
|
7054
|
+
* the response is of type {@link Definition} or a Thenable that resolves to such.
|
|
6985
7055
|
*/
|
|
6986
7056
|
var ImplementationRequest;
|
|
6987
7057
|
(function (ImplementationRequest) {
|
|
6988
7058
|
ImplementationRequest.method = 'textDocument/implementation';
|
|
6989
7059
|
ImplementationRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
6990
7060
|
ImplementationRequest.type = new messages_1.ProtocolRequestType(ImplementationRequest.method);
|
|
6991
|
-
})(ImplementationRequest
|
|
7061
|
+
})(ImplementationRequest || (exports.ImplementationRequest = ImplementationRequest = {}));
|
|
6992
7062
|
|
|
6993
7063
|
|
|
6994
7064
|
/***/ }),
|
|
@@ -7008,16 +7078,15 @@ const messages_1 = __webpack_require__(25);
|
|
|
7008
7078
|
let __noDynamicImport;
|
|
7009
7079
|
/**
|
|
7010
7080
|
* A request to resolve the type definition locations of a symbol at a given text
|
|
7011
|
-
* document position. The request's parameter is of type
|
|
7012
|
-
*
|
|
7013
|
-
* Thenable that resolves to such.
|
|
7081
|
+
* document position. The request's parameter is of type {@link TextDocumentPositionParams}
|
|
7082
|
+
* the response is of type {@link Definition} or a Thenable that resolves to such.
|
|
7014
7083
|
*/
|
|
7015
7084
|
var TypeDefinitionRequest;
|
|
7016
7085
|
(function (TypeDefinitionRequest) {
|
|
7017
7086
|
TypeDefinitionRequest.method = 'textDocument/typeDefinition';
|
|
7018
7087
|
TypeDefinitionRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7019
7088
|
TypeDefinitionRequest.type = new messages_1.ProtocolRequestType(TypeDefinitionRequest.method);
|
|
7020
|
-
})(TypeDefinitionRequest
|
|
7089
|
+
})(TypeDefinitionRequest || (exports.TypeDefinitionRequest = TypeDefinitionRequest = {}));
|
|
7021
7090
|
|
|
7022
7091
|
|
|
7023
7092
|
/***/ }),
|
|
@@ -7041,7 +7110,7 @@ var WorkspaceFoldersRequest;
|
|
|
7041
7110
|
WorkspaceFoldersRequest.method = 'workspace/workspaceFolders';
|
|
7042
7111
|
WorkspaceFoldersRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
7043
7112
|
WorkspaceFoldersRequest.type = new messages_1.ProtocolRequestType0(WorkspaceFoldersRequest.method);
|
|
7044
|
-
})(WorkspaceFoldersRequest
|
|
7113
|
+
})(WorkspaceFoldersRequest || (exports.WorkspaceFoldersRequest = WorkspaceFoldersRequest = {}));
|
|
7045
7114
|
/**
|
|
7046
7115
|
* The `workspace/didChangeWorkspaceFolders` notification is sent from the client to the server when the workspace
|
|
7047
7116
|
* folder configuration changes.
|
|
@@ -7051,7 +7120,7 @@ var DidChangeWorkspaceFoldersNotification;
|
|
|
7051
7120
|
DidChangeWorkspaceFoldersNotification.method = 'workspace/didChangeWorkspaceFolders';
|
|
7052
7121
|
DidChangeWorkspaceFoldersNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7053
7122
|
DidChangeWorkspaceFoldersNotification.type = new messages_1.ProtocolNotificationType(DidChangeWorkspaceFoldersNotification.method);
|
|
7054
|
-
})(DidChangeWorkspaceFoldersNotification
|
|
7123
|
+
})(DidChangeWorkspaceFoldersNotification || (exports.DidChangeWorkspaceFoldersNotification = DidChangeWorkspaceFoldersNotification = {}));
|
|
7055
7124
|
|
|
7056
7125
|
|
|
7057
7126
|
/***/ }),
|
|
@@ -7082,7 +7151,7 @@ var ConfigurationRequest;
|
|
|
7082
7151
|
ConfigurationRequest.method = 'workspace/configuration';
|
|
7083
7152
|
ConfigurationRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
7084
7153
|
ConfigurationRequest.type = new messages_1.ProtocolRequestType(ConfigurationRequest.method);
|
|
7085
|
-
})(ConfigurationRequest
|
|
7154
|
+
})(ConfigurationRequest || (exports.ConfigurationRequest = ConfigurationRequest = {}));
|
|
7086
7155
|
|
|
7087
7156
|
|
|
7088
7157
|
/***/ }),
|
|
@@ -7109,7 +7178,7 @@ var DocumentColorRequest;
|
|
|
7109
7178
|
DocumentColorRequest.method = 'textDocument/documentColor';
|
|
7110
7179
|
DocumentColorRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7111
7180
|
DocumentColorRequest.type = new messages_1.ProtocolRequestType(DocumentColorRequest.method);
|
|
7112
|
-
})(DocumentColorRequest
|
|
7181
|
+
})(DocumentColorRequest || (exports.DocumentColorRequest = DocumentColorRequest = {}));
|
|
7113
7182
|
/**
|
|
7114
7183
|
* A request to list all presentation for a color. The request's
|
|
7115
7184
|
* parameter is of type {@link ColorPresentationParams} the
|
|
@@ -7121,7 +7190,7 @@ var ColorPresentationRequest;
|
|
|
7121
7190
|
ColorPresentationRequest.method = 'textDocument/colorPresentation';
|
|
7122
7191
|
ColorPresentationRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7123
7192
|
ColorPresentationRequest.type = new messages_1.ProtocolRequestType(ColorPresentationRequest.method);
|
|
7124
|
-
})(ColorPresentationRequest
|
|
7193
|
+
})(ColorPresentationRequest || (exports.ColorPresentationRequest = ColorPresentationRequest = {}));
|
|
7125
7194
|
|
|
7126
7195
|
|
|
7127
7196
|
/***/ }),
|
|
@@ -7148,7 +7217,7 @@ var FoldingRangeRequest;
|
|
|
7148
7217
|
FoldingRangeRequest.method = 'textDocument/foldingRange';
|
|
7149
7218
|
FoldingRangeRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7150
7219
|
FoldingRangeRequest.type = new messages_1.ProtocolRequestType(FoldingRangeRequest.method);
|
|
7151
|
-
})(FoldingRangeRequest
|
|
7220
|
+
})(FoldingRangeRequest || (exports.FoldingRangeRequest = FoldingRangeRequest = {}));
|
|
7152
7221
|
|
|
7153
7222
|
|
|
7154
7223
|
/***/ }),
|
|
@@ -7168,17 +7237,16 @@ const messages_1 = __webpack_require__(25);
|
|
|
7168
7237
|
let __noDynamicImport;
|
|
7169
7238
|
/**
|
|
7170
7239
|
* A request to resolve the type definition locations of a symbol at a given text
|
|
7171
|
-
* document position. The request's parameter is of type
|
|
7172
|
-
*
|
|
7173
|
-
* or a
|
|
7174
|
-
* to such.
|
|
7240
|
+
* document position. The request's parameter is of type {@link TextDocumentPositionParams}
|
|
7241
|
+
* the response is of type {@link Declaration} or a typed array of {@link DeclarationLink}
|
|
7242
|
+
* or a Thenable that resolves to such.
|
|
7175
7243
|
*/
|
|
7176
7244
|
var DeclarationRequest;
|
|
7177
7245
|
(function (DeclarationRequest) {
|
|
7178
7246
|
DeclarationRequest.method = 'textDocument/declaration';
|
|
7179
7247
|
DeclarationRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7180
7248
|
DeclarationRequest.type = new messages_1.ProtocolRequestType(DeclarationRequest.method);
|
|
7181
|
-
})(DeclarationRequest
|
|
7249
|
+
})(DeclarationRequest || (exports.DeclarationRequest = DeclarationRequest = {}));
|
|
7182
7250
|
|
|
7183
7251
|
|
|
7184
7252
|
/***/ }),
|
|
@@ -7205,7 +7273,7 @@ var SelectionRangeRequest;
|
|
|
7205
7273
|
SelectionRangeRequest.method = 'textDocument/selectionRange';
|
|
7206
7274
|
SelectionRangeRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7207
7275
|
SelectionRangeRequest.type = new messages_1.ProtocolRequestType(SelectionRangeRequest.method);
|
|
7208
|
-
})(SelectionRangeRequest
|
|
7276
|
+
})(SelectionRangeRequest || (exports.SelectionRangeRequest = SelectionRangeRequest = {}));
|
|
7209
7277
|
|
|
7210
7278
|
|
|
7211
7279
|
/***/ }),
|
|
@@ -7229,7 +7297,7 @@ var WorkDoneProgress;
|
|
|
7229
7297
|
return value === WorkDoneProgress.type;
|
|
7230
7298
|
}
|
|
7231
7299
|
WorkDoneProgress.is = is;
|
|
7232
|
-
})(WorkDoneProgress
|
|
7300
|
+
})(WorkDoneProgress || (exports.WorkDoneProgress = WorkDoneProgress = {}));
|
|
7233
7301
|
/**
|
|
7234
7302
|
* The `window/workDoneProgress/create` request is sent from the server to the client to initiate progress
|
|
7235
7303
|
* reporting from the server.
|
|
@@ -7239,7 +7307,7 @@ var WorkDoneProgressCreateRequest;
|
|
|
7239
7307
|
WorkDoneProgressCreateRequest.method = 'window/workDoneProgress/create';
|
|
7240
7308
|
WorkDoneProgressCreateRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
7241
7309
|
WorkDoneProgressCreateRequest.type = new messages_1.ProtocolRequestType(WorkDoneProgressCreateRequest.method);
|
|
7242
|
-
})(WorkDoneProgressCreateRequest
|
|
7310
|
+
})(WorkDoneProgressCreateRequest || (exports.WorkDoneProgressCreateRequest = WorkDoneProgressCreateRequest = {}));
|
|
7243
7311
|
/**
|
|
7244
7312
|
* The `window/workDoneProgress/cancel` notification is sent from the client to the server to cancel a progress
|
|
7245
7313
|
* initiated on the server side.
|
|
@@ -7249,7 +7317,7 @@ var WorkDoneProgressCancelNotification;
|
|
|
7249
7317
|
WorkDoneProgressCancelNotification.method = 'window/workDoneProgress/cancel';
|
|
7250
7318
|
WorkDoneProgressCancelNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7251
7319
|
WorkDoneProgressCancelNotification.type = new messages_1.ProtocolNotificationType(WorkDoneProgressCancelNotification.method);
|
|
7252
|
-
})(WorkDoneProgressCancelNotification
|
|
7320
|
+
})(WorkDoneProgressCancelNotification || (exports.WorkDoneProgressCancelNotification = WorkDoneProgressCancelNotification = {}));
|
|
7253
7321
|
|
|
7254
7322
|
|
|
7255
7323
|
/***/ }),
|
|
@@ -7276,7 +7344,7 @@ var CallHierarchyPrepareRequest;
|
|
|
7276
7344
|
CallHierarchyPrepareRequest.method = 'textDocument/prepareCallHierarchy';
|
|
7277
7345
|
CallHierarchyPrepareRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7278
7346
|
CallHierarchyPrepareRequest.type = new messages_1.ProtocolRequestType(CallHierarchyPrepareRequest.method);
|
|
7279
|
-
})(CallHierarchyPrepareRequest
|
|
7347
|
+
})(CallHierarchyPrepareRequest || (exports.CallHierarchyPrepareRequest = CallHierarchyPrepareRequest = {}));
|
|
7280
7348
|
/**
|
|
7281
7349
|
* A request to resolve the incoming calls for a given `CallHierarchyItem`.
|
|
7282
7350
|
*
|
|
@@ -7287,7 +7355,7 @@ var CallHierarchyIncomingCallsRequest;
|
|
|
7287
7355
|
CallHierarchyIncomingCallsRequest.method = 'callHierarchy/incomingCalls';
|
|
7288
7356
|
CallHierarchyIncomingCallsRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7289
7357
|
CallHierarchyIncomingCallsRequest.type = new messages_1.ProtocolRequestType(CallHierarchyIncomingCallsRequest.method);
|
|
7290
|
-
})(CallHierarchyIncomingCallsRequest
|
|
7358
|
+
})(CallHierarchyIncomingCallsRequest || (exports.CallHierarchyIncomingCallsRequest = CallHierarchyIncomingCallsRequest = {}));
|
|
7291
7359
|
/**
|
|
7292
7360
|
* A request to resolve the outgoing calls for a given `CallHierarchyItem`.
|
|
7293
7361
|
*
|
|
@@ -7298,7 +7366,7 @@ var CallHierarchyOutgoingCallsRequest;
|
|
|
7298
7366
|
CallHierarchyOutgoingCallsRequest.method = 'callHierarchy/outgoingCalls';
|
|
7299
7367
|
CallHierarchyOutgoingCallsRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7300
7368
|
CallHierarchyOutgoingCallsRequest.type = new messages_1.ProtocolRequestType(CallHierarchyOutgoingCallsRequest.method);
|
|
7301
|
-
})(CallHierarchyOutgoingCallsRequest
|
|
7369
|
+
})(CallHierarchyOutgoingCallsRequest || (exports.CallHierarchyOutgoingCallsRequest = CallHierarchyOutgoingCallsRequest = {}));
|
|
7302
7370
|
|
|
7303
7371
|
|
|
7304
7372
|
/***/ }),
|
|
@@ -7318,12 +7386,12 @@ const messages_1 = __webpack_require__(25);
|
|
|
7318
7386
|
var TokenFormat;
|
|
7319
7387
|
(function (TokenFormat) {
|
|
7320
7388
|
TokenFormat.Relative = 'relative';
|
|
7321
|
-
})(TokenFormat
|
|
7389
|
+
})(TokenFormat || (exports.TokenFormat = TokenFormat = {}));
|
|
7322
7390
|
var SemanticTokensRegistrationType;
|
|
7323
7391
|
(function (SemanticTokensRegistrationType) {
|
|
7324
7392
|
SemanticTokensRegistrationType.method = 'textDocument/semanticTokens';
|
|
7325
7393
|
SemanticTokensRegistrationType.type = new messages_1.RegistrationType(SemanticTokensRegistrationType.method);
|
|
7326
|
-
})(SemanticTokensRegistrationType
|
|
7394
|
+
})(SemanticTokensRegistrationType || (exports.SemanticTokensRegistrationType = SemanticTokensRegistrationType = {}));
|
|
7327
7395
|
/**
|
|
7328
7396
|
* @since 3.16.0
|
|
7329
7397
|
*/
|
|
@@ -7333,7 +7401,7 @@ var SemanticTokensRequest;
|
|
|
7333
7401
|
SemanticTokensRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7334
7402
|
SemanticTokensRequest.type = new messages_1.ProtocolRequestType(SemanticTokensRequest.method);
|
|
7335
7403
|
SemanticTokensRequest.registrationMethod = SemanticTokensRegistrationType.method;
|
|
7336
|
-
})(SemanticTokensRequest
|
|
7404
|
+
})(SemanticTokensRequest || (exports.SemanticTokensRequest = SemanticTokensRequest = {}));
|
|
7337
7405
|
/**
|
|
7338
7406
|
* @since 3.16.0
|
|
7339
7407
|
*/
|
|
@@ -7343,7 +7411,7 @@ var SemanticTokensDeltaRequest;
|
|
|
7343
7411
|
SemanticTokensDeltaRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7344
7412
|
SemanticTokensDeltaRequest.type = new messages_1.ProtocolRequestType(SemanticTokensDeltaRequest.method);
|
|
7345
7413
|
SemanticTokensDeltaRequest.registrationMethod = SemanticTokensRegistrationType.method;
|
|
7346
|
-
})(SemanticTokensDeltaRequest
|
|
7414
|
+
})(SemanticTokensDeltaRequest || (exports.SemanticTokensDeltaRequest = SemanticTokensDeltaRequest = {}));
|
|
7347
7415
|
/**
|
|
7348
7416
|
* @since 3.16.0
|
|
7349
7417
|
*/
|
|
@@ -7353,7 +7421,7 @@ var SemanticTokensRangeRequest;
|
|
|
7353
7421
|
SemanticTokensRangeRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7354
7422
|
SemanticTokensRangeRequest.type = new messages_1.ProtocolRequestType(SemanticTokensRangeRequest.method);
|
|
7355
7423
|
SemanticTokensRangeRequest.registrationMethod = SemanticTokensRegistrationType.method;
|
|
7356
|
-
})(SemanticTokensRangeRequest
|
|
7424
|
+
})(SemanticTokensRangeRequest || (exports.SemanticTokensRangeRequest = SemanticTokensRangeRequest = {}));
|
|
7357
7425
|
/**
|
|
7358
7426
|
* @since 3.16.0
|
|
7359
7427
|
*/
|
|
@@ -7362,7 +7430,7 @@ var SemanticTokensRefreshRequest;
|
|
|
7362
7430
|
SemanticTokensRefreshRequest.method = `workspace/semanticTokens/refresh`;
|
|
7363
7431
|
SemanticTokensRefreshRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
7364
7432
|
SemanticTokensRefreshRequest.type = new messages_1.ProtocolRequestType0(SemanticTokensRefreshRequest.method);
|
|
7365
|
-
})(SemanticTokensRefreshRequest
|
|
7433
|
+
})(SemanticTokensRefreshRequest || (exports.SemanticTokensRefreshRequest = SemanticTokensRefreshRequest = {}));
|
|
7366
7434
|
|
|
7367
7435
|
|
|
7368
7436
|
/***/ }),
|
|
@@ -7391,7 +7459,7 @@ var ShowDocumentRequest;
|
|
|
7391
7459
|
ShowDocumentRequest.method = 'window/showDocument';
|
|
7392
7460
|
ShowDocumentRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
7393
7461
|
ShowDocumentRequest.type = new messages_1.ProtocolRequestType(ShowDocumentRequest.method);
|
|
7394
|
-
})(ShowDocumentRequest
|
|
7462
|
+
})(ShowDocumentRequest || (exports.ShowDocumentRequest = ShowDocumentRequest = {}));
|
|
7395
7463
|
|
|
7396
7464
|
|
|
7397
7465
|
/***/ }),
|
|
@@ -7417,7 +7485,7 @@ var LinkedEditingRangeRequest;
|
|
|
7417
7485
|
LinkedEditingRangeRequest.method = 'textDocument/linkedEditingRange';
|
|
7418
7486
|
LinkedEditingRangeRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7419
7487
|
LinkedEditingRangeRequest.type = new messages_1.ProtocolRequestType(LinkedEditingRangeRequest.method);
|
|
7420
|
-
})(LinkedEditingRangeRequest
|
|
7488
|
+
})(LinkedEditingRangeRequest || (exports.LinkedEditingRangeRequest = LinkedEditingRangeRequest = {}));
|
|
7421
7489
|
|
|
7422
7490
|
|
|
7423
7491
|
/***/ }),
|
|
@@ -7449,7 +7517,7 @@ var FileOperationPatternKind;
|
|
|
7449
7517
|
* The pattern matches a folder only.
|
|
7450
7518
|
*/
|
|
7451
7519
|
FileOperationPatternKind.folder = 'folder';
|
|
7452
|
-
})(FileOperationPatternKind
|
|
7520
|
+
})(FileOperationPatternKind || (exports.FileOperationPatternKind = FileOperationPatternKind = {}));
|
|
7453
7521
|
/**
|
|
7454
7522
|
* The will create files request is sent from the client to the server before files are actually
|
|
7455
7523
|
* created as long as the creation is triggered from within the client.
|
|
@@ -7465,7 +7533,7 @@ var WillCreateFilesRequest;
|
|
|
7465
7533
|
WillCreateFilesRequest.method = 'workspace/willCreateFiles';
|
|
7466
7534
|
WillCreateFilesRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7467
7535
|
WillCreateFilesRequest.type = new messages_1.ProtocolRequestType(WillCreateFilesRequest.method);
|
|
7468
|
-
})(WillCreateFilesRequest
|
|
7536
|
+
})(WillCreateFilesRequest || (exports.WillCreateFilesRequest = WillCreateFilesRequest = {}));
|
|
7469
7537
|
/**
|
|
7470
7538
|
* The did create files notification is sent from the client to the server when
|
|
7471
7539
|
* files were created from within the client.
|
|
@@ -7477,7 +7545,7 @@ var DidCreateFilesNotification;
|
|
|
7477
7545
|
DidCreateFilesNotification.method = 'workspace/didCreateFiles';
|
|
7478
7546
|
DidCreateFilesNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7479
7547
|
DidCreateFilesNotification.type = new messages_1.ProtocolNotificationType(DidCreateFilesNotification.method);
|
|
7480
|
-
})(DidCreateFilesNotification
|
|
7548
|
+
})(DidCreateFilesNotification || (exports.DidCreateFilesNotification = DidCreateFilesNotification = {}));
|
|
7481
7549
|
/**
|
|
7482
7550
|
* The will rename files request is sent from the client to the server before files are actually
|
|
7483
7551
|
* renamed as long as the rename is triggered from within the client.
|
|
@@ -7489,7 +7557,7 @@ var WillRenameFilesRequest;
|
|
|
7489
7557
|
WillRenameFilesRequest.method = 'workspace/willRenameFiles';
|
|
7490
7558
|
WillRenameFilesRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7491
7559
|
WillRenameFilesRequest.type = new messages_1.ProtocolRequestType(WillRenameFilesRequest.method);
|
|
7492
|
-
})(WillRenameFilesRequest
|
|
7560
|
+
})(WillRenameFilesRequest || (exports.WillRenameFilesRequest = WillRenameFilesRequest = {}));
|
|
7493
7561
|
/**
|
|
7494
7562
|
* The did rename files notification is sent from the client to the server when
|
|
7495
7563
|
* files were renamed from within the client.
|
|
@@ -7501,7 +7569,7 @@ var DidRenameFilesNotification;
|
|
|
7501
7569
|
DidRenameFilesNotification.method = 'workspace/didRenameFiles';
|
|
7502
7570
|
DidRenameFilesNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7503
7571
|
DidRenameFilesNotification.type = new messages_1.ProtocolNotificationType(DidRenameFilesNotification.method);
|
|
7504
|
-
})(DidRenameFilesNotification
|
|
7572
|
+
})(DidRenameFilesNotification || (exports.DidRenameFilesNotification = DidRenameFilesNotification = {}));
|
|
7505
7573
|
/**
|
|
7506
7574
|
* The will delete files request is sent from the client to the server before files are actually
|
|
7507
7575
|
* deleted as long as the deletion is triggered from within the client.
|
|
@@ -7513,7 +7581,7 @@ var DidDeleteFilesNotification;
|
|
|
7513
7581
|
DidDeleteFilesNotification.method = 'workspace/didDeleteFiles';
|
|
7514
7582
|
DidDeleteFilesNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7515
7583
|
DidDeleteFilesNotification.type = new messages_1.ProtocolNotificationType(DidDeleteFilesNotification.method);
|
|
7516
|
-
})(DidDeleteFilesNotification
|
|
7584
|
+
})(DidDeleteFilesNotification || (exports.DidDeleteFilesNotification = DidDeleteFilesNotification = {}));
|
|
7517
7585
|
/**
|
|
7518
7586
|
* The did delete files notification is sent from the client to the server when
|
|
7519
7587
|
* files were deleted from within the client.
|
|
@@ -7525,7 +7593,7 @@ var WillDeleteFilesRequest;
|
|
|
7525
7593
|
WillDeleteFilesRequest.method = 'workspace/willDeleteFiles';
|
|
7526
7594
|
WillDeleteFilesRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7527
7595
|
WillDeleteFilesRequest.type = new messages_1.ProtocolRequestType(WillDeleteFilesRequest.method);
|
|
7528
|
-
})(WillDeleteFilesRequest
|
|
7596
|
+
})(WillDeleteFilesRequest || (exports.WillDeleteFilesRequest = WillDeleteFilesRequest = {}));
|
|
7529
7597
|
|
|
7530
7598
|
|
|
7531
7599
|
/***/ }),
|
|
@@ -7568,7 +7636,7 @@ var UniquenessLevel;
|
|
|
7568
7636
|
* The moniker is globally unique
|
|
7569
7637
|
*/
|
|
7570
7638
|
UniquenessLevel.global = 'global';
|
|
7571
|
-
})(UniquenessLevel
|
|
7639
|
+
})(UniquenessLevel || (exports.UniquenessLevel = UniquenessLevel = {}));
|
|
7572
7640
|
/**
|
|
7573
7641
|
* The moniker kind.
|
|
7574
7642
|
*
|
|
@@ -7589,7 +7657,7 @@ var MonikerKind;
|
|
|
7589
7657
|
* variable of a function, a class not visible outside the project, ...)
|
|
7590
7658
|
*/
|
|
7591
7659
|
MonikerKind.local = 'local';
|
|
7592
|
-
})(MonikerKind
|
|
7660
|
+
})(MonikerKind || (exports.MonikerKind = MonikerKind = {}));
|
|
7593
7661
|
/**
|
|
7594
7662
|
* A request to get the moniker of a symbol at a given text document position.
|
|
7595
7663
|
* The request parameter is of type {@link TextDocumentPositionParams}.
|
|
@@ -7600,7 +7668,7 @@ var MonikerRequest;
|
|
|
7600
7668
|
MonikerRequest.method = 'textDocument/moniker';
|
|
7601
7669
|
MonikerRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7602
7670
|
MonikerRequest.type = new messages_1.ProtocolRequestType(MonikerRequest.method);
|
|
7603
|
-
})(MonikerRequest
|
|
7671
|
+
})(MonikerRequest || (exports.MonikerRequest = MonikerRequest = {}));
|
|
7604
7672
|
|
|
7605
7673
|
|
|
7606
7674
|
/***/ }),
|
|
@@ -7627,7 +7695,7 @@ var TypeHierarchyPrepareRequest;
|
|
|
7627
7695
|
TypeHierarchyPrepareRequest.method = 'textDocument/prepareTypeHierarchy';
|
|
7628
7696
|
TypeHierarchyPrepareRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7629
7697
|
TypeHierarchyPrepareRequest.type = new messages_1.ProtocolRequestType(TypeHierarchyPrepareRequest.method);
|
|
7630
|
-
})(TypeHierarchyPrepareRequest
|
|
7698
|
+
})(TypeHierarchyPrepareRequest || (exports.TypeHierarchyPrepareRequest = TypeHierarchyPrepareRequest = {}));
|
|
7631
7699
|
/**
|
|
7632
7700
|
* A request to resolve the supertypes for a given `TypeHierarchyItem`.
|
|
7633
7701
|
*
|
|
@@ -7638,7 +7706,7 @@ var TypeHierarchySupertypesRequest;
|
|
|
7638
7706
|
TypeHierarchySupertypesRequest.method = 'typeHierarchy/supertypes';
|
|
7639
7707
|
TypeHierarchySupertypesRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7640
7708
|
TypeHierarchySupertypesRequest.type = new messages_1.ProtocolRequestType(TypeHierarchySupertypesRequest.method);
|
|
7641
|
-
})(TypeHierarchySupertypesRequest
|
|
7709
|
+
})(TypeHierarchySupertypesRequest || (exports.TypeHierarchySupertypesRequest = TypeHierarchySupertypesRequest = {}));
|
|
7642
7710
|
/**
|
|
7643
7711
|
* A request to resolve the subtypes for a given `TypeHierarchyItem`.
|
|
7644
7712
|
*
|
|
@@ -7649,7 +7717,7 @@ var TypeHierarchySubtypesRequest;
|
|
|
7649
7717
|
TypeHierarchySubtypesRequest.method = 'typeHierarchy/subtypes';
|
|
7650
7718
|
TypeHierarchySubtypesRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7651
7719
|
TypeHierarchySubtypesRequest.type = new messages_1.ProtocolRequestType(TypeHierarchySubtypesRequest.method);
|
|
7652
|
-
})(TypeHierarchySubtypesRequest
|
|
7720
|
+
})(TypeHierarchySubtypesRequest || (exports.TypeHierarchySubtypesRequest = TypeHierarchySubtypesRequest = {}));
|
|
7653
7721
|
|
|
7654
7722
|
|
|
7655
7723
|
/***/ }),
|
|
@@ -7677,7 +7745,7 @@ var InlineValueRequest;
|
|
|
7677
7745
|
InlineValueRequest.method = 'textDocument/inlineValue';
|
|
7678
7746
|
InlineValueRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7679
7747
|
InlineValueRequest.type = new messages_1.ProtocolRequestType(InlineValueRequest.method);
|
|
7680
|
-
})(InlineValueRequest
|
|
7748
|
+
})(InlineValueRequest || (exports.InlineValueRequest = InlineValueRequest = {}));
|
|
7681
7749
|
/**
|
|
7682
7750
|
* @since 3.17.0
|
|
7683
7751
|
*/
|
|
@@ -7686,7 +7754,7 @@ var InlineValueRefreshRequest;
|
|
|
7686
7754
|
InlineValueRefreshRequest.method = `workspace/inlineValue/refresh`;
|
|
7687
7755
|
InlineValueRefreshRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
7688
7756
|
InlineValueRefreshRequest.type = new messages_1.ProtocolRequestType0(InlineValueRefreshRequest.method);
|
|
7689
|
-
})(InlineValueRefreshRequest
|
|
7757
|
+
})(InlineValueRefreshRequest || (exports.InlineValueRefreshRequest = InlineValueRefreshRequest = {}));
|
|
7690
7758
|
|
|
7691
7759
|
|
|
7692
7760
|
/***/ }),
|
|
@@ -7714,7 +7782,7 @@ var InlayHintRequest;
|
|
|
7714
7782
|
InlayHintRequest.method = 'textDocument/inlayHint';
|
|
7715
7783
|
InlayHintRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7716
7784
|
InlayHintRequest.type = new messages_1.ProtocolRequestType(InlayHintRequest.method);
|
|
7717
|
-
})(InlayHintRequest
|
|
7785
|
+
})(InlayHintRequest || (exports.InlayHintRequest = InlayHintRequest = {}));
|
|
7718
7786
|
/**
|
|
7719
7787
|
* A request to resolve additional properties for an inlay hint.
|
|
7720
7788
|
* The request's parameter is of type {@link InlayHint}, the response is
|
|
@@ -7727,7 +7795,7 @@ var InlayHintResolveRequest;
|
|
|
7727
7795
|
InlayHintResolveRequest.method = 'inlayHint/resolve';
|
|
7728
7796
|
InlayHintResolveRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7729
7797
|
InlayHintResolveRequest.type = new messages_1.ProtocolRequestType(InlayHintResolveRequest.method);
|
|
7730
|
-
})(InlayHintResolveRequest
|
|
7798
|
+
})(InlayHintResolveRequest || (exports.InlayHintResolveRequest = InlayHintResolveRequest = {}));
|
|
7731
7799
|
/**
|
|
7732
7800
|
* @since 3.17.0
|
|
7733
7801
|
*/
|
|
@@ -7736,7 +7804,7 @@ var InlayHintRefreshRequest;
|
|
|
7736
7804
|
InlayHintRefreshRequest.method = `workspace/inlayHint/refresh`;
|
|
7737
7805
|
InlayHintRefreshRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
7738
7806
|
InlayHintRefreshRequest.type = new messages_1.ProtocolRequestType0(InlayHintRefreshRequest.method);
|
|
7739
|
-
})(InlayHintRefreshRequest
|
|
7807
|
+
})(InlayHintRefreshRequest || (exports.InlayHintRefreshRequest = InlayHintRefreshRequest = {}));
|
|
7740
7808
|
|
|
7741
7809
|
|
|
7742
7810
|
/***/ }),
|
|
@@ -7764,7 +7832,7 @@ var DiagnosticServerCancellationData;
|
|
|
7764
7832
|
return candidate && Is.boolean(candidate.retriggerRequest);
|
|
7765
7833
|
}
|
|
7766
7834
|
DiagnosticServerCancellationData.is = is;
|
|
7767
|
-
})(DiagnosticServerCancellationData
|
|
7835
|
+
})(DiagnosticServerCancellationData || (exports.DiagnosticServerCancellationData = DiagnosticServerCancellationData = {}));
|
|
7768
7836
|
/**
|
|
7769
7837
|
* The document diagnostic report kinds.
|
|
7770
7838
|
*
|
|
@@ -7782,7 +7850,7 @@ var DocumentDiagnosticReportKind;
|
|
|
7782
7850
|
* returned report is still accurate.
|
|
7783
7851
|
*/
|
|
7784
7852
|
DocumentDiagnosticReportKind.Unchanged = 'unchanged';
|
|
7785
|
-
})(DocumentDiagnosticReportKind
|
|
7853
|
+
})(DocumentDiagnosticReportKind || (exports.DocumentDiagnosticReportKind = DocumentDiagnosticReportKind = {}));
|
|
7786
7854
|
/**
|
|
7787
7855
|
* The document diagnostic request definition.
|
|
7788
7856
|
*
|
|
@@ -7794,7 +7862,7 @@ var DocumentDiagnosticRequest;
|
|
|
7794
7862
|
DocumentDiagnosticRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7795
7863
|
DocumentDiagnosticRequest.type = new messages_1.ProtocolRequestType(DocumentDiagnosticRequest.method);
|
|
7796
7864
|
DocumentDiagnosticRequest.partialResult = new vscode_jsonrpc_1.ProgressType();
|
|
7797
|
-
})(DocumentDiagnosticRequest
|
|
7865
|
+
})(DocumentDiagnosticRequest || (exports.DocumentDiagnosticRequest = DocumentDiagnosticRequest = {}));
|
|
7798
7866
|
/**
|
|
7799
7867
|
* The workspace diagnostic request definition.
|
|
7800
7868
|
*
|
|
@@ -7806,7 +7874,7 @@ var WorkspaceDiagnosticRequest;
|
|
|
7806
7874
|
WorkspaceDiagnosticRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7807
7875
|
WorkspaceDiagnosticRequest.type = new messages_1.ProtocolRequestType(WorkspaceDiagnosticRequest.method);
|
|
7808
7876
|
WorkspaceDiagnosticRequest.partialResult = new vscode_jsonrpc_1.ProgressType();
|
|
7809
|
-
})(WorkspaceDiagnosticRequest
|
|
7877
|
+
})(WorkspaceDiagnosticRequest || (exports.WorkspaceDiagnosticRequest = WorkspaceDiagnosticRequest = {}));
|
|
7810
7878
|
/**
|
|
7811
7879
|
* The diagnostic refresh request definition.
|
|
7812
7880
|
*
|
|
@@ -7817,7 +7885,7 @@ var DiagnosticRefreshRequest;
|
|
|
7817
7885
|
DiagnosticRefreshRequest.method = `workspace/diagnostic/refresh`;
|
|
7818
7886
|
DiagnosticRefreshRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
7819
7887
|
DiagnosticRefreshRequest.type = new messages_1.ProtocolRequestType0(DiagnosticRefreshRequest.method);
|
|
7820
|
-
})(DiagnosticRefreshRequest
|
|
7888
|
+
})(DiagnosticRefreshRequest || (exports.DiagnosticRefreshRequest = DiagnosticRefreshRequest = {}));
|
|
7821
7889
|
|
|
7822
7890
|
|
|
7823
7891
|
/***/ }),
|
|
@@ -7854,7 +7922,7 @@ var NotebookCellKind;
|
|
|
7854
7922
|
return value === 1 || value === 2;
|
|
7855
7923
|
}
|
|
7856
7924
|
NotebookCellKind.is = is;
|
|
7857
|
-
})(NotebookCellKind
|
|
7925
|
+
})(NotebookCellKind || (exports.NotebookCellKind = NotebookCellKind = {}));
|
|
7858
7926
|
var ExecutionSummary;
|
|
7859
7927
|
(function (ExecutionSummary) {
|
|
7860
7928
|
function create(executionOrder, success) {
|
|
@@ -7880,7 +7948,7 @@ var ExecutionSummary;
|
|
|
7880
7948
|
return one.executionOrder === other.executionOrder && one.success === other.success;
|
|
7881
7949
|
}
|
|
7882
7950
|
ExecutionSummary.equals = equals;
|
|
7883
|
-
})(ExecutionSummary
|
|
7951
|
+
})(ExecutionSummary || (exports.ExecutionSummary = ExecutionSummary = {}));
|
|
7884
7952
|
var NotebookCell;
|
|
7885
7953
|
(function (NotebookCell) {
|
|
7886
7954
|
function create(kind, document) {
|
|
@@ -7961,7 +8029,7 @@ var NotebookCell;
|
|
|
7961
8029
|
}
|
|
7962
8030
|
return true;
|
|
7963
8031
|
}
|
|
7964
|
-
})(NotebookCell
|
|
8032
|
+
})(NotebookCell || (exports.NotebookCell = NotebookCell = {}));
|
|
7965
8033
|
var NotebookDocument;
|
|
7966
8034
|
(function (NotebookDocument) {
|
|
7967
8035
|
function create(uri, notebookType, version, cells) {
|
|
@@ -7973,13 +8041,13 @@ var NotebookDocument;
|
|
|
7973
8041
|
return Is.objectLiteral(candidate) && Is.string(candidate.uri) && vscode_languageserver_types_1.integer.is(candidate.version) && Is.typedArray(candidate.cells, NotebookCell.is);
|
|
7974
8042
|
}
|
|
7975
8043
|
NotebookDocument.is = is;
|
|
7976
|
-
})(NotebookDocument
|
|
8044
|
+
})(NotebookDocument || (exports.NotebookDocument = NotebookDocument = {}));
|
|
7977
8045
|
var NotebookDocumentSyncRegistrationType;
|
|
7978
8046
|
(function (NotebookDocumentSyncRegistrationType) {
|
|
7979
8047
|
NotebookDocumentSyncRegistrationType.method = 'notebookDocument/sync';
|
|
7980
8048
|
NotebookDocumentSyncRegistrationType.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7981
8049
|
NotebookDocumentSyncRegistrationType.type = new messages_1.RegistrationType(NotebookDocumentSyncRegistrationType.method);
|
|
7982
|
-
})(NotebookDocumentSyncRegistrationType
|
|
8050
|
+
})(NotebookDocumentSyncRegistrationType || (exports.NotebookDocumentSyncRegistrationType = NotebookDocumentSyncRegistrationType = {}));
|
|
7983
8051
|
/**
|
|
7984
8052
|
* A notification sent when a notebook opens.
|
|
7985
8053
|
*
|
|
@@ -7991,7 +8059,7 @@ var DidOpenNotebookDocumentNotification;
|
|
|
7991
8059
|
DidOpenNotebookDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
7992
8060
|
DidOpenNotebookDocumentNotification.type = new messages_1.ProtocolNotificationType(DidOpenNotebookDocumentNotification.method);
|
|
7993
8061
|
DidOpenNotebookDocumentNotification.registrationMethod = NotebookDocumentSyncRegistrationType.method;
|
|
7994
|
-
})(DidOpenNotebookDocumentNotification
|
|
8062
|
+
})(DidOpenNotebookDocumentNotification || (exports.DidOpenNotebookDocumentNotification = DidOpenNotebookDocumentNotification = {}));
|
|
7995
8063
|
var NotebookCellArrayChange;
|
|
7996
8064
|
(function (NotebookCellArrayChange) {
|
|
7997
8065
|
function is(value) {
|
|
@@ -8007,14 +8075,14 @@ var NotebookCellArrayChange;
|
|
|
8007
8075
|
return result;
|
|
8008
8076
|
}
|
|
8009
8077
|
NotebookCellArrayChange.create = create;
|
|
8010
|
-
})(NotebookCellArrayChange
|
|
8078
|
+
})(NotebookCellArrayChange || (exports.NotebookCellArrayChange = NotebookCellArrayChange = {}));
|
|
8011
8079
|
var DidChangeNotebookDocumentNotification;
|
|
8012
8080
|
(function (DidChangeNotebookDocumentNotification) {
|
|
8013
8081
|
DidChangeNotebookDocumentNotification.method = 'notebookDocument/didChange';
|
|
8014
8082
|
DidChangeNotebookDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
8015
8083
|
DidChangeNotebookDocumentNotification.type = new messages_1.ProtocolNotificationType(DidChangeNotebookDocumentNotification.method);
|
|
8016
8084
|
DidChangeNotebookDocumentNotification.registrationMethod = NotebookDocumentSyncRegistrationType.method;
|
|
8017
|
-
})(DidChangeNotebookDocumentNotification
|
|
8085
|
+
})(DidChangeNotebookDocumentNotification || (exports.DidChangeNotebookDocumentNotification = DidChangeNotebookDocumentNotification = {}));
|
|
8018
8086
|
/**
|
|
8019
8087
|
* A notification sent when a notebook document is saved.
|
|
8020
8088
|
*
|
|
@@ -8026,7 +8094,7 @@ var DidSaveNotebookDocumentNotification;
|
|
|
8026
8094
|
DidSaveNotebookDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
8027
8095
|
DidSaveNotebookDocumentNotification.type = new messages_1.ProtocolNotificationType(DidSaveNotebookDocumentNotification.method);
|
|
8028
8096
|
DidSaveNotebookDocumentNotification.registrationMethod = NotebookDocumentSyncRegistrationType.method;
|
|
8029
|
-
})(DidSaveNotebookDocumentNotification
|
|
8097
|
+
})(DidSaveNotebookDocumentNotification || (exports.DidSaveNotebookDocumentNotification = DidSaveNotebookDocumentNotification = {}));
|
|
8030
8098
|
/**
|
|
8031
8099
|
* A notification sent when a notebook closes.
|
|
8032
8100
|
*
|
|
@@ -8038,7 +8106,7 @@ var DidCloseNotebookDocumentNotification;
|
|
|
8038
8106
|
DidCloseNotebookDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
8039
8107
|
DidCloseNotebookDocumentNotification.type = new messages_1.ProtocolNotificationType(DidCloseNotebookDocumentNotification.method);
|
|
8040
8108
|
DidCloseNotebookDocumentNotification.registrationMethod = NotebookDocumentSyncRegistrationType.method;
|
|
8041
|
-
})(DidCloseNotebookDocumentNotification
|
|
8109
|
+
})(DidCloseNotebookDocumentNotification || (exports.DidCloseNotebookDocumentNotification = DidCloseNotebookDocumentNotification = {}));
|
|
8042
8110
|
|
|
8043
8111
|
|
|
8044
8112
|
/***/ }),
|
|
@@ -8047,6 +8115,35 @@ var DidCloseNotebookDocumentNotification;
|
|
|
8047
8115
|
|
|
8048
8116
|
"use strict";
|
|
8049
8117
|
|
|
8118
|
+
/*---------------------------------------------------------------------------------------------
|
|
8119
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8120
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
8121
|
+
*--------------------------------------------------------------------------------------------*/
|
|
8122
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8123
|
+
exports.InlineCompletionRequest = void 0;
|
|
8124
|
+
const messages_1 = __webpack_require__(25);
|
|
8125
|
+
/**
|
|
8126
|
+
* A request to provide inline completions in a document. The request's parameter is of
|
|
8127
|
+
* type {@link InlineCompletionParams}, the response is of type
|
|
8128
|
+
* {@link InlineCompletion InlineCompletion[]} or a Thenable that resolves to such.
|
|
8129
|
+
*
|
|
8130
|
+
* @since 3.18.0
|
|
8131
|
+
* @proposed
|
|
8132
|
+
*/
|
|
8133
|
+
var InlineCompletionRequest;
|
|
8134
|
+
(function (InlineCompletionRequest) {
|
|
8135
|
+
InlineCompletionRequest.method = 'textDocument/inlineCompletion';
|
|
8136
|
+
InlineCompletionRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
8137
|
+
InlineCompletionRequest.type = new messages_1.ProtocolRequestType(InlineCompletionRequest.method);
|
|
8138
|
+
})(InlineCompletionRequest || (exports.InlineCompletionRequest = InlineCompletionRequest = {}));
|
|
8139
|
+
|
|
8140
|
+
|
|
8141
|
+
/***/ }),
|
|
8142
|
+
/* 49 */
|
|
8143
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
8144
|
+
|
|
8145
|
+
"use strict";
|
|
8146
|
+
|
|
8050
8147
|
/* --------------------------------------------------------------------------------------------
|
|
8051
8148
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
8052
8149
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
@@ -8064,7 +8161,7 @@ exports.createProtocolConnection = createProtocolConnection;
|
|
|
8064
8161
|
|
|
8065
8162
|
|
|
8066
8163
|
/***/ }),
|
|
8067
|
-
/*
|
|
8164
|
+
/* 50 */
|
|
8068
8165
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
8069
8166
|
|
|
8070
8167
|
"use strict";
|
|
@@ -8077,8 +8174,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
8077
8174
|
exports.WorkspaceFeature = exports.TextDocumentLanguageFeature = exports.TextDocumentEventFeature = exports.DynamicDocumentFeature = exports.DynamicFeature = exports.StaticFeature = exports.ensure = exports.LSPCancellationError = void 0;
|
|
8078
8175
|
const vscode_1 = __webpack_require__(1);
|
|
8079
8176
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
8080
|
-
const Is = __webpack_require__(
|
|
8081
|
-
const UUID = __webpack_require__(
|
|
8177
|
+
const Is = __webpack_require__(51);
|
|
8178
|
+
const UUID = __webpack_require__(52);
|
|
8082
8179
|
class LSPCancellationError extends vscode_1.CancellationError {
|
|
8083
8180
|
constructor(data) {
|
|
8084
8181
|
super();
|
|
@@ -8098,22 +8195,22 @@ var StaticFeature;
|
|
|
8098
8195
|
function is(value) {
|
|
8099
8196
|
const candidate = value;
|
|
8100
8197
|
return candidate !== undefined && candidate !== null &&
|
|
8101
|
-
Is.func(candidate.fillClientCapabilities) && Is.func(candidate.initialize) && Is.func(candidate.getState) && Is.func(candidate.
|
|
8198
|
+
Is.func(candidate.fillClientCapabilities) && Is.func(candidate.initialize) && Is.func(candidate.getState) && Is.func(candidate.clear) &&
|
|
8102
8199
|
(candidate.fillInitializeParams === undefined || Is.func(candidate.fillInitializeParams));
|
|
8103
8200
|
}
|
|
8104
8201
|
StaticFeature.is = is;
|
|
8105
|
-
})(StaticFeature
|
|
8202
|
+
})(StaticFeature || (exports.StaticFeature = StaticFeature = {}));
|
|
8106
8203
|
var DynamicFeature;
|
|
8107
8204
|
(function (DynamicFeature) {
|
|
8108
8205
|
function is(value) {
|
|
8109
8206
|
const candidate = value;
|
|
8110
8207
|
return candidate !== undefined && candidate !== null &&
|
|
8111
|
-
Is.func(candidate.fillClientCapabilities) && Is.func(candidate.initialize) && Is.func(candidate.getState) && Is.func(candidate.
|
|
8208
|
+
Is.func(candidate.fillClientCapabilities) && Is.func(candidate.initialize) && Is.func(candidate.getState) && Is.func(candidate.clear) &&
|
|
8112
8209
|
(candidate.fillInitializeParams === undefined || Is.func(candidate.fillInitializeParams)) && Is.func(candidate.register) &&
|
|
8113
8210
|
Is.func(candidate.unregister) && candidate.registrationType !== undefined;
|
|
8114
8211
|
}
|
|
8115
8212
|
DynamicFeature.is = is;
|
|
8116
|
-
})(DynamicFeature
|
|
8213
|
+
})(DynamicFeature || (exports.DynamicFeature = DynamicFeature = {}));
|
|
8117
8214
|
/**
|
|
8118
8215
|
* An abstract dynamic feature implementation that operates on documents (e.g. text
|
|
8119
8216
|
* documents or notebooks).
|
|
@@ -8146,6 +8243,14 @@ exports.DynamicDocumentFeature = DynamicDocumentFeature;
|
|
|
8146
8243
|
* emitted from text documents.
|
|
8147
8244
|
*/
|
|
8148
8245
|
class TextDocumentEventFeature extends DynamicDocumentFeature {
|
|
8246
|
+
static textDocumentFilter(selectors, textDocument) {
|
|
8247
|
+
for (const selector of selectors) {
|
|
8248
|
+
if (vscode_1.languages.match(selector, textDocument) > 0) {
|
|
8249
|
+
return true;
|
|
8250
|
+
}
|
|
8251
|
+
}
|
|
8252
|
+
return false;
|
|
8253
|
+
}
|
|
8149
8254
|
constructor(client, event, type, middleware, createParams, textDocument, selectorFilter) {
|
|
8150
8255
|
super(client);
|
|
8151
8256
|
this._event = event;
|
|
@@ -8157,14 +8262,6 @@ class TextDocumentEventFeature extends DynamicDocumentFeature {
|
|
|
8157
8262
|
this._selectors = new Map();
|
|
8158
8263
|
this._onNotificationSent = new vscode_1.EventEmitter();
|
|
8159
8264
|
}
|
|
8160
|
-
static textDocumentFilter(selectors, textDocument) {
|
|
8161
|
-
for (const selector of selectors) {
|
|
8162
|
-
if (vscode_1.languages.match(selector, textDocument) > 0) {
|
|
8163
|
-
return true;
|
|
8164
|
-
}
|
|
8165
|
-
}
|
|
8166
|
-
return false;
|
|
8167
|
-
}
|
|
8168
8265
|
getStateInfo() {
|
|
8169
8266
|
return [this._selectors.values(), false];
|
|
8170
8267
|
}
|
|
@@ -8214,7 +8311,7 @@ class TextDocumentEventFeature extends DynamicDocumentFeature {
|
|
|
8214
8311
|
this._listener = undefined;
|
|
8215
8312
|
}
|
|
8216
8313
|
}
|
|
8217
|
-
|
|
8314
|
+
clear() {
|
|
8218
8315
|
this._selectors.clear();
|
|
8219
8316
|
this._onNotificationSent.dispose();
|
|
8220
8317
|
if (this._listener) {
|
|
@@ -8271,7 +8368,7 @@ class TextDocumentLanguageFeature extends DynamicDocumentFeature {
|
|
|
8271
8368
|
registration.disposable.dispose();
|
|
8272
8369
|
}
|
|
8273
8370
|
}
|
|
8274
|
-
|
|
8371
|
+
clear() {
|
|
8275
8372
|
this._registrations.forEach((value) => {
|
|
8276
8373
|
value.disposable.dispose();
|
|
8277
8374
|
});
|
|
@@ -8344,7 +8441,7 @@ class WorkspaceFeature {
|
|
|
8344
8441
|
registration.disposable.dispose();
|
|
8345
8442
|
}
|
|
8346
8443
|
}
|
|
8347
|
-
|
|
8444
|
+
clear() {
|
|
8348
8445
|
this._registrations.forEach((registration) => {
|
|
8349
8446
|
registration.disposable.dispose();
|
|
8350
8447
|
});
|
|
@@ -8362,7 +8459,7 @@ exports.WorkspaceFeature = WorkspaceFeature;
|
|
|
8362
8459
|
|
|
8363
8460
|
|
|
8364
8461
|
/***/ }),
|
|
8365
|
-
/*
|
|
8462
|
+
/* 51 */
|
|
8366
8463
|
/***/ ((__unused_webpack_module, exports) => {
|
|
8367
8464
|
|
|
8368
8465
|
"use strict";
|
|
@@ -8426,7 +8523,7 @@ exports.asPromise = asPromise;
|
|
|
8426
8523
|
|
|
8427
8524
|
|
|
8428
8525
|
/***/ }),
|
|
8429
|
-
/*
|
|
8526
|
+
/* 52 */
|
|
8430
8527
|
/***/ ((__unused_webpack_module, exports) => {
|
|
8431
8528
|
|
|
8432
8529
|
"use strict";
|
|
@@ -8450,6 +8547,12 @@ class ValueUUID {
|
|
|
8450
8547
|
}
|
|
8451
8548
|
}
|
|
8452
8549
|
class V4UUID extends ValueUUID {
|
|
8550
|
+
static _oneOf(array) {
|
|
8551
|
+
return array[Math.floor(array.length * Math.random())];
|
|
8552
|
+
}
|
|
8553
|
+
static _randomHex() {
|
|
8554
|
+
return V4UUID._oneOf(V4UUID._chars);
|
|
8555
|
+
}
|
|
8453
8556
|
constructor() {
|
|
8454
8557
|
super([
|
|
8455
8558
|
V4UUID._randomHex(),
|
|
@@ -8490,12 +8593,6 @@ class V4UUID extends ValueUUID {
|
|
|
8490
8593
|
V4UUID._randomHex(),
|
|
8491
8594
|
].join(''));
|
|
8492
8595
|
}
|
|
8493
|
-
static _oneOf(array) {
|
|
8494
|
-
return array[Math.floor(array.length * Math.random())];
|
|
8495
|
-
}
|
|
8496
|
-
static _randomHex() {
|
|
8497
|
-
return V4UUID._oneOf(V4UUID._chars);
|
|
8498
|
-
}
|
|
8499
8596
|
}
|
|
8500
8597
|
V4UUID._chars = ['0', '1', '2', '3', '4', '5', '6', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'];
|
|
8501
8598
|
V4UUID._timeHighBits = ['8', '9', 'a', 'b'];
|
|
@@ -8530,7 +8627,7 @@ exports.generateUuid = generateUuid;
|
|
|
8530
8627
|
|
|
8531
8628
|
|
|
8532
8629
|
/***/ }),
|
|
8533
|
-
/*
|
|
8630
|
+
/* 53 */
|
|
8534
8631
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
8535
8632
|
|
|
8536
8633
|
"use strict";
|
|
@@ -8541,11 +8638,11 @@ exports.generateUuid = generateUuid;
|
|
|
8541
8638
|
* ------------------------------------------------------------------------------------------ */
|
|
8542
8639
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8543
8640
|
exports.DiagnosticFeature = exports.DiagnosticPullMode = exports.vsdiag = void 0;
|
|
8544
|
-
const minimatch = __webpack_require__(
|
|
8641
|
+
const minimatch = __webpack_require__(54);
|
|
8545
8642
|
const vscode_1 = __webpack_require__(1);
|
|
8546
8643
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
8547
|
-
const uuid_1 = __webpack_require__(
|
|
8548
|
-
const features_1 = __webpack_require__(
|
|
8644
|
+
const uuid_1 = __webpack_require__(52);
|
|
8645
|
+
const features_1 = __webpack_require__(50);
|
|
8549
8646
|
function ensure(target, key) {
|
|
8550
8647
|
if (target[key] === void 0) {
|
|
8551
8648
|
target[key] = {};
|
|
@@ -8559,12 +8656,12 @@ var vsdiag;
|
|
|
8559
8656
|
DocumentDiagnosticReportKind["full"] = "full";
|
|
8560
8657
|
DocumentDiagnosticReportKind["unChanged"] = "unChanged";
|
|
8561
8658
|
})(DocumentDiagnosticReportKind = vsdiag.DocumentDiagnosticReportKind || (vsdiag.DocumentDiagnosticReportKind = {}));
|
|
8562
|
-
})(vsdiag
|
|
8659
|
+
})(vsdiag || (exports.vsdiag = vsdiag = {}));
|
|
8563
8660
|
var DiagnosticPullMode;
|
|
8564
8661
|
(function (DiagnosticPullMode) {
|
|
8565
8662
|
DiagnosticPullMode["onType"] = "onType";
|
|
8566
8663
|
DiagnosticPullMode["onSave"] = "onSave";
|
|
8567
|
-
})(DiagnosticPullMode
|
|
8664
|
+
})(DiagnosticPullMode || (exports.DiagnosticPullMode = DiagnosticPullMode = {}));
|
|
8568
8665
|
var RequestStateKind;
|
|
8569
8666
|
(function (RequestStateKind) {
|
|
8570
8667
|
RequestStateKind["active"] = "open";
|
|
@@ -9204,6 +9301,33 @@ class DiagnosticFeatureProviderImpl {
|
|
|
9204
9301
|
this.diagnosticRequestor.pull(textDocument, () => { addToBackgroundIfNeeded(textDocument); });
|
|
9205
9302
|
}
|
|
9206
9303
|
}));
|
|
9304
|
+
disposables.push(tabs.onOpen((opened) => {
|
|
9305
|
+
for (const resource of opened) {
|
|
9306
|
+
// We already know about this document. This can happen via a document open.
|
|
9307
|
+
if (this.diagnosticRequestor.knows(PullState.document, resource)) {
|
|
9308
|
+
continue;
|
|
9309
|
+
}
|
|
9310
|
+
const uriStr = resource.toString();
|
|
9311
|
+
let textDocument;
|
|
9312
|
+
for (const item of vscode_1.workspace.textDocuments) {
|
|
9313
|
+
if (uriStr === item.uri.toString()) {
|
|
9314
|
+
textDocument = item;
|
|
9315
|
+
break;
|
|
9316
|
+
}
|
|
9317
|
+
}
|
|
9318
|
+
// In VS Code the event timing is as follows:
|
|
9319
|
+
// 1. tab events are fired.
|
|
9320
|
+
// 2. open document events are fired and internal data structures like
|
|
9321
|
+
// workspace.textDocuments and Window.activeTextEditor are updated.
|
|
9322
|
+
//
|
|
9323
|
+
// This means: for newly created tab/editors we don't find the underlying
|
|
9324
|
+
// document yet. So we do nothing an rely on the underlying open document event
|
|
9325
|
+
// to be fired.
|
|
9326
|
+
if (textDocument !== undefined && matches(textDocument)) {
|
|
9327
|
+
this.diagnosticRequestor.pull(textDocument, () => { addToBackgroundIfNeeded(textDocument); });
|
|
9328
|
+
}
|
|
9329
|
+
}
|
|
9330
|
+
}));
|
|
9207
9331
|
// Pull all diagnostics for documents that are already open
|
|
9208
9332
|
const pulledTextDocuments = new Set();
|
|
9209
9333
|
for (const textDocument of vscode_1.workspace.textDocuments) {
|
|
@@ -9305,12 +9429,12 @@ class DiagnosticFeature extends features_1.TextDocumentLanguageFeature {
|
|
|
9305
9429
|
}
|
|
9306
9430
|
this.register({ id: id, registerOptions: options });
|
|
9307
9431
|
}
|
|
9308
|
-
|
|
9432
|
+
clear() {
|
|
9309
9433
|
if (this.tabs !== undefined) {
|
|
9310
9434
|
this.tabs.dispose();
|
|
9311
9435
|
this.tabs = undefined;
|
|
9312
9436
|
}
|
|
9313
|
-
super.
|
|
9437
|
+
super.clear();
|
|
9314
9438
|
}
|
|
9315
9439
|
registerLanguageProvider(options) {
|
|
9316
9440
|
if (this.tabs === undefined) {
|
|
@@ -9324,7 +9448,7 @@ exports.DiagnosticFeature = DiagnosticFeature;
|
|
|
9324
9448
|
|
|
9325
9449
|
|
|
9326
9450
|
/***/ }),
|
|
9327
|
-
/*
|
|
9451
|
+
/* 54 */
|
|
9328
9452
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
9329
9453
|
|
|
9330
9454
|
const minimatch = module.exports = (p, pattern, options = {}) => {
|
|
@@ -9340,12 +9464,12 @@ const minimatch = module.exports = (p, pattern, options = {}) => {
|
|
|
9340
9464
|
|
|
9341
9465
|
module.exports = minimatch
|
|
9342
9466
|
|
|
9343
|
-
const path = __webpack_require__(
|
|
9467
|
+
const path = __webpack_require__(55)
|
|
9344
9468
|
minimatch.sep = path.sep
|
|
9345
9469
|
|
|
9346
9470
|
const GLOBSTAR = Symbol('globstar **')
|
|
9347
9471
|
minimatch.GLOBSTAR = GLOBSTAR
|
|
9348
|
-
const expand = __webpack_require__(
|
|
9472
|
+
const expand = __webpack_require__(56)
|
|
9349
9473
|
|
|
9350
9474
|
const plTypes = {
|
|
9351
9475
|
'!': { open: '(?:(?!(?:', close: '))[^/]*?)'},
|
|
@@ -10236,7 +10360,7 @@ minimatch.Minimatch = Minimatch
|
|
|
10236
10360
|
|
|
10237
10361
|
|
|
10238
10362
|
/***/ }),
|
|
10239
|
-
/*
|
|
10363
|
+
/* 55 */
|
|
10240
10364
|
/***/ ((module) => {
|
|
10241
10365
|
|
|
10242
10366
|
const isWindows = typeof process === 'object' &&
|
|
@@ -10246,10 +10370,10 @@ module.exports = isWindows ? { sep: '\\' } : { sep: '/' }
|
|
|
10246
10370
|
|
|
10247
10371
|
|
|
10248
10372
|
/***/ }),
|
|
10249
|
-
/*
|
|
10373
|
+
/* 56 */
|
|
10250
10374
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
10251
10375
|
|
|
10252
|
-
var balanced = __webpack_require__(
|
|
10376
|
+
var balanced = __webpack_require__(57);
|
|
10253
10377
|
|
|
10254
10378
|
module.exports = expandTop;
|
|
10255
10379
|
|
|
@@ -10455,7 +10579,7 @@ function expand(str, isTop) {
|
|
|
10455
10579
|
|
|
10456
10580
|
|
|
10457
10581
|
/***/ }),
|
|
10458
|
-
/*
|
|
10582
|
+
/* 57 */
|
|
10459
10583
|
/***/ ((module) => {
|
|
10460
10584
|
|
|
10461
10585
|
"use strict";
|
|
@@ -10521,7 +10645,7 @@ function range(a, b, str) {
|
|
|
10521
10645
|
|
|
10522
10646
|
|
|
10523
10647
|
/***/ }),
|
|
10524
|
-
/*
|
|
10648
|
+
/* 58 */
|
|
10525
10649
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
10526
10650
|
|
|
10527
10651
|
"use strict";
|
|
@@ -10534,47 +10658,48 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
10534
10658
|
exports.ProposedFeatures = exports.BaseLanguageClient = exports.MessageTransports = exports.SuspendMode = exports.State = exports.CloseAction = exports.ErrorAction = exports.RevealOutputChannelOn = void 0;
|
|
10535
10659
|
const vscode_1 = __webpack_require__(1);
|
|
10536
10660
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
10537
|
-
const c2p = __webpack_require__(
|
|
10538
|
-
const p2c = __webpack_require__(
|
|
10539
|
-
const Is = __webpack_require__(
|
|
10540
|
-
const async_1 = __webpack_require__(
|
|
10541
|
-
const UUID = __webpack_require__(
|
|
10542
|
-
const progressPart_1 = __webpack_require__(
|
|
10543
|
-
const features_1 = __webpack_require__(
|
|
10544
|
-
const diagnostic_1 = __webpack_require__(
|
|
10545
|
-
const notebook_1 = __webpack_require__(
|
|
10546
|
-
const configuration_1 = __webpack_require__(
|
|
10547
|
-
const textSynchronization_1 = __webpack_require__(
|
|
10548
|
-
const completion_1 = __webpack_require__(
|
|
10549
|
-
const hover_1 = __webpack_require__(
|
|
10550
|
-
const definition_1 = __webpack_require__(
|
|
10551
|
-
const signatureHelp_1 = __webpack_require__(
|
|
10552
|
-
const documentHighlight_1 = __webpack_require__(
|
|
10553
|
-
const documentSymbol_1 = __webpack_require__(
|
|
10554
|
-
const workspaceSymbol_1 = __webpack_require__(
|
|
10555
|
-
const reference_1 = __webpack_require__(
|
|
10556
|
-
const codeAction_1 = __webpack_require__(
|
|
10557
|
-
const codeLens_1 = __webpack_require__(
|
|
10558
|
-
const formatting_1 = __webpack_require__(
|
|
10559
|
-
const rename_1 = __webpack_require__(
|
|
10560
|
-
const documentLink_1 = __webpack_require__(
|
|
10561
|
-
const executeCommand_1 = __webpack_require__(
|
|
10562
|
-
const fileSystemWatcher_1 = __webpack_require__(
|
|
10563
|
-
const colorProvider_1 = __webpack_require__(
|
|
10564
|
-
const implementation_1 = __webpack_require__(
|
|
10565
|
-
const typeDefinition_1 = __webpack_require__(
|
|
10566
|
-
const workspaceFolder_1 = __webpack_require__(
|
|
10567
|
-
const foldingRange_1 = __webpack_require__(
|
|
10568
|
-
const declaration_1 = __webpack_require__(
|
|
10569
|
-
const selectionRange_1 = __webpack_require__(
|
|
10570
|
-
const progress_1 = __webpack_require__(
|
|
10571
|
-
const callHierarchy_1 = __webpack_require__(
|
|
10572
|
-
const semanticTokens_1 = __webpack_require__(
|
|
10573
|
-
const fileOperations_1 = __webpack_require__(
|
|
10574
|
-
const linkedEditingRange_1 = __webpack_require__(
|
|
10575
|
-
const typeHierarchy_1 = __webpack_require__(
|
|
10576
|
-
const inlineValue_1 = __webpack_require__(
|
|
10577
|
-
const inlayHint_1 = __webpack_require__(
|
|
10661
|
+
const c2p = __webpack_require__(59);
|
|
10662
|
+
const p2c = __webpack_require__(70);
|
|
10663
|
+
const Is = __webpack_require__(51);
|
|
10664
|
+
const async_1 = __webpack_require__(60);
|
|
10665
|
+
const UUID = __webpack_require__(52);
|
|
10666
|
+
const progressPart_1 = __webpack_require__(71);
|
|
10667
|
+
const features_1 = __webpack_require__(50);
|
|
10668
|
+
const diagnostic_1 = __webpack_require__(53);
|
|
10669
|
+
const notebook_1 = __webpack_require__(72);
|
|
10670
|
+
const configuration_1 = __webpack_require__(73);
|
|
10671
|
+
const textSynchronization_1 = __webpack_require__(74);
|
|
10672
|
+
const completion_1 = __webpack_require__(75);
|
|
10673
|
+
const hover_1 = __webpack_require__(76);
|
|
10674
|
+
const definition_1 = __webpack_require__(77);
|
|
10675
|
+
const signatureHelp_1 = __webpack_require__(78);
|
|
10676
|
+
const documentHighlight_1 = __webpack_require__(79);
|
|
10677
|
+
const documentSymbol_1 = __webpack_require__(80);
|
|
10678
|
+
const workspaceSymbol_1 = __webpack_require__(81);
|
|
10679
|
+
const reference_1 = __webpack_require__(82);
|
|
10680
|
+
const codeAction_1 = __webpack_require__(83);
|
|
10681
|
+
const codeLens_1 = __webpack_require__(84);
|
|
10682
|
+
const formatting_1 = __webpack_require__(85);
|
|
10683
|
+
const rename_1 = __webpack_require__(86);
|
|
10684
|
+
const documentLink_1 = __webpack_require__(87);
|
|
10685
|
+
const executeCommand_1 = __webpack_require__(88);
|
|
10686
|
+
const fileSystemWatcher_1 = __webpack_require__(89);
|
|
10687
|
+
const colorProvider_1 = __webpack_require__(90);
|
|
10688
|
+
const implementation_1 = __webpack_require__(91);
|
|
10689
|
+
const typeDefinition_1 = __webpack_require__(92);
|
|
10690
|
+
const workspaceFolder_1 = __webpack_require__(93);
|
|
10691
|
+
const foldingRange_1 = __webpack_require__(94);
|
|
10692
|
+
const declaration_1 = __webpack_require__(95);
|
|
10693
|
+
const selectionRange_1 = __webpack_require__(96);
|
|
10694
|
+
const progress_1 = __webpack_require__(97);
|
|
10695
|
+
const callHierarchy_1 = __webpack_require__(98);
|
|
10696
|
+
const semanticTokens_1 = __webpack_require__(99);
|
|
10697
|
+
const fileOperations_1 = __webpack_require__(100);
|
|
10698
|
+
const linkedEditingRange_1 = __webpack_require__(101);
|
|
10699
|
+
const typeHierarchy_1 = __webpack_require__(102);
|
|
10700
|
+
const inlineValue_1 = __webpack_require__(103);
|
|
10701
|
+
const inlayHint_1 = __webpack_require__(104);
|
|
10702
|
+
const inlineCompletion_1 = __webpack_require__(105);
|
|
10578
10703
|
/**
|
|
10579
10704
|
* Controls when the output channel is revealed.
|
|
10580
10705
|
*/
|
|
@@ -10584,7 +10709,7 @@ var RevealOutputChannelOn;
|
|
|
10584
10709
|
RevealOutputChannelOn[RevealOutputChannelOn["Warn"] = 2] = "Warn";
|
|
10585
10710
|
RevealOutputChannelOn[RevealOutputChannelOn["Error"] = 3] = "Error";
|
|
10586
10711
|
RevealOutputChannelOn[RevealOutputChannelOn["Never"] = 4] = "Never";
|
|
10587
|
-
})(RevealOutputChannelOn
|
|
10712
|
+
})(RevealOutputChannelOn || (exports.RevealOutputChannelOn = RevealOutputChannelOn = {}));
|
|
10588
10713
|
/**
|
|
10589
10714
|
* An action to be performed when the connection is producing errors.
|
|
10590
10715
|
*/
|
|
@@ -10598,7 +10723,7 @@ var ErrorAction;
|
|
|
10598
10723
|
* Shutdown the server.
|
|
10599
10724
|
*/
|
|
10600
10725
|
ErrorAction[ErrorAction["Shutdown"] = 2] = "Shutdown";
|
|
10601
|
-
})(ErrorAction
|
|
10726
|
+
})(ErrorAction || (exports.ErrorAction = ErrorAction = {}));
|
|
10602
10727
|
/**
|
|
10603
10728
|
* An action to be performed when the connection to a server got closed.
|
|
10604
10729
|
*/
|
|
@@ -10612,7 +10737,7 @@ var CloseAction;
|
|
|
10612
10737
|
* Restart the server.
|
|
10613
10738
|
*/
|
|
10614
10739
|
CloseAction[CloseAction["Restart"] = 2] = "Restart";
|
|
10615
|
-
})(CloseAction
|
|
10740
|
+
})(CloseAction || (exports.CloseAction = CloseAction = {}));
|
|
10616
10741
|
/**
|
|
10617
10742
|
* Signals in which state the language client is in.
|
|
10618
10743
|
*/
|
|
@@ -10630,7 +10755,7 @@ var State;
|
|
|
10630
10755
|
* The client is running and ready.
|
|
10631
10756
|
*/
|
|
10632
10757
|
State[State["Running"] = 2] = "Running";
|
|
10633
|
-
})(State
|
|
10758
|
+
})(State || (exports.State = State = {}));
|
|
10634
10759
|
var SuspendMode;
|
|
10635
10760
|
(function (SuspendMode) {
|
|
10636
10761
|
/**
|
|
@@ -10643,7 +10768,20 @@ var SuspendMode;
|
|
|
10643
10768
|
* activation listener.
|
|
10644
10769
|
*/
|
|
10645
10770
|
SuspendMode["on"] = "on";
|
|
10646
|
-
})(SuspendMode
|
|
10771
|
+
})(SuspendMode || (exports.SuspendMode = SuspendMode = {}));
|
|
10772
|
+
var ResolvedClientOptions;
|
|
10773
|
+
(function (ResolvedClientOptions) {
|
|
10774
|
+
function sanitizeIsTrusted(isTrusted) {
|
|
10775
|
+
if (isTrusted === undefined || isTrusted === null) {
|
|
10776
|
+
return false;
|
|
10777
|
+
}
|
|
10778
|
+
if ((typeof isTrusted === 'boolean') || (typeof isTrusted === 'object' && isTrusted !== null && Is.stringArray(isTrusted.enabledCommands))) {
|
|
10779
|
+
return isTrusted;
|
|
10780
|
+
}
|
|
10781
|
+
return false;
|
|
10782
|
+
}
|
|
10783
|
+
ResolvedClientOptions.sanitizeIsTrusted = sanitizeIsTrusted;
|
|
10784
|
+
})(ResolvedClientOptions || (ResolvedClientOptions = {}));
|
|
10647
10785
|
class DefaultErrorHandler {
|
|
10648
10786
|
constructor(client, maxRestartCount) {
|
|
10649
10787
|
this.client = client;
|
|
@@ -10689,7 +10827,7 @@ var MessageTransports;
|
|
|
10689
10827
|
return candidate && vscode_languageserver_protocol_1.MessageReader.is(value.reader) && vscode_languageserver_protocol_1.MessageWriter.is(value.writer);
|
|
10690
10828
|
}
|
|
10691
10829
|
MessageTransports.is = is;
|
|
10692
|
-
})(MessageTransports
|
|
10830
|
+
})(MessageTransports || (exports.MessageTransports = MessageTransports = {}));
|
|
10693
10831
|
class BaseLanguageClient {
|
|
10694
10832
|
constructor(id, name, clientOptions) {
|
|
10695
10833
|
this._traceFormat = vscode_languageserver_protocol_1.TraceFormat.Text;
|
|
@@ -10703,7 +10841,7 @@ class BaseLanguageClient {
|
|
|
10703
10841
|
clientOptions = clientOptions || {};
|
|
10704
10842
|
const markdown = { isTrusted: false, supportHtml: false };
|
|
10705
10843
|
if (clientOptions.markdown !== undefined) {
|
|
10706
|
-
markdown.isTrusted = clientOptions.markdown.isTrusted
|
|
10844
|
+
markdown.isTrusted = ResolvedClientOptions.sanitizeIsTrusted(clientOptions.markdown.isTrusted);
|
|
10707
10845
|
markdown.supportHtml = clientOptions.markdown.supportHtml === true;
|
|
10708
10846
|
}
|
|
10709
10847
|
// const defaultInterval = (clientOptions as TestOptions).$testMode ? 50 : 60000;
|
|
@@ -11520,9 +11658,9 @@ class BaseLanguageClient {
|
|
|
11520
11658
|
if (this._syncedDocuments) {
|
|
11521
11659
|
this._syncedDocuments.clear();
|
|
11522
11660
|
}
|
|
11523
|
-
//
|
|
11661
|
+
// Clear features in reverse order;
|
|
11524
11662
|
for (const feature of Array.from(this._features.entries()).map(entry => entry[1]).reverse()) {
|
|
11525
|
-
feature.
|
|
11663
|
+
feature.clear();
|
|
11526
11664
|
}
|
|
11527
11665
|
if (mode === 'stop' && this._diagnostics !== undefined) {
|
|
11528
11666
|
this._diagnostics.dispose();
|
|
@@ -12102,15 +12240,17 @@ function createConnection(input, output, errorHandler, closeHandler, options) {
|
|
|
12102
12240
|
var ProposedFeatures;
|
|
12103
12241
|
(function (ProposedFeatures) {
|
|
12104
12242
|
function createAll(_client) {
|
|
12105
|
-
let result = [
|
|
12243
|
+
let result = [
|
|
12244
|
+
new inlineCompletion_1.InlineCompletionItemFeature(_client)
|
|
12245
|
+
];
|
|
12106
12246
|
return result;
|
|
12107
12247
|
}
|
|
12108
12248
|
ProposedFeatures.createAll = createAll;
|
|
12109
|
-
})(ProposedFeatures
|
|
12249
|
+
})(ProposedFeatures || (exports.ProposedFeatures = ProposedFeatures = {}));
|
|
12110
12250
|
|
|
12111
12251
|
|
|
12112
12252
|
/***/ }),
|
|
12113
|
-
/*
|
|
12253
|
+
/* 59 */
|
|
12114
12254
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
12115
12255
|
|
|
12116
12256
|
"use strict";
|
|
@@ -12123,17 +12263,17 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
12123
12263
|
exports.createConverter = void 0;
|
|
12124
12264
|
const code = __webpack_require__(1);
|
|
12125
12265
|
const proto = __webpack_require__(5);
|
|
12126
|
-
const Is = __webpack_require__(
|
|
12127
|
-
const async = __webpack_require__(
|
|
12128
|
-
const protocolCompletionItem_1 = __webpack_require__(
|
|
12129
|
-
const protocolCodeLens_1 = __webpack_require__(
|
|
12130
|
-
const protocolDocumentLink_1 = __webpack_require__(
|
|
12131
|
-
const protocolCodeAction_1 = __webpack_require__(
|
|
12132
|
-
const protocolDiagnostic_1 = __webpack_require__(
|
|
12133
|
-
const protocolCallHierarchyItem_1 = __webpack_require__(
|
|
12134
|
-
const protocolTypeHierarchyItem_1 = __webpack_require__(
|
|
12135
|
-
const protocolWorkspaceSymbol_1 = __webpack_require__(
|
|
12136
|
-
const protocolInlayHint_1 = __webpack_require__(
|
|
12266
|
+
const Is = __webpack_require__(51);
|
|
12267
|
+
const async = __webpack_require__(60);
|
|
12268
|
+
const protocolCompletionItem_1 = __webpack_require__(61);
|
|
12269
|
+
const protocolCodeLens_1 = __webpack_require__(62);
|
|
12270
|
+
const protocolDocumentLink_1 = __webpack_require__(63);
|
|
12271
|
+
const protocolCodeAction_1 = __webpack_require__(64);
|
|
12272
|
+
const protocolDiagnostic_1 = __webpack_require__(65);
|
|
12273
|
+
const protocolCallHierarchyItem_1 = __webpack_require__(66);
|
|
12274
|
+
const protocolTypeHierarchyItem_1 = __webpack_require__(67);
|
|
12275
|
+
const protocolWorkspaceSymbol_1 = __webpack_require__(68);
|
|
12276
|
+
const protocolInlayHint_1 = __webpack_require__(69);
|
|
12137
12277
|
var InsertReplaceRange;
|
|
12138
12278
|
(function (InsertReplaceRange) {
|
|
12139
12279
|
function is(value) {
|
|
@@ -12392,6 +12532,9 @@ function createConverter(uriConverter) {
|
|
|
12392
12532
|
}
|
|
12393
12533
|
return { start: asPosition(value.start), end: asPosition(value.end) };
|
|
12394
12534
|
}
|
|
12535
|
+
function asRanges(values) {
|
|
12536
|
+
return values.map(asRange);
|
|
12537
|
+
}
|
|
12395
12538
|
function asLocation(value) {
|
|
12396
12539
|
if (value === undefined || value === null) {
|
|
12397
12540
|
return value;
|
|
@@ -12767,6 +12910,10 @@ function createConverter(uriConverter) {
|
|
|
12767
12910
|
}
|
|
12768
12911
|
return proto.InlineValueContext.create(context.frameId, asRange(context.stoppedLocation));
|
|
12769
12912
|
}
|
|
12913
|
+
function asInlineCompletionParams(document, position, context) {
|
|
12914
|
+
return { context: proto.InlineCompletionContext.create(context.triggerKind, context.selectedCompletionInfo),
|
|
12915
|
+
textDocument: asTextDocumentIdentifier(document), position: asPosition(position) };
|
|
12916
|
+
}
|
|
12770
12917
|
function asCommand(item) {
|
|
12771
12918
|
let result = proto.Command.create(item.title, item.command);
|
|
12772
12919
|
if (item.arguments) {
|
|
@@ -12947,6 +13094,7 @@ function createConverter(uriConverter) {
|
|
|
12947
13094
|
asSignatureHelpParams,
|
|
12948
13095
|
asWorkerPosition,
|
|
12949
13096
|
asRange,
|
|
13097
|
+
asRanges,
|
|
12950
13098
|
asPosition,
|
|
12951
13099
|
asPositions,
|
|
12952
13100
|
asPositionsSync,
|
|
@@ -12977,14 +13125,15 @@ function createConverter(uriConverter) {
|
|
|
12977
13125
|
asCallHierarchyItem,
|
|
12978
13126
|
asTypeHierarchyItem,
|
|
12979
13127
|
asInlayHint,
|
|
12980
|
-
asWorkspaceSymbol
|
|
13128
|
+
asWorkspaceSymbol,
|
|
13129
|
+
asInlineCompletionParams
|
|
12981
13130
|
};
|
|
12982
13131
|
}
|
|
12983
13132
|
exports.createConverter = createConverter;
|
|
12984
13133
|
|
|
12985
13134
|
|
|
12986
13135
|
/***/ }),
|
|
12987
|
-
/*
|
|
13136
|
+
/* 60 */
|
|
12988
13137
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
12989
13138
|
|
|
12990
13139
|
"use strict";
|
|
@@ -13267,7 +13416,7 @@ exports.forEach = forEach;
|
|
|
13267
13416
|
|
|
13268
13417
|
|
|
13269
13418
|
/***/ }),
|
|
13270
|
-
/*
|
|
13419
|
+
/* 61 */
|
|
13271
13420
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
13272
13421
|
|
|
13273
13422
|
"use strict";
|
|
@@ -13287,7 +13436,7 @@ exports["default"] = ProtocolCompletionItem;
|
|
|
13287
13436
|
|
|
13288
13437
|
|
|
13289
13438
|
/***/ }),
|
|
13290
|
-
/*
|
|
13439
|
+
/* 62 */
|
|
13291
13440
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
13292
13441
|
|
|
13293
13442
|
"use strict";
|
|
@@ -13307,7 +13456,7 @@ exports["default"] = ProtocolCodeLens;
|
|
|
13307
13456
|
|
|
13308
13457
|
|
|
13309
13458
|
/***/ }),
|
|
13310
|
-
/*
|
|
13459
|
+
/* 63 */
|
|
13311
13460
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
13312
13461
|
|
|
13313
13462
|
"use strict";
|
|
@@ -13327,7 +13476,7 @@ exports["default"] = ProtocolDocumentLink;
|
|
|
13327
13476
|
|
|
13328
13477
|
|
|
13329
13478
|
/***/ }),
|
|
13330
|
-
/*
|
|
13479
|
+
/* 64 */
|
|
13331
13480
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
13332
13481
|
|
|
13333
13482
|
"use strict";
|
|
@@ -13348,7 +13497,7 @@ exports["default"] = ProtocolCodeAction;
|
|
|
13348
13497
|
|
|
13349
13498
|
|
|
13350
13499
|
/***/ }),
|
|
13351
|
-
/*
|
|
13500
|
+
/* 65 */
|
|
13352
13501
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
13353
13502
|
|
|
13354
13503
|
"use strict";
|
|
@@ -13360,7 +13509,7 @@ exports["default"] = ProtocolCodeAction;
|
|
|
13360
13509
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
13361
13510
|
exports.ProtocolDiagnostic = exports.DiagnosticCode = void 0;
|
|
13362
13511
|
const vscode = __webpack_require__(1);
|
|
13363
|
-
const Is = __webpack_require__(
|
|
13512
|
+
const Is = __webpack_require__(51);
|
|
13364
13513
|
var DiagnosticCode;
|
|
13365
13514
|
(function (DiagnosticCode) {
|
|
13366
13515
|
function is(value) {
|
|
@@ -13368,7 +13517,7 @@ var DiagnosticCode;
|
|
|
13368
13517
|
return candidate !== undefined && candidate !== null && (Is.number(candidate.value) || Is.string(candidate.value)) && Is.string(candidate.target);
|
|
13369
13518
|
}
|
|
13370
13519
|
DiagnosticCode.is = is;
|
|
13371
|
-
})(DiagnosticCode
|
|
13520
|
+
})(DiagnosticCode || (exports.DiagnosticCode = DiagnosticCode = {}));
|
|
13372
13521
|
class ProtocolDiagnostic extends vscode.Diagnostic {
|
|
13373
13522
|
constructor(range, message, severity, data) {
|
|
13374
13523
|
super(range, message, severity);
|
|
@@ -13380,7 +13529,7 @@ exports.ProtocolDiagnostic = ProtocolDiagnostic;
|
|
|
13380
13529
|
|
|
13381
13530
|
|
|
13382
13531
|
/***/ }),
|
|
13383
|
-
/*
|
|
13532
|
+
/* 66 */
|
|
13384
13533
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
13385
13534
|
|
|
13386
13535
|
"use strict";
|
|
@@ -13403,7 +13552,7 @@ exports["default"] = ProtocolCallHierarchyItem;
|
|
|
13403
13552
|
|
|
13404
13553
|
|
|
13405
13554
|
/***/ }),
|
|
13406
|
-
/*
|
|
13555
|
+
/* 67 */
|
|
13407
13556
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
13408
13557
|
|
|
13409
13558
|
"use strict";
|
|
@@ -13426,7 +13575,7 @@ exports["default"] = ProtocolTypeHierarchyItem;
|
|
|
13426
13575
|
|
|
13427
13576
|
|
|
13428
13577
|
/***/ }),
|
|
13429
|
-
/*
|
|
13578
|
+
/* 68 */
|
|
13430
13579
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
13431
13580
|
|
|
13432
13581
|
"use strict";
|
|
@@ -13451,7 +13600,7 @@ exports["default"] = WorkspaceSymbol;
|
|
|
13451
13600
|
|
|
13452
13601
|
|
|
13453
13602
|
/***/ }),
|
|
13454
|
-
/*
|
|
13603
|
+
/* 69 */
|
|
13455
13604
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
13456
13605
|
|
|
13457
13606
|
"use strict";
|
|
@@ -13471,7 +13620,7 @@ exports["default"] = ProtocolInlayHint;
|
|
|
13471
13620
|
|
|
13472
13621
|
|
|
13473
13622
|
/***/ }),
|
|
13474
|
-
/*
|
|
13623
|
+
/* 70 */
|
|
13475
13624
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
13476
13625
|
|
|
13477
13626
|
"use strict";
|
|
@@ -13484,17 +13633,17 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
13484
13633
|
exports.createConverter = void 0;
|
|
13485
13634
|
const code = __webpack_require__(1);
|
|
13486
13635
|
const ls = __webpack_require__(5);
|
|
13487
|
-
const Is = __webpack_require__(
|
|
13488
|
-
const async = __webpack_require__(
|
|
13489
|
-
const protocolCompletionItem_1 = __webpack_require__(
|
|
13490
|
-
const protocolCodeLens_1 = __webpack_require__(
|
|
13491
|
-
const protocolDocumentLink_1 = __webpack_require__(
|
|
13492
|
-
const protocolCodeAction_1 = __webpack_require__(
|
|
13493
|
-
const protocolDiagnostic_1 = __webpack_require__(
|
|
13494
|
-
const protocolCallHierarchyItem_1 = __webpack_require__(
|
|
13495
|
-
const protocolTypeHierarchyItem_1 = __webpack_require__(
|
|
13496
|
-
const protocolWorkspaceSymbol_1 = __webpack_require__(
|
|
13497
|
-
const protocolInlayHint_1 = __webpack_require__(
|
|
13636
|
+
const Is = __webpack_require__(51);
|
|
13637
|
+
const async = __webpack_require__(60);
|
|
13638
|
+
const protocolCompletionItem_1 = __webpack_require__(61);
|
|
13639
|
+
const protocolCodeLens_1 = __webpack_require__(62);
|
|
13640
|
+
const protocolDocumentLink_1 = __webpack_require__(63);
|
|
13641
|
+
const protocolCodeAction_1 = __webpack_require__(64);
|
|
13642
|
+
const protocolDiagnostic_1 = __webpack_require__(65);
|
|
13643
|
+
const protocolCallHierarchyItem_1 = __webpack_require__(66);
|
|
13644
|
+
const protocolTypeHierarchyItem_1 = __webpack_require__(67);
|
|
13645
|
+
const protocolWorkspaceSymbol_1 = __webpack_require__(68);
|
|
13646
|
+
const protocolInlayHint_1 = __webpack_require__(69);
|
|
13498
13647
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
13499
13648
|
var CodeBlock;
|
|
13500
13649
|
(function (CodeBlock) {
|
|
@@ -14500,6 +14649,37 @@ function createConverter(uriConverter, trustMarkdown, supportHtml) {
|
|
|
14500
14649
|
}
|
|
14501
14650
|
return undefined;
|
|
14502
14651
|
}
|
|
14652
|
+
async function asInlineCompletionResult(value, token) {
|
|
14653
|
+
if (!value) {
|
|
14654
|
+
return undefined;
|
|
14655
|
+
}
|
|
14656
|
+
if (Array.isArray(value)) {
|
|
14657
|
+
return async.map(value, (item) => asInlineCompletionItem(item), token);
|
|
14658
|
+
}
|
|
14659
|
+
const list = value;
|
|
14660
|
+
const converted = await async.map(list.items, (item) => {
|
|
14661
|
+
return asInlineCompletionItem(item);
|
|
14662
|
+
}, token);
|
|
14663
|
+
return new code.InlineCompletionList(converted);
|
|
14664
|
+
}
|
|
14665
|
+
function asInlineCompletionItem(item) {
|
|
14666
|
+
let insertText;
|
|
14667
|
+
if (typeof item.insertText === 'string') {
|
|
14668
|
+
insertText = item.insertText;
|
|
14669
|
+
}
|
|
14670
|
+
else {
|
|
14671
|
+
insertText = new code.SnippetString(item.insertText.value);
|
|
14672
|
+
}
|
|
14673
|
+
let command = undefined;
|
|
14674
|
+
if (item.command) {
|
|
14675
|
+
command = asCommand(item.command);
|
|
14676
|
+
}
|
|
14677
|
+
const inlineCompletionItem = new code.InlineCompletionItem(insertText, asRange(item.range), command);
|
|
14678
|
+
if (item.filterText) {
|
|
14679
|
+
inlineCompletionItem.filterText = item.filterText;
|
|
14680
|
+
}
|
|
14681
|
+
return inlineCompletionItem;
|
|
14682
|
+
}
|
|
14503
14683
|
return {
|
|
14504
14684
|
asUri,
|
|
14505
14685
|
asDocumentSelector,
|
|
@@ -14572,14 +14752,16 @@ function createConverter(uriConverter, trustMarkdown, supportHtml) {
|
|
|
14572
14752
|
asLinkedEditingRanges: asLinkedEditingRanges,
|
|
14573
14753
|
asTypeHierarchyItem,
|
|
14574
14754
|
asTypeHierarchyItems,
|
|
14575
|
-
asGlobPattern
|
|
14755
|
+
asGlobPattern,
|
|
14756
|
+
asInlineCompletionResult,
|
|
14757
|
+
asInlineCompletionItem
|
|
14576
14758
|
};
|
|
14577
14759
|
}
|
|
14578
14760
|
exports.createConverter = createConverter;
|
|
14579
14761
|
|
|
14580
14762
|
|
|
14581
14763
|
/***/ }),
|
|
14582
|
-
/*
|
|
14764
|
+
/* 71 */
|
|
14583
14765
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
14584
14766
|
|
|
14585
14767
|
"use strict";
|
|
@@ -14592,7 +14774,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
14592
14774
|
exports.ProgressPart = void 0;
|
|
14593
14775
|
const vscode_1 = __webpack_require__(1);
|
|
14594
14776
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
14595
|
-
const Is = __webpack_require__(
|
|
14777
|
+
const Is = __webpack_require__(51);
|
|
14596
14778
|
class ProgressPart {
|
|
14597
14779
|
constructor(_client, _token, done) {
|
|
14598
14780
|
this._client = _client;
|
|
@@ -14682,7 +14864,7 @@ exports.ProgressPart = ProgressPart;
|
|
|
14682
14864
|
|
|
14683
14865
|
|
|
14684
14866
|
/***/ }),
|
|
14685
|
-
/*
|
|
14867
|
+
/* 72 */
|
|
14686
14868
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
14687
14869
|
|
|
14688
14870
|
"use strict";
|
|
@@ -14694,10 +14876,10 @@ exports.ProgressPart = ProgressPart;
|
|
|
14694
14876
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
14695
14877
|
exports.NotebookDocumentSyncFeature = void 0;
|
|
14696
14878
|
const vscode = __webpack_require__(1);
|
|
14697
|
-
const minimatch = __webpack_require__(
|
|
14879
|
+
const minimatch = __webpack_require__(54);
|
|
14698
14880
|
const proto = __webpack_require__(5);
|
|
14699
|
-
const UUID = __webpack_require__(
|
|
14700
|
-
const Is = __webpack_require__(
|
|
14881
|
+
const UUID = __webpack_require__(52);
|
|
14882
|
+
const Is = __webpack_require__(51);
|
|
14701
14883
|
function ensure(target, key) {
|
|
14702
14884
|
if (target[key] === void 0) {
|
|
14703
14885
|
target[key] = {};
|
|
@@ -15495,7 +15677,7 @@ class NotebookDocumentSyncFeature {
|
|
|
15495
15677
|
const provider = this.registrations.get(id);
|
|
15496
15678
|
provider && provider.dispose();
|
|
15497
15679
|
}
|
|
15498
|
-
|
|
15680
|
+
clear() {
|
|
15499
15681
|
for (const provider of this.registrations.values()) {
|
|
15500
15682
|
provider.dispose();
|
|
15501
15683
|
}
|
|
@@ -15540,7 +15722,7 @@ NotebookDocumentSyncFeature.CellScheme = 'vscode-notebook-cell';
|
|
|
15540
15722
|
|
|
15541
15723
|
|
|
15542
15724
|
/***/ }),
|
|
15543
|
-
/*
|
|
15725
|
+
/* 73 */
|
|
15544
15726
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
15545
15727
|
|
|
15546
15728
|
"use strict";
|
|
@@ -15553,9 +15735,9 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
15553
15735
|
exports.SyncConfigurationFeature = exports.toJSONObject = exports.ConfigurationFeature = void 0;
|
|
15554
15736
|
const vscode_1 = __webpack_require__(1);
|
|
15555
15737
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
15556
|
-
const Is = __webpack_require__(
|
|
15557
|
-
const UUID = __webpack_require__(
|
|
15558
|
-
const features_1 = __webpack_require__(
|
|
15738
|
+
const Is = __webpack_require__(51);
|
|
15739
|
+
const UUID = __webpack_require__(52);
|
|
15740
|
+
const features_1 = __webpack_require__(50);
|
|
15559
15741
|
/**
|
|
15560
15742
|
* Configuration pull model. From server to client.
|
|
15561
15743
|
*/
|
|
@@ -15615,7 +15797,7 @@ class ConfigurationFeature {
|
|
|
15615
15797
|
}
|
|
15616
15798
|
return result;
|
|
15617
15799
|
}
|
|
15618
|
-
|
|
15800
|
+
clear() {
|
|
15619
15801
|
}
|
|
15620
15802
|
}
|
|
15621
15803
|
exports.ConfigurationFeature = ConfigurationFeature;
|
|
@@ -15640,7 +15822,7 @@ exports.toJSONObject = toJSONObject;
|
|
|
15640
15822
|
class SyncConfigurationFeature {
|
|
15641
15823
|
constructor(_client) {
|
|
15642
15824
|
this._client = _client;
|
|
15643
|
-
this.
|
|
15825
|
+
this.isCleared = false;
|
|
15644
15826
|
this._listeners = new Map();
|
|
15645
15827
|
}
|
|
15646
15828
|
getState() {
|
|
@@ -15653,6 +15835,7 @@ class SyncConfigurationFeature {
|
|
|
15653
15835
|
(0, features_1.ensure)((0, features_1.ensure)(capabilities, 'workspace'), 'didChangeConfiguration').dynamicRegistration = true;
|
|
15654
15836
|
}
|
|
15655
15837
|
initialize() {
|
|
15838
|
+
this.isCleared = false;
|
|
15656
15839
|
let section = this._client.clientOptions.synchronize?.configurationSection;
|
|
15657
15840
|
if (section !== undefined) {
|
|
15658
15841
|
this.register({
|
|
@@ -15679,15 +15862,15 @@ class SyncConfigurationFeature {
|
|
|
15679
15862
|
disposable.dispose();
|
|
15680
15863
|
}
|
|
15681
15864
|
}
|
|
15682
|
-
|
|
15865
|
+
clear() {
|
|
15683
15866
|
for (const disposable of this._listeners.values()) {
|
|
15684
15867
|
disposable.dispose();
|
|
15685
15868
|
}
|
|
15686
15869
|
this._listeners.clear();
|
|
15687
|
-
this.
|
|
15870
|
+
this.isCleared = true;
|
|
15688
15871
|
}
|
|
15689
15872
|
onDidChangeConfiguration(configurationSection, event) {
|
|
15690
|
-
if (this.
|
|
15873
|
+
if (this.isCleared) {
|
|
15691
15874
|
return;
|
|
15692
15875
|
}
|
|
15693
15876
|
let sections;
|
|
@@ -15755,7 +15938,7 @@ exports.SyncConfigurationFeature = SyncConfigurationFeature;
|
|
|
15755
15938
|
|
|
15756
15939
|
|
|
15757
15940
|
/***/ }),
|
|
15758
|
-
/*
|
|
15941
|
+
/* 74 */
|
|
15759
15942
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
15760
15943
|
|
|
15761
15944
|
"use strict";
|
|
@@ -15768,8 +15951,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
15768
15951
|
exports.DidSaveTextDocumentFeature = exports.WillSaveWaitUntilFeature = exports.WillSaveFeature = exports.DidChangeTextDocumentFeature = exports.DidCloseTextDocumentFeature = exports.DidOpenTextDocumentFeature = void 0;
|
|
15769
15952
|
const vscode_1 = __webpack_require__(1);
|
|
15770
15953
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
15771
|
-
const features_1 = __webpack_require__(
|
|
15772
|
-
const UUID = __webpack_require__(
|
|
15954
|
+
const features_1 = __webpack_require__(50);
|
|
15955
|
+
const UUID = __webpack_require__(52);
|
|
15773
15956
|
class DidOpenTextDocumentFeature extends features_1.TextDocumentEventFeature {
|
|
15774
15957
|
constructor(client, syncedDocuments) {
|
|
15775
15958
|
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);
|
|
@@ -15983,7 +16166,7 @@ class DidChangeTextDocumentFeature extends features_1.DynamicDocumentFeature {
|
|
|
15983
16166
|
}
|
|
15984
16167
|
}
|
|
15985
16168
|
}
|
|
15986
|
-
|
|
16169
|
+
clear() {
|
|
15987
16170
|
this._pendingTextDocumentChanges.clear();
|
|
15988
16171
|
this._changeData.clear();
|
|
15989
16172
|
this._syncKind = vscode_languageserver_protocol_1.TextDocumentSyncKind.None;
|
|
@@ -16120,7 +16303,7 @@ class WillSaveWaitUntilFeature extends features_1.DynamicDocumentFeature {
|
|
|
16120
16303
|
this._listener = undefined;
|
|
16121
16304
|
}
|
|
16122
16305
|
}
|
|
16123
|
-
|
|
16306
|
+
clear() {
|
|
16124
16307
|
this._selectors.clear();
|
|
16125
16308
|
if (this._listener) {
|
|
16126
16309
|
this._listener.dispose();
|
|
@@ -16164,7 +16347,7 @@ exports.DidSaveTextDocumentFeature = DidSaveTextDocumentFeature;
|
|
|
16164
16347
|
|
|
16165
16348
|
|
|
16166
16349
|
/***/ }),
|
|
16167
|
-
/*
|
|
16350
|
+
/* 75 */
|
|
16168
16351
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
16169
16352
|
|
|
16170
16353
|
"use strict";
|
|
@@ -16177,8 +16360,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
16177
16360
|
exports.CompletionItemFeature = void 0;
|
|
16178
16361
|
const vscode_1 = __webpack_require__(1);
|
|
16179
16362
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
16180
|
-
const features_1 = __webpack_require__(
|
|
16181
|
-
const UUID = __webpack_require__(
|
|
16363
|
+
const features_1 = __webpack_require__(50);
|
|
16364
|
+
const UUID = __webpack_require__(52);
|
|
16182
16365
|
const SupportedCompletionItemKinds = [
|
|
16183
16366
|
vscode_languageserver_protocol_1.CompletionItemKind.Text,
|
|
16184
16367
|
vscode_languageserver_protocol_1.CompletionItemKind.Method,
|
|
@@ -16297,7 +16480,7 @@ exports.CompletionItemFeature = CompletionItemFeature;
|
|
|
16297
16480
|
|
|
16298
16481
|
|
|
16299
16482
|
/***/ }),
|
|
16300
|
-
/*
|
|
16483
|
+
/* 76 */
|
|
16301
16484
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
16302
16485
|
|
|
16303
16486
|
"use strict";
|
|
@@ -16310,8 +16493,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
16310
16493
|
exports.HoverFeature = void 0;
|
|
16311
16494
|
const vscode_1 = __webpack_require__(1);
|
|
16312
16495
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
16313
|
-
const features_1 = __webpack_require__(
|
|
16314
|
-
const UUID = __webpack_require__(
|
|
16496
|
+
const features_1 = __webpack_require__(50);
|
|
16497
|
+
const UUID = __webpack_require__(52);
|
|
16315
16498
|
class HoverFeature extends features_1.TextDocumentLanguageFeature {
|
|
16316
16499
|
constructor(client) {
|
|
16317
16500
|
super(client, vscode_languageserver_protocol_1.HoverRequest.type);
|
|
@@ -16362,7 +16545,7 @@ exports.HoverFeature = HoverFeature;
|
|
|
16362
16545
|
|
|
16363
16546
|
|
|
16364
16547
|
/***/ }),
|
|
16365
|
-
/*
|
|
16548
|
+
/* 77 */
|
|
16366
16549
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
16367
16550
|
|
|
16368
16551
|
"use strict";
|
|
@@ -16375,8 +16558,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
16375
16558
|
exports.DefinitionFeature = void 0;
|
|
16376
16559
|
const vscode_1 = __webpack_require__(1);
|
|
16377
16560
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
16378
|
-
const features_1 = __webpack_require__(
|
|
16379
|
-
const UUID = __webpack_require__(
|
|
16561
|
+
const features_1 = __webpack_require__(50);
|
|
16562
|
+
const UUID = __webpack_require__(52);
|
|
16380
16563
|
class DefinitionFeature extends features_1.TextDocumentLanguageFeature {
|
|
16381
16564
|
constructor(client) {
|
|
16382
16565
|
super(client, vscode_languageserver_protocol_1.DefinitionRequest.type);
|
|
@@ -16424,7 +16607,7 @@ exports.DefinitionFeature = DefinitionFeature;
|
|
|
16424
16607
|
|
|
16425
16608
|
|
|
16426
16609
|
/***/ }),
|
|
16427
|
-
/*
|
|
16610
|
+
/* 78 */
|
|
16428
16611
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
16429
16612
|
|
|
16430
16613
|
"use strict";
|
|
@@ -16437,8 +16620,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
16437
16620
|
exports.SignatureHelpFeature = void 0;
|
|
16438
16621
|
const vscode_1 = __webpack_require__(1);
|
|
16439
16622
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
16440
|
-
const features_1 = __webpack_require__(
|
|
16441
|
-
const UUID = __webpack_require__(
|
|
16623
|
+
const features_1 = __webpack_require__(50);
|
|
16624
|
+
const UUID = __webpack_require__(52);
|
|
16442
16625
|
class SignatureHelpFeature extends features_1.TextDocumentLanguageFeature {
|
|
16443
16626
|
constructor(client) {
|
|
16444
16627
|
super(client, vscode_languageserver_protocol_1.SignatureHelpRequest.type);
|
|
@@ -16502,7 +16685,7 @@ exports.SignatureHelpFeature = SignatureHelpFeature;
|
|
|
16502
16685
|
|
|
16503
16686
|
|
|
16504
16687
|
/***/ }),
|
|
16505
|
-
/*
|
|
16688
|
+
/* 79 */
|
|
16506
16689
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
16507
16690
|
|
|
16508
16691
|
"use strict";
|
|
@@ -16515,8 +16698,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
16515
16698
|
exports.DocumentHighlightFeature = void 0;
|
|
16516
16699
|
const vscode_1 = __webpack_require__(1);
|
|
16517
16700
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
16518
|
-
const features_1 = __webpack_require__(
|
|
16519
|
-
const UUID = __webpack_require__(
|
|
16701
|
+
const features_1 = __webpack_require__(50);
|
|
16702
|
+
const UUID = __webpack_require__(52);
|
|
16520
16703
|
class DocumentHighlightFeature extends features_1.TextDocumentLanguageFeature {
|
|
16521
16704
|
constructor(client) {
|
|
16522
16705
|
super(client, vscode_languageserver_protocol_1.DocumentHighlightRequest.type);
|
|
@@ -16559,7 +16742,7 @@ exports.DocumentHighlightFeature = DocumentHighlightFeature;
|
|
|
16559
16742
|
|
|
16560
16743
|
|
|
16561
16744
|
/***/ }),
|
|
16562
|
-
/*
|
|
16745
|
+
/* 80 */
|
|
16563
16746
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
16564
16747
|
|
|
16565
16748
|
"use strict";
|
|
@@ -16572,8 +16755,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
16572
16755
|
exports.DocumentSymbolFeature = exports.SupportedSymbolTags = exports.SupportedSymbolKinds = void 0;
|
|
16573
16756
|
const vscode_1 = __webpack_require__(1);
|
|
16574
16757
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
16575
|
-
const features_1 = __webpack_require__(
|
|
16576
|
-
const UUID = __webpack_require__(
|
|
16758
|
+
const features_1 = __webpack_require__(50);
|
|
16759
|
+
const UUID = __webpack_require__(52);
|
|
16577
16760
|
exports.SupportedSymbolKinds = [
|
|
16578
16761
|
vscode_languageserver_protocol_1.SymbolKind.File,
|
|
16579
16762
|
vscode_languageserver_protocol_1.SymbolKind.Module,
|
|
@@ -16670,7 +16853,7 @@ exports.DocumentSymbolFeature = DocumentSymbolFeature;
|
|
|
16670
16853
|
|
|
16671
16854
|
|
|
16672
16855
|
/***/ }),
|
|
16673
|
-
/*
|
|
16856
|
+
/* 81 */
|
|
16674
16857
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
16675
16858
|
|
|
16676
16859
|
"use strict";
|
|
@@ -16683,9 +16866,9 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
16683
16866
|
exports.WorkspaceSymbolFeature = void 0;
|
|
16684
16867
|
const vscode_1 = __webpack_require__(1);
|
|
16685
16868
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
16686
|
-
const features_1 = __webpack_require__(
|
|
16687
|
-
const documentSymbol_1 = __webpack_require__(
|
|
16688
|
-
const UUID = __webpack_require__(
|
|
16869
|
+
const features_1 = __webpack_require__(50);
|
|
16870
|
+
const documentSymbol_1 = __webpack_require__(80);
|
|
16871
|
+
const UUID = __webpack_require__(52);
|
|
16689
16872
|
class WorkspaceSymbolFeature extends features_1.WorkspaceFeature {
|
|
16690
16873
|
constructor(client) {
|
|
16691
16874
|
super(client, vscode_languageserver_protocol_1.WorkspaceSymbolRequest.type);
|
|
@@ -16756,7 +16939,7 @@ exports.WorkspaceSymbolFeature = WorkspaceSymbolFeature;
|
|
|
16756
16939
|
|
|
16757
16940
|
|
|
16758
16941
|
/***/ }),
|
|
16759
|
-
/*
|
|
16942
|
+
/* 82 */
|
|
16760
16943
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
16761
16944
|
|
|
16762
16945
|
"use strict";
|
|
@@ -16769,8 +16952,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
16769
16952
|
exports.ReferencesFeature = void 0;
|
|
16770
16953
|
const vscode_1 = __webpack_require__(1);
|
|
16771
16954
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
16772
|
-
const features_1 = __webpack_require__(
|
|
16773
|
-
const UUID = __webpack_require__(
|
|
16955
|
+
const features_1 = __webpack_require__(50);
|
|
16956
|
+
const UUID = __webpack_require__(52);
|
|
16774
16957
|
class ReferencesFeature extends features_1.TextDocumentLanguageFeature {
|
|
16775
16958
|
constructor(client) {
|
|
16776
16959
|
super(client, vscode_languageserver_protocol_1.ReferencesRequest.type);
|
|
@@ -16816,7 +16999,7 @@ exports.ReferencesFeature = ReferencesFeature;
|
|
|
16816
16999
|
|
|
16817
17000
|
|
|
16818
17001
|
/***/ }),
|
|
16819
|
-
/*
|
|
17002
|
+
/* 83 */
|
|
16820
17003
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
16821
17004
|
|
|
16822
17005
|
"use strict";
|
|
@@ -16829,8 +17012,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
16829
17012
|
exports.CodeActionFeature = void 0;
|
|
16830
17013
|
const vscode_1 = __webpack_require__(1);
|
|
16831
17014
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
16832
|
-
const UUID = __webpack_require__(
|
|
16833
|
-
const features_1 = __webpack_require__(
|
|
17015
|
+
const UUID = __webpack_require__(52);
|
|
17016
|
+
const features_1 = __webpack_require__(50);
|
|
16834
17017
|
class CodeActionFeature extends features_1.TextDocumentLanguageFeature {
|
|
16835
17018
|
constructor(client) {
|
|
16836
17019
|
super(client, vscode_languageserver_protocol_1.CodeActionRequest.type);
|
|
@@ -16922,7 +17105,7 @@ exports.CodeActionFeature = CodeActionFeature;
|
|
|
16922
17105
|
|
|
16923
17106
|
|
|
16924
17107
|
/***/ }),
|
|
16925
|
-
/*
|
|
17108
|
+
/* 84 */
|
|
16926
17109
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
16927
17110
|
|
|
16928
17111
|
"use strict";
|
|
@@ -16935,8 +17118,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
16935
17118
|
exports.CodeLensFeature = void 0;
|
|
16936
17119
|
const vscode_1 = __webpack_require__(1);
|
|
16937
17120
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
16938
|
-
const UUID = __webpack_require__(
|
|
16939
|
-
const features_1 = __webpack_require__(
|
|
17121
|
+
const UUID = __webpack_require__(52);
|
|
17122
|
+
const features_1 = __webpack_require__(50);
|
|
16940
17123
|
class CodeLensFeature extends features_1.TextDocumentLanguageFeature {
|
|
16941
17124
|
constructor(client) {
|
|
16942
17125
|
super(client, vscode_languageserver_protocol_1.CodeLensRequest.type);
|
|
@@ -17007,7 +17190,7 @@ exports.CodeLensFeature = CodeLensFeature;
|
|
|
17007
17190
|
|
|
17008
17191
|
|
|
17009
17192
|
/***/ }),
|
|
17010
|
-
/*
|
|
17193
|
+
/* 85 */
|
|
17011
17194
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
17012
17195
|
|
|
17013
17196
|
"use strict";
|
|
@@ -17016,12 +17199,13 @@ exports.CodeLensFeature = CodeLensFeature;
|
|
|
17016
17199
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
17017
17200
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
17018
17201
|
* ------------------------------------------------------------------------------------------ */
|
|
17202
|
+
/// <reference path="../../typings/vscode.proposed.formatMultipleRanges.d.ts" />
|
|
17019
17203
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
17020
17204
|
exports.DocumentOnTypeFormattingFeature = exports.DocumentRangeFormattingFeature = exports.DocumentFormattingFeature = void 0;
|
|
17021
17205
|
const vscode_1 = __webpack_require__(1);
|
|
17022
17206
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
17023
|
-
const UUID = __webpack_require__(
|
|
17024
|
-
const features_1 = __webpack_require__(
|
|
17207
|
+
const UUID = __webpack_require__(52);
|
|
17208
|
+
const features_1 = __webpack_require__(50);
|
|
17025
17209
|
var FileFormattingOptions;
|
|
17026
17210
|
(function (FileFormattingOptions) {
|
|
17027
17211
|
function fromConfiguration(document) {
|
|
@@ -17082,7 +17266,9 @@ class DocumentRangeFormattingFeature extends features_1.TextDocumentLanguageFeat
|
|
|
17082
17266
|
super(client, vscode_languageserver_protocol_1.DocumentRangeFormattingRequest.type);
|
|
17083
17267
|
}
|
|
17084
17268
|
fillClientCapabilities(capabilities) {
|
|
17085
|
-
(0, features_1.ensure)((0, features_1.ensure)(capabilities, 'textDocument'), 'rangeFormatting')
|
|
17269
|
+
const capability = (0, features_1.ensure)((0, features_1.ensure)(capabilities, 'textDocument'), 'rangeFormatting');
|
|
17270
|
+
capability.dynamicRegistration = true;
|
|
17271
|
+
capability.rangesSupport = true;
|
|
17086
17272
|
}
|
|
17087
17273
|
initialize(capabilities, documentSelector) {
|
|
17088
17274
|
const options = this.getRegistrationOptions(documentSelector, capabilities.documentRangeFormattingProvider);
|
|
@@ -17117,6 +17303,30 @@ class DocumentRangeFormattingFeature extends features_1.TextDocumentLanguageFeat
|
|
|
17117
17303
|
: provideDocumentRangeFormattingEdits(document, range, options, token);
|
|
17118
17304
|
}
|
|
17119
17305
|
};
|
|
17306
|
+
if (options.rangesSupport) {
|
|
17307
|
+
provider.provideDocumentRangesFormattingEdits = (document, ranges, options, token) => {
|
|
17308
|
+
const client = this._client;
|
|
17309
|
+
const provideDocumentRangesFormattingEdits = (document, ranges, options, token) => {
|
|
17310
|
+
const params = {
|
|
17311
|
+
textDocument: client.code2ProtocolConverter.asTextDocumentIdentifier(document),
|
|
17312
|
+
ranges: client.code2ProtocolConverter.asRanges(ranges),
|
|
17313
|
+
options: client.code2ProtocolConverter.asFormattingOptions(options, FileFormattingOptions.fromConfiguration(document))
|
|
17314
|
+
};
|
|
17315
|
+
return client.sendRequest(vscode_languageserver_protocol_1.DocumentRangesFormattingRequest.type, params, token).then((result) => {
|
|
17316
|
+
if (token.isCancellationRequested) {
|
|
17317
|
+
return null;
|
|
17318
|
+
}
|
|
17319
|
+
return client.protocol2CodeConverter.asTextEdits(result, token);
|
|
17320
|
+
}, (error) => {
|
|
17321
|
+
return client.handleFailedRequest(vscode_languageserver_protocol_1.DocumentRangesFormattingRequest.type, token, error, null);
|
|
17322
|
+
});
|
|
17323
|
+
};
|
|
17324
|
+
const middleware = client.middleware;
|
|
17325
|
+
return middleware.provideDocumentRangesFormattingEdits
|
|
17326
|
+
? middleware.provideDocumentRangesFormattingEdits(document, ranges, options, token, provideDocumentRangesFormattingEdits)
|
|
17327
|
+
: provideDocumentRangesFormattingEdits(document, ranges, options, token);
|
|
17328
|
+
};
|
|
17329
|
+
}
|
|
17120
17330
|
return [vscode_1.languages.registerDocumentRangeFormattingEditProvider(this._client.protocol2CodeConverter.asDocumentSelector(selector), provider), provider];
|
|
17121
17331
|
}
|
|
17122
17332
|
}
|
|
@@ -17170,7 +17380,7 @@ exports.DocumentOnTypeFormattingFeature = DocumentOnTypeFormattingFeature;
|
|
|
17170
17380
|
|
|
17171
17381
|
|
|
17172
17382
|
/***/ }),
|
|
17173
|
-
/*
|
|
17383
|
+
/* 86 */
|
|
17174
17384
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
17175
17385
|
|
|
17176
17386
|
"use strict";
|
|
@@ -17183,9 +17393,9 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
17183
17393
|
exports.RenameFeature = void 0;
|
|
17184
17394
|
const vscode_1 = __webpack_require__(1);
|
|
17185
17395
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
17186
|
-
const UUID = __webpack_require__(
|
|
17187
|
-
const Is = __webpack_require__(
|
|
17188
|
-
const features_1 = __webpack_require__(
|
|
17396
|
+
const UUID = __webpack_require__(52);
|
|
17397
|
+
const Is = __webpack_require__(51);
|
|
17398
|
+
const features_1 = __webpack_require__(50);
|
|
17189
17399
|
class RenameFeature extends features_1.TextDocumentLanguageFeature {
|
|
17190
17400
|
constructor(client) {
|
|
17191
17401
|
super(client, vscode_languageserver_protocol_1.RenameRequest.type);
|
|
@@ -17290,7 +17500,7 @@ exports.RenameFeature = RenameFeature;
|
|
|
17290
17500
|
|
|
17291
17501
|
|
|
17292
17502
|
/***/ }),
|
|
17293
|
-
/*
|
|
17503
|
+
/* 87 */
|
|
17294
17504
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
17295
17505
|
|
|
17296
17506
|
"use strict";
|
|
@@ -17303,8 +17513,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
17303
17513
|
exports.DocumentLinkFeature = void 0;
|
|
17304
17514
|
const vscode_1 = __webpack_require__(1);
|
|
17305
17515
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
17306
|
-
const features_1 = __webpack_require__(
|
|
17307
|
-
const UUID = __webpack_require__(
|
|
17516
|
+
const features_1 = __webpack_require__(50);
|
|
17517
|
+
const UUID = __webpack_require__(52);
|
|
17308
17518
|
class DocumentLinkFeature extends features_1.TextDocumentLanguageFeature {
|
|
17309
17519
|
constructor(client) {
|
|
17310
17520
|
super(client, vscode_languageserver_protocol_1.DocumentLinkRequest.type);
|
|
@@ -17368,7 +17578,7 @@ exports.DocumentLinkFeature = DocumentLinkFeature;
|
|
|
17368
17578
|
|
|
17369
17579
|
|
|
17370
17580
|
/***/ }),
|
|
17371
|
-
/*
|
|
17581
|
+
/* 88 */
|
|
17372
17582
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
17373
17583
|
|
|
17374
17584
|
"use strict";
|
|
@@ -17381,8 +17591,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
17381
17591
|
exports.ExecuteCommandFeature = void 0;
|
|
17382
17592
|
const vscode_1 = __webpack_require__(1);
|
|
17383
17593
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
17384
|
-
const UUID = __webpack_require__(
|
|
17385
|
-
const features_1 = __webpack_require__(
|
|
17594
|
+
const UUID = __webpack_require__(52);
|
|
17595
|
+
const features_1 = __webpack_require__(50);
|
|
17386
17596
|
class ExecuteCommandFeature {
|
|
17387
17597
|
constructor(client) {
|
|
17388
17598
|
this._client = client;
|
|
@@ -17436,7 +17646,7 @@ class ExecuteCommandFeature {
|
|
|
17436
17646
|
disposables.forEach(disposable => disposable.dispose());
|
|
17437
17647
|
}
|
|
17438
17648
|
}
|
|
17439
|
-
|
|
17649
|
+
clear() {
|
|
17440
17650
|
this._commands.forEach((value) => {
|
|
17441
17651
|
value.forEach(disposable => disposable.dispose());
|
|
17442
17652
|
});
|
|
@@ -17447,7 +17657,7 @@ exports.ExecuteCommandFeature = ExecuteCommandFeature;
|
|
|
17447
17657
|
|
|
17448
17658
|
|
|
17449
17659
|
/***/ }),
|
|
17450
|
-
/*
|
|
17660
|
+
/* 89 */
|
|
17451
17661
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
17452
17662
|
|
|
17453
17663
|
"use strict";
|
|
@@ -17460,7 +17670,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
17460
17670
|
exports.FileSystemWatcherFeature = void 0;
|
|
17461
17671
|
const vscode_1 = __webpack_require__(1);
|
|
17462
17672
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
17463
|
-
const features_1 = __webpack_require__(
|
|
17673
|
+
const features_1 = __webpack_require__(50);
|
|
17464
17674
|
class FileSystemWatcherFeature {
|
|
17465
17675
|
constructor(client, notifyFileEvent) {
|
|
17466
17676
|
this._client = client;
|
|
@@ -17536,7 +17746,7 @@ class FileSystemWatcherFeature {
|
|
|
17536
17746
|
}
|
|
17537
17747
|
}
|
|
17538
17748
|
}
|
|
17539
|
-
|
|
17749
|
+
clear() {
|
|
17540
17750
|
this._watchers.forEach((disposables) => {
|
|
17541
17751
|
for (let disposable of disposables) {
|
|
17542
17752
|
disposable.dispose();
|
|
@@ -17549,7 +17759,7 @@ exports.FileSystemWatcherFeature = FileSystemWatcherFeature;
|
|
|
17549
17759
|
|
|
17550
17760
|
|
|
17551
17761
|
/***/ }),
|
|
17552
|
-
/*
|
|
17762
|
+
/* 90 */
|
|
17553
17763
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
17554
17764
|
|
|
17555
17765
|
"use strict";
|
|
@@ -17562,7 +17772,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
17562
17772
|
exports.ColorProviderFeature = void 0;
|
|
17563
17773
|
const vscode_1 = __webpack_require__(1);
|
|
17564
17774
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
17565
|
-
const features_1 = __webpack_require__(
|
|
17775
|
+
const features_1 = __webpack_require__(50);
|
|
17566
17776
|
class ColorProviderFeature extends features_1.TextDocumentLanguageFeature {
|
|
17567
17777
|
constructor(client) {
|
|
17568
17778
|
super(client, vscode_languageserver_protocol_1.DocumentColorRequest.type);
|
|
@@ -17630,7 +17840,7 @@ exports.ColorProviderFeature = ColorProviderFeature;
|
|
|
17630
17840
|
|
|
17631
17841
|
|
|
17632
17842
|
/***/ }),
|
|
17633
|
-
/*
|
|
17843
|
+
/* 91 */
|
|
17634
17844
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
17635
17845
|
|
|
17636
17846
|
"use strict";
|
|
@@ -17643,7 +17853,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
17643
17853
|
exports.ImplementationFeature = void 0;
|
|
17644
17854
|
const vscode_1 = __webpack_require__(1);
|
|
17645
17855
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
17646
|
-
const features_1 = __webpack_require__(
|
|
17856
|
+
const features_1 = __webpack_require__(50);
|
|
17647
17857
|
class ImplementationFeature extends features_1.TextDocumentLanguageFeature {
|
|
17648
17858
|
constructor(client) {
|
|
17649
17859
|
super(client, vscode_languageserver_protocol_1.ImplementationRequest.type);
|
|
@@ -17691,7 +17901,7 @@ exports.ImplementationFeature = ImplementationFeature;
|
|
|
17691
17901
|
|
|
17692
17902
|
|
|
17693
17903
|
/***/ }),
|
|
17694
|
-
/*
|
|
17904
|
+
/* 92 */
|
|
17695
17905
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
17696
17906
|
|
|
17697
17907
|
"use strict";
|
|
@@ -17704,7 +17914,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
17704
17914
|
exports.TypeDefinitionFeature = void 0;
|
|
17705
17915
|
const vscode_1 = __webpack_require__(1);
|
|
17706
17916
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
17707
|
-
const features_1 = __webpack_require__(
|
|
17917
|
+
const features_1 = __webpack_require__(50);
|
|
17708
17918
|
class TypeDefinitionFeature extends features_1.TextDocumentLanguageFeature {
|
|
17709
17919
|
constructor(client) {
|
|
17710
17920
|
super(client, vscode_languageserver_protocol_1.TypeDefinitionRequest.type);
|
|
@@ -17753,7 +17963,7 @@ exports.TypeDefinitionFeature = TypeDefinitionFeature;
|
|
|
17753
17963
|
|
|
17754
17964
|
|
|
17755
17965
|
/***/ }),
|
|
17756
|
-
/*
|
|
17966
|
+
/* 93 */
|
|
17757
17967
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
17758
17968
|
|
|
17759
17969
|
"use strict";
|
|
@@ -17764,7 +17974,7 @@ exports.TypeDefinitionFeature = TypeDefinitionFeature;
|
|
|
17764
17974
|
* ------------------------------------------------------------------------------------------ */
|
|
17765
17975
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
17766
17976
|
exports.WorkspaceFoldersFeature = exports.arrayDiff = void 0;
|
|
17767
|
-
const UUID = __webpack_require__(
|
|
17977
|
+
const UUID = __webpack_require__(52);
|
|
17768
17978
|
const vscode_1 = __webpack_require__(1);
|
|
17769
17979
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
17770
17980
|
function access(target, key) {
|
|
@@ -17891,7 +18101,7 @@ class WorkspaceFoldersFeature {
|
|
|
17891
18101
|
this._listeners.delete(id);
|
|
17892
18102
|
disposable.dispose();
|
|
17893
18103
|
}
|
|
17894
|
-
|
|
18104
|
+
clear() {
|
|
17895
18105
|
for (let disposable of this._listeners.values()) {
|
|
17896
18106
|
disposable.dispose();
|
|
17897
18107
|
}
|
|
@@ -17908,7 +18118,7 @@ exports.WorkspaceFoldersFeature = WorkspaceFoldersFeature;
|
|
|
17908
18118
|
|
|
17909
18119
|
|
|
17910
18120
|
/***/ }),
|
|
17911
|
-
/*
|
|
18121
|
+
/* 94 */
|
|
17912
18122
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
17913
18123
|
|
|
17914
18124
|
"use strict";
|
|
@@ -17921,7 +18131,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
17921
18131
|
exports.FoldingRangeFeature = void 0;
|
|
17922
18132
|
const vscode_1 = __webpack_require__(1);
|
|
17923
18133
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
17924
|
-
const features_1 = __webpack_require__(
|
|
18134
|
+
const features_1 = __webpack_require__(50);
|
|
17925
18135
|
class FoldingRangeFeature extends features_1.TextDocumentLanguageFeature {
|
|
17926
18136
|
constructor(client) {
|
|
17927
18137
|
super(client, vscode_languageserver_protocol_1.FoldingRangeRequest.type);
|
|
@@ -17972,7 +18182,7 @@ exports.FoldingRangeFeature = FoldingRangeFeature;
|
|
|
17972
18182
|
|
|
17973
18183
|
|
|
17974
18184
|
/***/ }),
|
|
17975
|
-
/*
|
|
18185
|
+
/* 95 */
|
|
17976
18186
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
17977
18187
|
|
|
17978
18188
|
"use strict";
|
|
@@ -17985,7 +18195,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
17985
18195
|
exports.DeclarationFeature = void 0;
|
|
17986
18196
|
const vscode_1 = __webpack_require__(1);
|
|
17987
18197
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
17988
|
-
const features_1 = __webpack_require__(
|
|
18198
|
+
const features_1 = __webpack_require__(50);
|
|
17989
18199
|
class DeclarationFeature extends features_1.TextDocumentLanguageFeature {
|
|
17990
18200
|
constructor(client) {
|
|
17991
18201
|
super(client, vscode_languageserver_protocol_1.DeclarationRequest.type);
|
|
@@ -18033,7 +18243,7 @@ exports.DeclarationFeature = DeclarationFeature;
|
|
|
18033
18243
|
|
|
18034
18244
|
|
|
18035
18245
|
/***/ }),
|
|
18036
|
-
/*
|
|
18246
|
+
/* 96 */
|
|
18037
18247
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
18038
18248
|
|
|
18039
18249
|
"use strict";
|
|
@@ -18046,7 +18256,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
18046
18256
|
exports.SelectionRangeFeature = void 0;
|
|
18047
18257
|
const vscode_1 = __webpack_require__(1);
|
|
18048
18258
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
18049
|
-
const features_1 = __webpack_require__(
|
|
18259
|
+
const features_1 = __webpack_require__(50);
|
|
18050
18260
|
class SelectionRangeFeature extends features_1.TextDocumentLanguageFeature {
|
|
18051
18261
|
constructor(client) {
|
|
18052
18262
|
super(client, vscode_languageserver_protocol_1.SelectionRangeRequest.type);
|
|
@@ -18097,7 +18307,7 @@ exports.SelectionRangeFeature = SelectionRangeFeature;
|
|
|
18097
18307
|
|
|
18098
18308
|
|
|
18099
18309
|
/***/ }),
|
|
18100
|
-
/*
|
|
18310
|
+
/* 97 */
|
|
18101
18311
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
18102
18312
|
|
|
18103
18313
|
"use strict";
|
|
@@ -18109,7 +18319,7 @@ exports.SelectionRangeFeature = SelectionRangeFeature;
|
|
|
18109
18319
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
18110
18320
|
exports.ProgressFeature = void 0;
|
|
18111
18321
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
18112
|
-
const progressPart_1 = __webpack_require__(
|
|
18322
|
+
const progressPart_1 = __webpack_require__(71);
|
|
18113
18323
|
function ensure(target, key) {
|
|
18114
18324
|
if (target[key] === void 0) {
|
|
18115
18325
|
target[key] = Object.create(null);
|
|
@@ -18137,7 +18347,7 @@ class ProgressFeature {
|
|
|
18137
18347
|
};
|
|
18138
18348
|
client.onRequest(vscode_languageserver_protocol_1.WorkDoneProgressCreateRequest.type, createHandler);
|
|
18139
18349
|
}
|
|
18140
|
-
|
|
18350
|
+
clear() {
|
|
18141
18351
|
for (const part of this.activeParts) {
|
|
18142
18352
|
part.done();
|
|
18143
18353
|
}
|
|
@@ -18148,7 +18358,7 @@ exports.ProgressFeature = ProgressFeature;
|
|
|
18148
18358
|
|
|
18149
18359
|
|
|
18150
18360
|
/***/ }),
|
|
18151
|
-
/*
|
|
18361
|
+
/* 98 */
|
|
18152
18362
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
18153
18363
|
|
|
18154
18364
|
"use strict";
|
|
@@ -18161,7 +18371,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
18161
18371
|
exports.CallHierarchyFeature = void 0;
|
|
18162
18372
|
const vscode_1 = __webpack_require__(1);
|
|
18163
18373
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
18164
|
-
const features_1 = __webpack_require__(
|
|
18374
|
+
const features_1 = __webpack_require__(50);
|
|
18165
18375
|
class CallHierarchyProvider {
|
|
18166
18376
|
constructor(client) {
|
|
18167
18377
|
this.client = client;
|
|
@@ -18252,7 +18462,7 @@ exports.CallHierarchyFeature = CallHierarchyFeature;
|
|
|
18252
18462
|
|
|
18253
18463
|
|
|
18254
18464
|
/***/ }),
|
|
18255
|
-
/*
|
|
18465
|
+
/* 99 */
|
|
18256
18466
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
18257
18467
|
|
|
18258
18468
|
"use strict";
|
|
@@ -18265,8 +18475,8 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
18265
18475
|
exports.SemanticTokensFeature = void 0;
|
|
18266
18476
|
const vscode = __webpack_require__(1);
|
|
18267
18477
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
18268
|
-
const features_1 = __webpack_require__(
|
|
18269
|
-
const Is = __webpack_require__(
|
|
18478
|
+
const features_1 = __webpack_require__(50);
|
|
18479
|
+
const Is = __webpack_require__(51);
|
|
18270
18480
|
class SemanticTokensFeature extends features_1.TextDocumentLanguageFeature {
|
|
18271
18481
|
constructor(client) {
|
|
18272
18482
|
super(client, vscode_languageserver_protocol_1.SemanticTokensRegistrationType.type);
|
|
@@ -18438,7 +18648,7 @@ exports.SemanticTokensFeature = SemanticTokensFeature;
|
|
|
18438
18648
|
|
|
18439
18649
|
|
|
18440
18650
|
/***/ }),
|
|
18441
|
-
/*
|
|
18651
|
+
/* 100 */
|
|
18442
18652
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
18443
18653
|
|
|
18444
18654
|
"use strict";
|
|
@@ -18450,9 +18660,9 @@ exports.SemanticTokensFeature = SemanticTokensFeature;
|
|
|
18450
18660
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
18451
18661
|
exports.WillDeleteFilesFeature = exports.WillRenameFilesFeature = exports.WillCreateFilesFeature = exports.DidDeleteFilesFeature = exports.DidRenameFilesFeature = exports.DidCreateFilesFeature = void 0;
|
|
18452
18662
|
const code = __webpack_require__(1);
|
|
18453
|
-
const minimatch = __webpack_require__(
|
|
18663
|
+
const minimatch = __webpack_require__(54);
|
|
18454
18664
|
const proto = __webpack_require__(5);
|
|
18455
|
-
const UUID = __webpack_require__(
|
|
18665
|
+
const UUID = __webpack_require__(52);
|
|
18456
18666
|
function ensure(target, key) {
|
|
18457
18667
|
if (target[key] === void 0) {
|
|
18458
18668
|
target[key] = {};
|
|
@@ -18524,7 +18734,7 @@ class FileOperationFeature {
|
|
|
18524
18734
|
this._listener = undefined;
|
|
18525
18735
|
}
|
|
18526
18736
|
}
|
|
18527
|
-
|
|
18737
|
+
clear() {
|
|
18528
18738
|
this._filters.clear();
|
|
18529
18739
|
if (this._listener) {
|
|
18530
18740
|
this._listener.dispose();
|
|
@@ -18648,8 +18858,8 @@ class CachingNotificationFileOperationFeature extends NotificationFileOperationF
|
|
|
18648
18858
|
this._willListener = undefined;
|
|
18649
18859
|
}
|
|
18650
18860
|
}
|
|
18651
|
-
|
|
18652
|
-
super.
|
|
18861
|
+
clear() {
|
|
18862
|
+
super.clear();
|
|
18653
18863
|
if (this._willListener) {
|
|
18654
18864
|
this._willListener.dispose();
|
|
18655
18865
|
this._willListener = undefined;
|
|
@@ -18778,7 +18988,7 @@ exports.WillDeleteFilesFeature = WillDeleteFilesFeature;
|
|
|
18778
18988
|
|
|
18779
18989
|
|
|
18780
18990
|
/***/ }),
|
|
18781
|
-
/*
|
|
18991
|
+
/* 101 */
|
|
18782
18992
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
18783
18993
|
|
|
18784
18994
|
"use strict";
|
|
@@ -18791,7 +19001,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
18791
19001
|
exports.LinkedEditingFeature = void 0;
|
|
18792
19002
|
const code = __webpack_require__(1);
|
|
18793
19003
|
const proto = __webpack_require__(5);
|
|
18794
|
-
const features_1 = __webpack_require__(
|
|
19004
|
+
const features_1 = __webpack_require__(50);
|
|
18795
19005
|
class LinkedEditingFeature extends features_1.TextDocumentLanguageFeature {
|
|
18796
19006
|
constructor(client) {
|
|
18797
19007
|
super(client, proto.LinkedEditingRangeRequest.type);
|
|
@@ -18838,7 +19048,7 @@ exports.LinkedEditingFeature = LinkedEditingFeature;
|
|
|
18838
19048
|
|
|
18839
19049
|
|
|
18840
19050
|
/***/ }),
|
|
18841
|
-
/*
|
|
19051
|
+
/* 102 */
|
|
18842
19052
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
18843
19053
|
|
|
18844
19054
|
"use strict";
|
|
@@ -18851,7 +19061,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
18851
19061
|
exports.TypeHierarchyFeature = void 0;
|
|
18852
19062
|
const vscode_1 = __webpack_require__(1);
|
|
18853
19063
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
18854
|
-
const features_1 = __webpack_require__(
|
|
19064
|
+
const features_1 = __webpack_require__(50);
|
|
18855
19065
|
class TypeHierarchyProvider {
|
|
18856
19066
|
constructor(client) {
|
|
18857
19067
|
this.client = client;
|
|
@@ -18941,7 +19151,7 @@ exports.TypeHierarchyFeature = TypeHierarchyFeature;
|
|
|
18941
19151
|
|
|
18942
19152
|
|
|
18943
19153
|
/***/ }),
|
|
18944
|
-
/*
|
|
19154
|
+
/* 103 */
|
|
18945
19155
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
18946
19156
|
|
|
18947
19157
|
"use strict";
|
|
@@ -18954,7 +19164,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
18954
19164
|
exports.InlineValueFeature = void 0;
|
|
18955
19165
|
const vscode_1 = __webpack_require__(1);
|
|
18956
19166
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
18957
|
-
const features_1 = __webpack_require__(
|
|
19167
|
+
const features_1 = __webpack_require__(50);
|
|
18958
19168
|
class InlineValueFeature extends features_1.TextDocumentLanguageFeature {
|
|
18959
19169
|
constructor(client) {
|
|
18960
19170
|
super(client, vscode_languageserver_protocol_1.InlineValueRequest.type);
|
|
@@ -19013,7 +19223,7 @@ exports.InlineValueFeature = InlineValueFeature;
|
|
|
19013
19223
|
|
|
19014
19224
|
|
|
19015
19225
|
/***/ }),
|
|
19016
|
-
/*
|
|
19226
|
+
/* 104 */
|
|
19017
19227
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
19018
19228
|
|
|
19019
19229
|
"use strict";
|
|
@@ -19026,7 +19236,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
19026
19236
|
exports.InlayHintsFeature = void 0;
|
|
19027
19237
|
const vscode_1 = __webpack_require__(1);
|
|
19028
19238
|
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
19029
|
-
const features_1 = __webpack_require__(
|
|
19239
|
+
const features_1 = __webpack_require__(50);
|
|
19030
19240
|
class InlayHintsFeature extends features_1.TextDocumentLanguageFeature {
|
|
19031
19241
|
constructor(client) {
|
|
19032
19242
|
super(client, vscode_languageserver_protocol_1.InlayHintRequest.type);
|
|
@@ -19112,7 +19322,68 @@ exports.InlayHintsFeature = InlayHintsFeature;
|
|
|
19112
19322
|
|
|
19113
19323
|
|
|
19114
19324
|
/***/ }),
|
|
19115
|
-
/*
|
|
19325
|
+
/* 105 */
|
|
19326
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
19327
|
+
|
|
19328
|
+
"use strict";
|
|
19329
|
+
|
|
19330
|
+
/* --------------------------------------------------------------------------------------------
|
|
19331
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
19332
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
19333
|
+
* ------------------------------------------------------------------------------------------ */
|
|
19334
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
19335
|
+
exports.InlineCompletionItemFeature = void 0;
|
|
19336
|
+
const vscode_1 = __webpack_require__(1);
|
|
19337
|
+
const vscode_languageserver_protocol_1 = __webpack_require__(5);
|
|
19338
|
+
const features_1 = __webpack_require__(50);
|
|
19339
|
+
const UUID = __webpack_require__(52);
|
|
19340
|
+
class InlineCompletionItemFeature extends features_1.TextDocumentLanguageFeature {
|
|
19341
|
+
constructor(client) {
|
|
19342
|
+
super(client, vscode_languageserver_protocol_1.InlineCompletionRequest.type);
|
|
19343
|
+
}
|
|
19344
|
+
fillClientCapabilities(capabilities) {
|
|
19345
|
+
let inlineCompletion = (0, features_1.ensure)((0, features_1.ensure)(capabilities, 'textDocument'), 'inlineCompletion');
|
|
19346
|
+
inlineCompletion.dynamicRegistration = true;
|
|
19347
|
+
}
|
|
19348
|
+
initialize(capabilities, documentSelector) {
|
|
19349
|
+
const options = this.getRegistrationOptions(documentSelector, capabilities.inlineCompletionProvider);
|
|
19350
|
+
if (!options) {
|
|
19351
|
+
return;
|
|
19352
|
+
}
|
|
19353
|
+
this.register({
|
|
19354
|
+
id: UUID.generateUuid(),
|
|
19355
|
+
registerOptions: options
|
|
19356
|
+
});
|
|
19357
|
+
}
|
|
19358
|
+
registerLanguageProvider(options) {
|
|
19359
|
+
const selector = options.documentSelector;
|
|
19360
|
+
const provider = {
|
|
19361
|
+
provideInlineCompletionItems: (document, position, context, token) => {
|
|
19362
|
+
const client = this._client;
|
|
19363
|
+
const middleware = this._client.middleware;
|
|
19364
|
+
const provideInlineCompletionItems = (document, position, context, token) => {
|
|
19365
|
+
return client.sendRequest(vscode_languageserver_protocol_1.InlineCompletionRequest.type, client.code2ProtocolConverter.asInlineCompletionParams(document, position, context), token).then((result) => {
|
|
19366
|
+
if (token.isCancellationRequested) {
|
|
19367
|
+
return null;
|
|
19368
|
+
}
|
|
19369
|
+
return client.protocol2CodeConverter.asInlineCompletionResult(result, token);
|
|
19370
|
+
}, (error) => {
|
|
19371
|
+
return client.handleFailedRequest(vscode_languageserver_protocol_1.InlineCompletionRequest.type, token, error, null);
|
|
19372
|
+
});
|
|
19373
|
+
};
|
|
19374
|
+
return middleware.provideInlineCompletionItems
|
|
19375
|
+
? middleware.provideInlineCompletionItems(document, position, context, token, provideInlineCompletionItems)
|
|
19376
|
+
: provideInlineCompletionItems(document, position, context, token);
|
|
19377
|
+
}
|
|
19378
|
+
};
|
|
19379
|
+
return [vscode_1.languages.registerInlineCompletionItemProvider(this._client.protocol2CodeConverter.asDocumentSelector(selector), provider), provider];
|
|
19380
|
+
}
|
|
19381
|
+
}
|
|
19382
|
+
exports.InlineCompletionItemFeature = InlineCompletionItemFeature;
|
|
19383
|
+
|
|
19384
|
+
|
|
19385
|
+
/***/ }),
|
|
19386
|
+
/* 106 */
|
|
19116
19387
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
19117
19388
|
|
|
19118
19389
|
"use strict";
|
|
@@ -19125,7 +19396,7 @@ exports.InlayHintsFeature = InlayHintsFeature;
|
|
|
19125
19396
|
module.exports = __webpack_require__(5);
|
|
19126
19397
|
|
|
19127
19398
|
/***/ }),
|
|
19128
|
-
/*
|
|
19399
|
+
/* 107 */
|
|
19129
19400
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
19130
19401
|
|
|
19131
19402
|
"use strict";
|
|
@@ -19137,7 +19408,7 @@ module.exports = __webpack_require__(5);
|
|
|
19137
19408
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
19138
19409
|
exports.getCustomDataSource = void 0;
|
|
19139
19410
|
const vscode_1 = __webpack_require__(1);
|
|
19140
|
-
const vscode_uri_1 = __webpack_require__(
|
|
19411
|
+
const vscode_uri_1 = __webpack_require__(108);
|
|
19141
19412
|
function getCustomDataSource(toDispose) {
|
|
19142
19413
|
let pathsInWorkspace = getCustomDataPathsInAllWorkspaces();
|
|
19143
19414
|
let pathsInExtensions = getCustomDataPathsFromAllExtensions();
|
|
@@ -19211,7 +19482,7 @@ function getCustomDataPathsFromAllExtensions() {
|
|
|
19211
19482
|
|
|
19212
19483
|
|
|
19213
19484
|
/***/ }),
|
|
19214
|
-
/*
|
|
19485
|
+
/* 108 */
|
|
19215
19486
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
19216
19487
|
|
|
19217
19488
|
"use strict";
|
|
@@ -19224,7 +19495,7 @@ var LIB;(()=>{"use strict";var t={470:t=>{function e(t){if("string"!=typeof t)th
|
|
|
19224
19495
|
//# sourceMappingURL=index.js.map
|
|
19225
19496
|
|
|
19226
19497
|
/***/ }),
|
|
19227
|
-
/*
|
|
19498
|
+
/* 109 */
|
|
19228
19499
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
19229
19500
|
|
|
19230
19501
|
"use strict";
|
|
@@ -19297,7 +19568,7 @@ var FileType;
|
|
|
19297
19568
|
|
|
19298
19569
|
|
|
19299
19570
|
/***/ }),
|
|
19300
|
-
/*
|
|
19571
|
+
/* 110 */
|
|
19301
19572
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
19302
19573
|
|
|
19303
19574
|
"use strict";
|
|
@@ -19380,7 +19651,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
19380
19651
|
exports.deactivate = exports.activate = void 0;
|
|
19381
19652
|
const vscode_1 = __webpack_require__(1);
|
|
19382
19653
|
const cssClient_1 = __webpack_require__(2);
|
|
19383
|
-
const browser_1 = __webpack_require__(
|
|
19654
|
+
const browser_1 = __webpack_require__(110);
|
|
19384
19655
|
let client;
|
|
19385
19656
|
// this method is called when vs code is activated
|
|
19386
19657
|
async function activate(context) {
|