vscode-languageserver-protocol 3.17.4-next.1 → 3.17.4-next.3
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/lib/common/api.d.ts +1 -1
- package/lib/common/api.js +1 -1
- package/lib/common/messages.js +1 -1
- package/lib/common/protocol.callHierarchy.js +3 -3
- package/lib/common/protocol.colorProvider.js +2 -2
- package/lib/common/protocol.configuration.js +1 -1
- package/lib/common/protocol.d.ts +93 -34
- package/lib/common/protocol.declaration.d.ts +3 -4
- package/lib/common/protocol.declaration.js +4 -5
- package/lib/common/protocol.diagnostic.d.ts +21 -21
- package/lib/common/protocol.diagnostic.js +5 -5
- package/lib/common/protocol.fileOperations.d.ts +1 -1
- package/lib/common/protocol.fileOperations.js +7 -7
- package/lib/common/protocol.foldingRange.js +1 -1
- package/lib/common/protocol.implementation.d.ts +2 -3
- package/lib/common/protocol.implementation.js +3 -4
- package/lib/common/protocol.inlayHint.d.ts +5 -5
- package/lib/common/protocol.inlayHint.js +3 -3
- package/lib/common/protocol.inlineCompletion.d.ts +57 -0
- package/lib/common/protocol.inlineCompletion.js +22 -0
- package/lib/common/protocol.inlineValue.d.ts +5 -5
- package/lib/common/protocol.inlineValue.js +2 -2
- package/lib/common/protocol.js +86 -73
- package/lib/common/protocol.linkedEditingRange.js +1 -1
- package/lib/common/protocol.moniker.d.ts +2 -2
- package/lib/common/protocol.moniker.js +3 -3
- package/lib/common/protocol.notebook.d.ts +15 -15
- package/lib/common/protocol.notebook.js +10 -10
- package/lib/common/protocol.progress.js +3 -3
- package/lib/common/protocol.selectionRange.js +1 -1
- package/lib/common/protocol.semanticTokens.d.ts +1 -1
- package/lib/common/protocol.semanticTokens.js +6 -6
- package/lib/common/protocol.showDocument.js +1 -1
- package/lib/common/protocol.typeDefinition.d.ts +2 -3
- package/lib/common/protocol.typeDefinition.js +3 -4
- package/lib/common/protocol.typeHierarchy.d.ts +6 -6
- package/lib/common/protocol.typeHierarchy.js +3 -3
- package/lib/common/protocol.workspaceFolder.js +2 -2
- package/package.json +5 -5
|
@@ -18,7 +18,7 @@ var DiagnosticServerCancellationData;
|
|
|
18
18
|
return candidate && Is.boolean(candidate.retriggerRequest);
|
|
19
19
|
}
|
|
20
20
|
DiagnosticServerCancellationData.is = is;
|
|
21
|
-
})(DiagnosticServerCancellationData
|
|
21
|
+
})(DiagnosticServerCancellationData || (exports.DiagnosticServerCancellationData = DiagnosticServerCancellationData = {}));
|
|
22
22
|
/**
|
|
23
23
|
* The document diagnostic report kinds.
|
|
24
24
|
*
|
|
@@ -36,7 +36,7 @@ var DocumentDiagnosticReportKind;
|
|
|
36
36
|
* returned report is still accurate.
|
|
37
37
|
*/
|
|
38
38
|
DocumentDiagnosticReportKind.Unchanged = 'unchanged';
|
|
39
|
-
})(DocumentDiagnosticReportKind
|
|
39
|
+
})(DocumentDiagnosticReportKind || (exports.DocumentDiagnosticReportKind = DocumentDiagnosticReportKind = {}));
|
|
40
40
|
/**
|
|
41
41
|
* The document diagnostic request definition.
|
|
42
42
|
*
|
|
@@ -48,7 +48,7 @@ var DocumentDiagnosticRequest;
|
|
|
48
48
|
DocumentDiagnosticRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
49
49
|
DocumentDiagnosticRequest.type = new messages_1.ProtocolRequestType(DocumentDiagnosticRequest.method);
|
|
50
50
|
DocumentDiagnosticRequest.partialResult = new vscode_jsonrpc_1.ProgressType();
|
|
51
|
-
})(DocumentDiagnosticRequest
|
|
51
|
+
})(DocumentDiagnosticRequest || (exports.DocumentDiagnosticRequest = DocumentDiagnosticRequest = {}));
|
|
52
52
|
/**
|
|
53
53
|
* The workspace diagnostic request definition.
|
|
54
54
|
*
|
|
@@ -60,7 +60,7 @@ var WorkspaceDiagnosticRequest;
|
|
|
60
60
|
WorkspaceDiagnosticRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
61
61
|
WorkspaceDiagnosticRequest.type = new messages_1.ProtocolRequestType(WorkspaceDiagnosticRequest.method);
|
|
62
62
|
WorkspaceDiagnosticRequest.partialResult = new vscode_jsonrpc_1.ProgressType();
|
|
63
|
-
})(WorkspaceDiagnosticRequest
|
|
63
|
+
})(WorkspaceDiagnosticRequest || (exports.WorkspaceDiagnosticRequest = WorkspaceDiagnosticRequest = {}));
|
|
64
64
|
/**
|
|
65
65
|
* The diagnostic refresh request definition.
|
|
66
66
|
*
|
|
@@ -71,4 +71,4 @@ var DiagnosticRefreshRequest;
|
|
|
71
71
|
DiagnosticRefreshRequest.method = `workspace/diagnostic/refresh`;
|
|
72
72
|
DiagnosticRefreshRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
73
73
|
DiagnosticRefreshRequest.type = new messages_1.ProtocolRequestType0(DiagnosticRefreshRequest.method);
|
|
74
|
-
})(DiagnosticRefreshRequest
|
|
74
|
+
})(DiagnosticRefreshRequest || (exports.DiagnosticRefreshRequest = DiagnosticRefreshRequest = {}));
|
|
@@ -59,7 +59,7 @@ export declare namespace FileOperationPatternKind {
|
|
|
59
59
|
*/
|
|
60
60
|
const folder: 'folder';
|
|
61
61
|
}
|
|
62
|
-
export
|
|
62
|
+
export type FileOperationPatternKind = 'file' | 'folder';
|
|
63
63
|
/**
|
|
64
64
|
* Matching options for the file operation pattern.
|
|
65
65
|
*
|
|
@@ -22,7 +22,7 @@ var FileOperationPatternKind;
|
|
|
22
22
|
* The pattern matches a folder only.
|
|
23
23
|
*/
|
|
24
24
|
FileOperationPatternKind.folder = 'folder';
|
|
25
|
-
})(FileOperationPatternKind
|
|
25
|
+
})(FileOperationPatternKind || (exports.FileOperationPatternKind = FileOperationPatternKind = {}));
|
|
26
26
|
/**
|
|
27
27
|
* The will create files request is sent from the client to the server before files are actually
|
|
28
28
|
* created as long as the creation is triggered from within the client.
|
|
@@ -38,7 +38,7 @@ var WillCreateFilesRequest;
|
|
|
38
38
|
WillCreateFilesRequest.method = 'workspace/willCreateFiles';
|
|
39
39
|
WillCreateFilesRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
40
40
|
WillCreateFilesRequest.type = new messages_1.ProtocolRequestType(WillCreateFilesRequest.method);
|
|
41
|
-
})(WillCreateFilesRequest
|
|
41
|
+
})(WillCreateFilesRequest || (exports.WillCreateFilesRequest = WillCreateFilesRequest = {}));
|
|
42
42
|
/**
|
|
43
43
|
* The did create files notification is sent from the client to the server when
|
|
44
44
|
* files were created from within the client.
|
|
@@ -50,7 +50,7 @@ var DidCreateFilesNotification;
|
|
|
50
50
|
DidCreateFilesNotification.method = 'workspace/didCreateFiles';
|
|
51
51
|
DidCreateFilesNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
52
52
|
DidCreateFilesNotification.type = new messages_1.ProtocolNotificationType(DidCreateFilesNotification.method);
|
|
53
|
-
})(DidCreateFilesNotification
|
|
53
|
+
})(DidCreateFilesNotification || (exports.DidCreateFilesNotification = DidCreateFilesNotification = {}));
|
|
54
54
|
/**
|
|
55
55
|
* The will rename files request is sent from the client to the server before files are actually
|
|
56
56
|
* renamed as long as the rename is triggered from within the client.
|
|
@@ -62,7 +62,7 @@ var WillRenameFilesRequest;
|
|
|
62
62
|
WillRenameFilesRequest.method = 'workspace/willRenameFiles';
|
|
63
63
|
WillRenameFilesRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
64
64
|
WillRenameFilesRequest.type = new messages_1.ProtocolRequestType(WillRenameFilesRequest.method);
|
|
65
|
-
})(WillRenameFilesRequest
|
|
65
|
+
})(WillRenameFilesRequest || (exports.WillRenameFilesRequest = WillRenameFilesRequest = {}));
|
|
66
66
|
/**
|
|
67
67
|
* The did rename files notification is sent from the client to the server when
|
|
68
68
|
* files were renamed from within the client.
|
|
@@ -74,7 +74,7 @@ var DidRenameFilesNotification;
|
|
|
74
74
|
DidRenameFilesNotification.method = 'workspace/didRenameFiles';
|
|
75
75
|
DidRenameFilesNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
76
76
|
DidRenameFilesNotification.type = new messages_1.ProtocolNotificationType(DidRenameFilesNotification.method);
|
|
77
|
-
})(DidRenameFilesNotification
|
|
77
|
+
})(DidRenameFilesNotification || (exports.DidRenameFilesNotification = DidRenameFilesNotification = {}));
|
|
78
78
|
/**
|
|
79
79
|
* The will delete files request is sent from the client to the server before files are actually
|
|
80
80
|
* deleted as long as the deletion is triggered from within the client.
|
|
@@ -86,7 +86,7 @@ var DidDeleteFilesNotification;
|
|
|
86
86
|
DidDeleteFilesNotification.method = 'workspace/didDeleteFiles';
|
|
87
87
|
DidDeleteFilesNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
88
88
|
DidDeleteFilesNotification.type = new messages_1.ProtocolNotificationType(DidDeleteFilesNotification.method);
|
|
89
|
-
})(DidDeleteFilesNotification
|
|
89
|
+
})(DidDeleteFilesNotification || (exports.DidDeleteFilesNotification = DidDeleteFilesNotification = {}));
|
|
90
90
|
/**
|
|
91
91
|
* The did delete files notification is sent from the client to the server when
|
|
92
92
|
* files were deleted from within the client.
|
|
@@ -98,4 +98,4 @@ var WillDeleteFilesRequest;
|
|
|
98
98
|
WillDeleteFilesRequest.method = 'workspace/willDeleteFiles';
|
|
99
99
|
WillDeleteFilesRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
100
100
|
WillDeleteFilesRequest.type = new messages_1.ProtocolRequestType(WillDeleteFilesRequest.method);
|
|
101
|
-
})(WillDeleteFilesRequest
|
|
101
|
+
})(WillDeleteFilesRequest || (exports.WillDeleteFilesRequest = WillDeleteFilesRequest = {}));
|
|
@@ -17,4 +17,4 @@ var FoldingRangeRequest;
|
|
|
17
17
|
FoldingRangeRequest.method = 'textDocument/foldingRange';
|
|
18
18
|
FoldingRangeRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
19
19
|
FoldingRangeRequest.type = new messages_1.ProtocolRequestType(FoldingRangeRequest.method);
|
|
20
|
-
})(FoldingRangeRequest
|
|
20
|
+
})(FoldingRangeRequest || (exports.FoldingRangeRequest = FoldingRangeRequest = {}));
|
|
@@ -27,9 +27,8 @@ export interface ImplementationParams extends TextDocumentPositionParams, WorkDo
|
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* A request to resolve the implementation locations of a symbol at a given text
|
|
30
|
-
* document position. The request's parameter is of type
|
|
31
|
-
*
|
|
32
|
-
* Thenable that resolves to such.
|
|
30
|
+
* document position. The request's parameter is of type {@link TextDocumentPositionParams}
|
|
31
|
+
* the response is of type {@link Definition} or a Thenable that resolves to such.
|
|
33
32
|
*/
|
|
34
33
|
export declare namespace ImplementationRequest {
|
|
35
34
|
const method: 'textDocument/implementation';
|
|
@@ -10,13 +10,12 @@ const messages_1 = require("./messages");
|
|
|
10
10
|
let __noDynamicImport;
|
|
11
11
|
/**
|
|
12
12
|
* A request to resolve the implementation locations of a symbol at a given text
|
|
13
|
-
* document position. The request's parameter is of type
|
|
14
|
-
*
|
|
15
|
-
* Thenable that resolves to such.
|
|
13
|
+
* document position. The request's parameter is of type {@link TextDocumentPositionParams}
|
|
14
|
+
* the response is of type {@link Definition} or a Thenable that resolves to such.
|
|
16
15
|
*/
|
|
17
16
|
var ImplementationRequest;
|
|
18
17
|
(function (ImplementationRequest) {
|
|
19
18
|
ImplementationRequest.method = 'textDocument/implementation';
|
|
20
19
|
ImplementationRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
21
20
|
ImplementationRequest.type = new messages_1.ProtocolRequestType(ImplementationRequest.method);
|
|
22
|
-
})(ImplementationRequest
|
|
21
|
+
})(ImplementationRequest || (exports.ImplementationRequest = ImplementationRequest = {}));
|
|
@@ -7,7 +7,7 @@ import type { StaticRegistrationOptions, TextDocumentRegistrationOptions, WorkDo
|
|
|
7
7
|
*
|
|
8
8
|
* @since 3.17.0
|
|
9
9
|
*/
|
|
10
|
-
export
|
|
10
|
+
export type InlayHintClientCapabilities = {
|
|
11
11
|
/**
|
|
12
12
|
* Whether inlay hints support dynamic registration.
|
|
13
13
|
*/
|
|
@@ -28,7 +28,7 @@ export declare type InlayHintClientCapabilities = {
|
|
|
28
28
|
*
|
|
29
29
|
* @since 3.17.0
|
|
30
30
|
*/
|
|
31
|
-
export
|
|
31
|
+
export type InlayHintWorkspaceClientCapabilities = {
|
|
32
32
|
/**
|
|
33
33
|
* Whether the client implementation supports a refresh request sent from
|
|
34
34
|
* the server to the client.
|
|
@@ -45,7 +45,7 @@ export declare type InlayHintWorkspaceClientCapabilities = {
|
|
|
45
45
|
*
|
|
46
46
|
* @since 3.17.0
|
|
47
47
|
*/
|
|
48
|
-
export
|
|
48
|
+
export type InlayHintOptions = WorkDoneProgressOptions & {
|
|
49
49
|
/**
|
|
50
50
|
* The server provides support to resolve additional
|
|
51
51
|
* information for an inlay hint item.
|
|
@@ -57,13 +57,13 @@ export declare type InlayHintOptions = WorkDoneProgressOptions & {
|
|
|
57
57
|
*
|
|
58
58
|
* @since 3.17.0
|
|
59
59
|
*/
|
|
60
|
-
export
|
|
60
|
+
export type InlayHintRegistrationOptions = InlayHintOptions & TextDocumentRegistrationOptions & StaticRegistrationOptions;
|
|
61
61
|
/**
|
|
62
62
|
* A parameter literal used in inlay hint requests.
|
|
63
63
|
*
|
|
64
64
|
* @since 3.17.0
|
|
65
65
|
*/
|
|
66
|
-
export
|
|
66
|
+
export type InlayHintParams = WorkDoneProgressParams & {
|
|
67
67
|
/**
|
|
68
68
|
* The text document.
|
|
69
69
|
*/
|
|
@@ -18,7 +18,7 @@ var InlayHintRequest;
|
|
|
18
18
|
InlayHintRequest.method = 'textDocument/inlayHint';
|
|
19
19
|
InlayHintRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
20
20
|
InlayHintRequest.type = new messages_1.ProtocolRequestType(InlayHintRequest.method);
|
|
21
|
-
})(InlayHintRequest
|
|
21
|
+
})(InlayHintRequest || (exports.InlayHintRequest = InlayHintRequest = {}));
|
|
22
22
|
/**
|
|
23
23
|
* A request to resolve additional properties for an inlay hint.
|
|
24
24
|
* The request's parameter is of type {@link InlayHint}, the response is
|
|
@@ -31,7 +31,7 @@ var InlayHintResolveRequest;
|
|
|
31
31
|
InlayHintResolveRequest.method = 'inlayHint/resolve';
|
|
32
32
|
InlayHintResolveRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
33
33
|
InlayHintResolveRequest.type = new messages_1.ProtocolRequestType(InlayHintResolveRequest.method);
|
|
34
|
-
})(InlayHintResolveRequest
|
|
34
|
+
})(InlayHintResolveRequest || (exports.InlayHintResolveRequest = InlayHintResolveRequest = {}));
|
|
35
35
|
/**
|
|
36
36
|
* @since 3.17.0
|
|
37
37
|
*/
|
|
@@ -40,4 +40,4 @@ var InlayHintRefreshRequest;
|
|
|
40
40
|
InlayHintRefreshRequest.method = `workspace/inlayHint/refresh`;
|
|
41
41
|
InlayHintRefreshRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
42
42
|
InlayHintRefreshRequest.type = new messages_1.ProtocolRequestType0(InlayHintRefreshRequest.method);
|
|
43
|
-
})(InlayHintRefreshRequest
|
|
43
|
+
})(InlayHintRefreshRequest || (exports.InlayHintRefreshRequest = InlayHintRefreshRequest = {}));
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { InlineCompletionItem, InlineCompletionContext, InlineCompletionList } from 'vscode-languageserver-types';
|
|
2
|
+
import { RequestHandler } from 'vscode-jsonrpc';
|
|
3
|
+
import { MessageDirection, ProtocolRequestType } from './messages';
|
|
4
|
+
import type { TextDocumentRegistrationOptions, WorkDoneProgressOptions, StaticRegistrationOptions, WorkDoneProgressParams, TextDocumentPositionParams } from './protocol';
|
|
5
|
+
/**
|
|
6
|
+
* Client capabilities specific to inline completions.
|
|
7
|
+
*
|
|
8
|
+
* @since 3.18.0
|
|
9
|
+
* @proposed
|
|
10
|
+
*/
|
|
11
|
+
export type InlineCompletionClientCapabilities = {
|
|
12
|
+
/**
|
|
13
|
+
* Whether implementation supports dynamic registration for inline completion providers.
|
|
14
|
+
*/
|
|
15
|
+
dynamicRegistration?: boolean;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Inline completion options used during static registration.
|
|
19
|
+
*
|
|
20
|
+
* @since 3.18.0
|
|
21
|
+
* @proposed
|
|
22
|
+
*/
|
|
23
|
+
export type InlineCompletionOptions = WorkDoneProgressOptions;
|
|
24
|
+
/**
|
|
25
|
+
* Inline completion options used during static or dynamic registration.
|
|
26
|
+
*
|
|
27
|
+
* @since 3.18.0
|
|
28
|
+
* @proposed
|
|
29
|
+
*/
|
|
30
|
+
export type InlineCompletionRegistrationOptions = InlineCompletionOptions & TextDocumentRegistrationOptions & StaticRegistrationOptions;
|
|
31
|
+
/**
|
|
32
|
+
* A parameter literal used in inline completion requests.
|
|
33
|
+
*
|
|
34
|
+
* @since 3.18.0
|
|
35
|
+
* @proposed
|
|
36
|
+
*/
|
|
37
|
+
export type InlineCompletionParams = WorkDoneProgressParams & TextDocumentPositionParams & {
|
|
38
|
+
/**
|
|
39
|
+
* Additional information about the context in which inline completions were
|
|
40
|
+
* requested.
|
|
41
|
+
*/
|
|
42
|
+
context: InlineCompletionContext;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* A request to provide inline completions in a document. The request's parameter is of
|
|
46
|
+
* type {@link InlineCompletionParams}, the response is of type
|
|
47
|
+
* {@link InlineCompletion InlineCompletion[]} or a Thenable that resolves to such.
|
|
48
|
+
*
|
|
49
|
+
* @since 3.18.0
|
|
50
|
+
* @proposed
|
|
51
|
+
*/
|
|
52
|
+
export declare namespace InlineCompletionRequest {
|
|
53
|
+
const method: 'textDocument/inlineCompletion';
|
|
54
|
+
const messageDirection: MessageDirection;
|
|
55
|
+
const type: ProtocolRequestType<InlineCompletionParams, InlineCompletionList | InlineCompletionItem[] | null, InlineCompletionItem[], void, InlineCompletionRegistrationOptions>;
|
|
56
|
+
type HandlerSignature = RequestHandler<InlineCompletionParams, InlineCompletionList | InlineCompletionItem[] | null, void>;
|
|
57
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*---------------------------------------------------------------------------------------------
|
|
3
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
5
|
+
*--------------------------------------------------------------------------------------------*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.InlineCompletionRequest = void 0;
|
|
8
|
+
const messages_1 = require("./messages");
|
|
9
|
+
/**
|
|
10
|
+
* A request to provide inline completions in a document. The request's parameter is of
|
|
11
|
+
* type {@link InlineCompletionParams}, the response is of type
|
|
12
|
+
* {@link InlineCompletion InlineCompletion[]} or a Thenable that resolves to such.
|
|
13
|
+
*
|
|
14
|
+
* @since 3.18.0
|
|
15
|
+
* @proposed
|
|
16
|
+
*/
|
|
17
|
+
var InlineCompletionRequest;
|
|
18
|
+
(function (InlineCompletionRequest) {
|
|
19
|
+
InlineCompletionRequest.method = 'textDocument/inlineCompletion';
|
|
20
|
+
InlineCompletionRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
21
|
+
InlineCompletionRequest.type = new messages_1.ProtocolRequestType(InlineCompletionRequest.method);
|
|
22
|
+
})(InlineCompletionRequest || (exports.InlineCompletionRequest = InlineCompletionRequest = {}));
|
|
@@ -7,7 +7,7 @@ import type { TextDocumentRegistrationOptions, WorkDoneProgressOptions, StaticRe
|
|
|
7
7
|
*
|
|
8
8
|
* @since 3.17.0
|
|
9
9
|
*/
|
|
10
|
-
export
|
|
10
|
+
export type InlineValueClientCapabilities = {
|
|
11
11
|
/**
|
|
12
12
|
* Whether implementation supports dynamic registration for inline value providers.
|
|
13
13
|
*/
|
|
@@ -18,7 +18,7 @@ export declare type InlineValueClientCapabilities = {
|
|
|
18
18
|
*
|
|
19
19
|
* @since 3.17.0
|
|
20
20
|
*/
|
|
21
|
-
export
|
|
21
|
+
export type InlineValueWorkspaceClientCapabilities = {
|
|
22
22
|
/**
|
|
23
23
|
* Whether the client implementation supports a refresh request sent from the
|
|
24
24
|
* server to the client.
|
|
@@ -35,19 +35,19 @@ export declare type InlineValueWorkspaceClientCapabilities = {
|
|
|
35
35
|
*
|
|
36
36
|
* @since 3.17.0
|
|
37
37
|
*/
|
|
38
|
-
export
|
|
38
|
+
export type InlineValueOptions = WorkDoneProgressOptions;
|
|
39
39
|
/**
|
|
40
40
|
* Inline value options used during static or dynamic registration.
|
|
41
41
|
*
|
|
42
42
|
* @since 3.17.0
|
|
43
43
|
*/
|
|
44
|
-
export
|
|
44
|
+
export type InlineValueRegistrationOptions = InlineValueOptions & TextDocumentRegistrationOptions & StaticRegistrationOptions;
|
|
45
45
|
/**
|
|
46
46
|
* A parameter literal used in inline value requests.
|
|
47
47
|
*
|
|
48
48
|
* @since 3.17.0
|
|
49
49
|
*/
|
|
50
|
-
export
|
|
50
|
+
export type InlineValueParams = WorkDoneProgressParams & {
|
|
51
51
|
/**
|
|
52
52
|
* The text document.
|
|
53
53
|
*/
|
|
@@ -18,7 +18,7 @@ var InlineValueRequest;
|
|
|
18
18
|
InlineValueRequest.method = 'textDocument/inlineValue';
|
|
19
19
|
InlineValueRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
20
20
|
InlineValueRequest.type = new messages_1.ProtocolRequestType(InlineValueRequest.method);
|
|
21
|
-
})(InlineValueRequest
|
|
21
|
+
})(InlineValueRequest || (exports.InlineValueRequest = InlineValueRequest = {}));
|
|
22
22
|
/**
|
|
23
23
|
* @since 3.17.0
|
|
24
24
|
*/
|
|
@@ -27,4 +27,4 @@ var InlineValueRefreshRequest;
|
|
|
27
27
|
InlineValueRefreshRequest.method = `workspace/inlineValue/refresh`;
|
|
28
28
|
InlineValueRefreshRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
29
29
|
InlineValueRefreshRequest.type = new messages_1.ProtocolRequestType0(InlineValueRefreshRequest.method);
|
|
30
|
-
})(InlineValueRefreshRequest
|
|
30
|
+
})(InlineValueRefreshRequest || (exports.InlineValueRefreshRequest = InlineValueRefreshRequest = {}));
|