vscode-languageserver-protocol 3.17.0-next.14 → 3.17.0-next.17

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 +1 -22
  2. package/lib/common/api.js +1 -10
  3. package/lib/common/connection.d.ts +26 -2
  4. package/lib/common/proposed.diagnostic.d.ts +93 -68
  5. package/lib/common/proposed.diagnostic.js +12 -7
  6. package/lib/common/{proposed.notebooks.d.ts → proposed.notebook.d.ts} +81 -114
  7. package/lib/common/{proposed.notebooks.js → proposed.notebook.js} +28 -56
  8. package/lib/common/protocol.callHierarchy.d.ts +1 -1
  9. package/lib/common/protocol.colorProvider.d.ts +1 -1
  10. package/lib/common/protocol.configuration.d.ts +1 -14
  11. package/lib/common/protocol.configuration.js +1 -0
  12. package/lib/common/protocol.d.ts +266 -102
  13. package/lib/common/protocol.declaration.d.ts +2 -2
  14. package/lib/common/protocol.declaration.js +2 -2
  15. package/lib/common/protocol.foldingRange.d.ts +2 -19
  16. package/lib/common/protocol.foldingRange.js +1 -19
  17. package/lib/common/protocol.implementation.d.ts +2 -2
  18. package/lib/common/protocol.implementation.js +2 -2
  19. package/lib/common/protocol.inlayHint.d.ts +115 -0
  20. package/lib/common/protocol.inlayHint.js +44 -0
  21. package/lib/common/protocol.inlineValue.d.ts +91 -0
  22. package/lib/common/protocol.inlineValue.js +31 -0
  23. package/lib/common/protocol.js +71 -15
  24. package/lib/common/protocol.linkedEditingRange.d.ts +2 -2
  25. package/lib/common/protocol.moniker.d.ts +13 -11
  26. package/lib/common/protocol.moniker.js +8 -8
  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} +28 -22
  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 -86
  39. package/lib/common/proposed.inlineValue.js +0 -29
@@ -1,86 +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 interface 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 interface 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 interface InlineValuesOptions extends WorkDoneProgressOptions {
39
- }
40
- /**
41
- * Inline value options used during static or dynamic registration.
42
- *
43
- * @since 3.17.0 - proposed state
44
- */
45
- export interface InlineValuesRegistrationOptions extends InlineValuesOptions, TextDocumentRegistrationOptions, StaticRegistrationOptions {
46
- }
47
- /**
48
- * A parameter literal used in inline values requests.
49
- *
50
- * @since 3.17.0 - proposed state
51
- */
52
- export interface InlineValuesParams extends WorkDoneProgressParams {
53
- /**
54
- * The text document.
55
- */
56
- textDocument: TextDocumentIdentifier;
57
- /**
58
- * The visible document range for which inline values should be computed.
59
- */
60
- viewPort: Range;
61
- /**
62
- * Additional information about the context in which inline values were
63
- * requested.
64
- */
65
- context: InlineValuesContext;
66
- }
67
- /**
68
- * A request to provide inline values in a document. The request's parameter is of
69
- * type [InlineValuesParams](#InlineValuesParams), the response is of type
70
- * [InlineValue[]](#InlineValue[]) or a Thenable that resolves to such.
71
- *
72
- * @since 3.17.0 - proposed state
73
- */
74
- export declare namespace InlineValuesRequest {
75
- const method: 'textDocument/inlineValues';
76
- const type: ProtocolRequestType<InlineValuesParams, InlineValue[] | null, InlineValue[], any, InlineValuesRegistrationOptions>;
77
- type HandlerSignature = RequestHandler<InlineValuesParams, InlineValue[] | null, void>;
78
- }
79
- /**
80
- * @since 3.17.0 - proposed state
81
- */
82
- export declare namespace InlineValuesRefreshRequest {
83
- const method: `workspace/inlineValues/refresh`;
84
- const type: ProtocolRequestType0<void, void, void, void>;
85
- type HandlerSignature = RequestHandler0<void, void>;
86
- }
@@ -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