vscode-languageserver-protocol 3.17.4-next.2 → 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 +32 -33
- 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 +4 -4
- package/lib/common/protocol.inlineCompletion.js +1 -1
- package/lib/common/protocol.inlineValue.d.ts +5 -5
- package/lib/common/protocol.inlineValue.js +2 -2
- package/lib/common/protocol.js +71 -72
- 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
|
@@ -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 = {}));
|
|
@@ -8,7 +8,7 @@ import type { TextDocumentRegistrationOptions, WorkDoneProgressOptions, StaticRe
|
|
|
8
8
|
* @since 3.18.0
|
|
9
9
|
* @proposed
|
|
10
10
|
*/
|
|
11
|
-
export
|
|
11
|
+
export type InlineCompletionClientCapabilities = {
|
|
12
12
|
/**
|
|
13
13
|
* Whether implementation supports dynamic registration for inline completion providers.
|
|
14
14
|
*/
|
|
@@ -20,21 +20,21 @@ export declare type InlineCompletionClientCapabilities = {
|
|
|
20
20
|
* @since 3.18.0
|
|
21
21
|
* @proposed
|
|
22
22
|
*/
|
|
23
|
-
export
|
|
23
|
+
export type InlineCompletionOptions = WorkDoneProgressOptions;
|
|
24
24
|
/**
|
|
25
25
|
* Inline completion options used during static or dynamic registration.
|
|
26
26
|
*
|
|
27
27
|
* @since 3.18.0
|
|
28
28
|
* @proposed
|
|
29
29
|
*/
|
|
30
|
-
export
|
|
30
|
+
export type InlineCompletionRegistrationOptions = InlineCompletionOptions & TextDocumentRegistrationOptions & StaticRegistrationOptions;
|
|
31
31
|
/**
|
|
32
32
|
* A parameter literal used in inline completion requests.
|
|
33
33
|
*
|
|
34
34
|
* @since 3.18.0
|
|
35
35
|
* @proposed
|
|
36
36
|
*/
|
|
37
|
-
export
|
|
37
|
+
export type InlineCompletionParams = WorkDoneProgressParams & TextDocumentPositionParams & {
|
|
38
38
|
/**
|
|
39
39
|
* Additional information about the context in which inline completions were
|
|
40
40
|
* requested.
|
|
@@ -19,4 +19,4 @@ var InlineCompletionRequest;
|
|
|
19
19
|
InlineCompletionRequest.method = 'textDocument/inlineCompletion';
|
|
20
20
|
InlineCompletionRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
21
21
|
InlineCompletionRequest.type = new messages_1.ProtocolRequestType(InlineCompletionRequest.method);
|
|
22
|
-
})(InlineCompletionRequest
|
|
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 = {}));
|