vscode-languageserver-protocol 3.17.0-next.15 → 3.17.0-next.18

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.
Files changed (39) hide show
  1. package/lib/common/api.d.ts +0 -69
  2. package/lib/common/api.js +1 -26
  3. package/lib/common/connection.d.ts +26 -2
  4. package/lib/common/protocol.callHierarchy.d.ts +1 -1
  5. package/lib/common/protocol.colorProvider.d.ts +1 -1
  6. package/lib/common/protocol.configuration.d.ts +1 -14
  7. package/lib/common/protocol.configuration.js +1 -0
  8. package/lib/common/protocol.d.ts +326 -105
  9. package/lib/common/protocol.declaration.d.ts +2 -2
  10. package/lib/common/protocol.declaration.js +2 -2
  11. package/lib/common/{proposed.diagnostic.d.ts → protocol.diagnostic.d.ts} +79 -38
  12. package/lib/common/{proposed.diagnostic.js → protocol.diagnostic.js} +13 -8
  13. package/lib/common/protocol.foldingRange.d.ts +20 -26
  14. package/lib/common/protocol.foldingRange.js +1 -19
  15. package/lib/common/protocol.implementation.d.ts +2 -2
  16. package/lib/common/protocol.implementation.js +2 -2
  17. package/lib/common/protocol.inlayHint.d.ts +115 -0
  18. package/lib/common/protocol.inlayHint.js +44 -0
  19. package/lib/common/protocol.inlineValue.d.ts +91 -0
  20. package/lib/common/protocol.inlineValue.js +31 -0
  21. package/lib/common/protocol.js +88 -15
  22. package/lib/common/protocol.linkedEditingRange.d.ts +2 -2
  23. package/lib/common/protocol.moniker.d.ts +13 -11
  24. package/lib/common/protocol.moniker.js +8 -8
  25. package/lib/common/{proposed.notebooks.d.ts → protocol.notebook.d.ts} +57 -53
  26. package/lib/common/{proposed.notebooks.js → protocol.notebook.js} +9 -5
  27. package/lib/common/protocol.progress.d.ts +2 -14
  28. package/lib/common/protocol.progress.js +4 -2
  29. package/lib/common/protocol.selectionRange.d.ts +2 -2
  30. package/lib/common/protocol.semanticTokens.d.ts +1 -1
  31. package/lib/common/protocol.typeDefinition.d.ts +1 -1
  32. package/lib/common/{proposed.typeHierarchy.d.ts → protocol.typeHierarchy.d.ts} +19 -10
  33. package/lib/common/{proposed.typeHierarchy.js → protocol.typeHierarchy.js} +7 -4
  34. package/lib/common/{protocol.workspaceFolders.d.ts → protocol.workspaceFolder.d.ts} +11 -41
  35. package/lib/common/{protocol.workspaceFolders.js → protocol.workspaceFolder.js} +1 -1
  36. package/metaModel.schema.json +686 -0
  37. package/package.json +3 -3
  38. package/lib/common/proposed.inlineValue.d.ts +0 -84
  39. package/lib/common/proposed.inlineValue.js +0 -29
@@ -1,84 +0,0 @@
1
- import { TextDocumentIdentifier, Range, InlineValue, InlineValuesContext } from 'vscode-languageserver-types';
2
- import { RequestHandler, RequestHandler0 } from 'vscode-jsonrpc';
3
- import { ProtocolRequestType, ProtocolRequestType0 } from './messages';
4
- import { TextDocumentRegistrationOptions, WorkDoneProgressOptions, StaticRegistrationOptions, WorkDoneProgressParams } from './protocol';
5
- /**
6
- * Client capabilities specific to inline values.
7
- *
8
- * @since 3.17.0 - proposed state
9
- */
10
- export declare type InlineValuesClientCapabilities = {
11
- /**
12
- * Whether implementation supports dynamic registration for inline value providers.
13
- */
14
- dynamicRegistration?: boolean;
15
- };
16
- /**
17
- * Client workspace capabilities specific to inline values.
18
- *
19
- * @since 3.17.0 - proposed state
20
- */
21
- export declare type InlineValuesWorkspaceClientCapabilities = {
22
- /**
23
- * Whether the client implementation supports a refresh request sent from the
24
- * server to the client.
25
- *
26
- * Note that this event is global and will force the client to refresh all
27
- * inline values currently shown. It should be used with absolute care and is
28
- * useful for situation where a server for example detect a project wide
29
- * change that requires such a calculation.
30
- */
31
- refreshSupport?: boolean;
32
- };
33
- /**
34
- * Inline values options used during static registration.
35
- *
36
- * @since 3.17.0 - proposed state
37
- */
38
- export declare type InlineValuesOptions = WorkDoneProgressOptions;
39
- /**
40
- * Inline value options used during static or dynamic registration.
41
- *
42
- * @since 3.17.0 - proposed state
43
- */
44
- export declare type InlineValuesRegistrationOptions = InlineValuesOptions & TextDocumentRegistrationOptions & StaticRegistrationOptions;
45
- /**
46
- * A parameter literal used in inline values requests.
47
- *
48
- * @since 3.17.0 - proposed state
49
- */
50
- export declare type InlineValuesParams = WorkDoneProgressParams & {
51
- /**
52
- * The text document.
53
- */
54
- textDocument: TextDocumentIdentifier;
55
- /**
56
- * The visible document range for which inline values should be computed.
57
- */
58
- viewPort: Range;
59
- /**
60
- * Additional information about the context in which inline values were
61
- * requested.
62
- */
63
- context: InlineValuesContext;
64
- };
65
- /**
66
- * A request to provide inline values in a document. The request's parameter is of
67
- * type [InlineValuesParams](#InlineValuesParams), the response is of type
68
- * [InlineValue[]](#InlineValue[]) or a Thenable that resolves to such.
69
- *
70
- * @since 3.17.0 - proposed state
71
- */
72
- export declare namespace InlineValuesRequest {
73
- const method: 'textDocument/inlineValues';
74
- const type: ProtocolRequestType<InlineValuesParams, InlineValue[] | null, InlineValue[], any, InlineValuesRegistrationOptions>;
75
- type HandlerSignature = RequestHandler<InlineValuesParams, InlineValue[] | null, void>;
76
- }
77
- /**
78
- * @since 3.17.0 - proposed state
79
- */
80
- export declare namespace InlineValuesRefreshRequest {
81
- const method: `workspace/inlineValues/refresh`;
82
- const type: ProtocolRequestType0<void, void, void, void>;
83
- type HandlerSignature = RequestHandler0<void, void>;
84
- }
@@ -1,29 +0,0 @@
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.InlineValuesRefreshRequest = exports.InlineValuesRequest = void 0;
8
- const messages_1 = require("./messages");
9
- /**
10
- * A request to provide inline values in a document. The request's parameter is of
11
- * type [InlineValuesParams](#InlineValuesParams), the response is of type
12
- * [InlineValue[]](#InlineValue[]) or a Thenable that resolves to such.
13
- *
14
- * @since 3.17.0 - proposed state
15
- */
16
- var InlineValuesRequest;
17
- (function (InlineValuesRequest) {
18
- InlineValuesRequest.method = 'textDocument/inlineValues';
19
- InlineValuesRequest.type = new messages_1.ProtocolRequestType(InlineValuesRequest.method);
20
- })(InlineValuesRequest = exports.InlineValuesRequest || (exports.InlineValuesRequest = {}));
21
- /**
22
- * @since 3.17.0 - proposed state
23
- */
24
- var InlineValuesRefreshRequest;
25
- (function (InlineValuesRefreshRequest) {
26
- InlineValuesRefreshRequest.method = `workspace/inlineValues/refresh`;
27
- InlineValuesRefreshRequest.type = new messages_1.ProtocolRequestType0(InlineValuesRefreshRequest.method);
28
- })(InlineValuesRefreshRequest = exports.InlineValuesRefreshRequest || (exports.InlineValuesRefreshRequest = {}));
29
- //# sourceMappingURL=proposed.inlineValue.js.map