vscode-languageserver-protocol 3.17.0-next.16 → 3.17.0-next.19

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 (30) hide show
  1. package/lib/common/api.d.ts +0 -52
  2. package/lib/common/api.js +1 -19
  3. package/lib/common/connection.d.ts +26 -2
  4. package/lib/common/protocol.$.d.ts +8 -0
  5. package/lib/common/protocol.$.js +19 -0
  6. package/lib/common/protocol.d.ts +250 -50
  7. package/lib/common/{proposed.diagnostic.d.ts → protocol.diagnostic.d.ts} +79 -38
  8. package/lib/common/{proposed.diagnostic.js → protocol.diagnostic.js} +13 -8
  9. package/lib/common/protocol.foldingRange.d.ts +42 -26
  10. package/lib/common/protocol.foldingRange.js +1 -19
  11. package/lib/common/protocol.implementation.d.ts +1 -1
  12. package/lib/common/protocol.implementation.js +2 -2
  13. package/lib/common/protocol.inlayHint.d.ts +17 -9
  14. package/lib/common/protocol.inlayHint.js +6 -3
  15. package/lib/common/protocol.inlineValue.d.ts +15 -8
  16. package/lib/common/protocol.inlineValue.js +4 -2
  17. package/lib/common/protocol.js +71 -12
  18. package/lib/common/protocol.linkedEditingRange.d.ts +1 -1
  19. package/lib/common/protocol.moniker.d.ts +12 -10
  20. package/lib/common/protocol.moniker.js +8 -8
  21. package/lib/common/{proposed.notebook.d.ts → protocol.notebook.d.ts} +34 -37
  22. package/lib/common/{proposed.notebook.js → protocol.notebook.js} +9 -5
  23. package/lib/common/protocol.progress.d.ts +2 -0
  24. package/lib/common/protocol.progress.js +4 -2
  25. package/lib/common/protocol.selectionRange.d.ts +1 -1
  26. package/lib/common/protocol.typeHierarchy.d.ts +18 -9
  27. package/lib/common/protocol.typeHierarchy.js +6 -3
  28. package/lib/common/protocol.workspaceFolder.d.ts +1 -11
  29. package/metaModel.schema.json +705 -0
  30. package/package.json +3 -3
@@ -3,7 +3,8 @@ import { TypeHierarchyItem } from 'vscode-languageserver-types';
3
3
  import { ProtocolRequestType } from './messages';
4
4
  import type { TextDocumentRegistrationOptions, StaticRegistrationOptions, TextDocumentPositionParams, PartialResultParams, WorkDoneProgressParams, WorkDoneProgressOptions } from './protocol';
5
5
  /**
6
- * @since 3.17.0 - proposed state
6
+ * @since 3.17.0
7
+ * @proposed
7
8
  */
8
9
  export declare type TypeHierarchyClientCapabilities = {
9
10
  /**
@@ -16,26 +17,30 @@ export declare type TypeHierarchyClientCapabilities = {
16
17
  /**
17
18
  * Type hierarchy options used during static registration.
18
19
  *
19
- * @since 3.17.0 - proposed state
20
+ * @since 3.17.0
21
+ * @proposed
20
22
  */
21
23
  export declare type TypeHierarchyOptions = WorkDoneProgressOptions;
22
24
  /**
23
25
  * Type hierarchy options used during static or dynamic registration.
24
26
  *
25
- * @since 3.17.0 - proposed state
27
+ * @since 3.17.0
28
+ * @proposed
26
29
  */
27
30
  export declare type TypeHierarchyRegistrationOptions = TextDocumentRegistrationOptions & TypeHierarchyOptions & StaticRegistrationOptions;
28
31
  /**
29
32
  * The parameter of a `textDocument/prepareTypeHierarchy` request.
30
33
  *
31
- * @since 3.17.0 - proposed state
34
+ * @since 3.17.0
35
+ * @proposed
32
36
  */
33
37
  export declare type TypeHierarchyPrepareParams = TextDocumentPositionParams & WorkDoneProgressParams;
34
38
  /**
35
39
  * A request to result a `TypeHierarchyItem` in a document at a given position.
36
40
  * Can be used as an input to a subtypes or supertypes type hierarchy.
37
41
  *
38
- * @since 3.17.0 - proposed state
42
+ * @since 3.17.0
43
+ * @proposed
39
44
  */
40
45
  export declare namespace TypeHierarchyPrepareRequest {
41
46
  const method: 'textDocument/prepareTypeHierarchy';
@@ -45,7 +50,8 @@ export declare namespace TypeHierarchyPrepareRequest {
45
50
  /**
46
51
  * The parameter of a `typeHierarchy/supertypes` request.
47
52
  *
48
- * @since 3.17.0 - proposed state
53
+ * @since 3.17.0
54
+ * @proposed
49
55
  */
50
56
  export declare type TypeHierarchySupertypesParams = WorkDoneProgressParams & PartialResultParams & {
51
57
  item: TypeHierarchyItem;
@@ -53,7 +59,8 @@ export declare type TypeHierarchySupertypesParams = WorkDoneProgressParams & Par
53
59
  /**
54
60
  * A request to resolve the supertypes for a given `TypeHierarchyItem`.
55
61
  *
56
- * @since 3.17.0 - proposed state
62
+ * @since 3.17.0
63
+ * @proposed
57
64
  */
58
65
  export declare namespace TypeHierarchySupertypesRequest {
59
66
  const method: 'typeHierarchy/supertypes';
@@ -63,7 +70,8 @@ export declare namespace TypeHierarchySupertypesRequest {
63
70
  /**
64
71
  * The parameter of a `typeHierarchy/subtypes` request.
65
72
  *
66
- * @since 3.17.0 - proposed state
73
+ * @since 3.17.0
74
+ * @proposed
67
75
  */
68
76
  export declare type TypeHierarchySubtypesParams = WorkDoneProgressParams & PartialResultParams & {
69
77
  item: TypeHierarchyItem;
@@ -71,7 +79,8 @@ export declare type TypeHierarchySubtypesParams = WorkDoneProgressParams & Parti
71
79
  /**
72
80
  * A request to resolve the subtypes for a given `TypeHierarchyItem`.
73
81
  *
74
- * @since 3.17.0 - proposed state
82
+ * @since 3.17.0
83
+ * @proposed
75
84
  */
76
85
  export declare namespace TypeHierarchySubtypesRequest {
77
86
  const method: 'typeHierarchy/subtypes';
@@ -10,7 +10,8 @@ const messages_1 = require("./messages");
10
10
  * A request to result a `TypeHierarchyItem` in a document at a given position.
11
11
  * Can be used as an input to a subtypes or supertypes type hierarchy.
12
12
  *
13
- * @since 3.17.0 - proposed state
13
+ * @since 3.17.0
14
+ * @proposed
14
15
  */
15
16
  var TypeHierarchyPrepareRequest;
16
17
  (function (TypeHierarchyPrepareRequest) {
@@ -20,7 +21,8 @@ var TypeHierarchyPrepareRequest;
20
21
  /**
21
22
  * A request to resolve the supertypes for a given `TypeHierarchyItem`.
22
23
  *
23
- * @since 3.17.0 - proposed state
24
+ * @since 3.17.0
25
+ * @proposed
24
26
  */
25
27
  var TypeHierarchySupertypesRequest;
26
28
  (function (TypeHierarchySupertypesRequest) {
@@ -30,7 +32,8 @@ var TypeHierarchySupertypesRequest;
30
32
  /**
31
33
  * A request to resolve the subtypes for a given `TypeHierarchyItem`.
32
34
  *
33
- * @since 3.17.0 - proposed state
35
+ * @since 3.17.0
36
+ * @proposed
34
37
  */
35
38
  var TypeHierarchySubtypesRequest;
36
39
  (function (TypeHierarchySubtypesRequest) {
@@ -1,3 +1,4 @@
1
+ import { WorkspaceFolder } from 'vscode-languageserver-types';
1
2
  import { RequestHandler0, NotificationHandler, HandlerResult, CancellationToken } from 'vscode-jsonrpc';
2
3
  import { ProtocolRequestType0, ProtocolNotificationType } from './messages';
3
4
  export interface WorkspaceFoldersInitializeParams {
@@ -22,17 +23,6 @@ export interface WorkspaceFoldersServerCapabilities {
22
23
  */
23
24
  changeNotifications?: string | boolean;
24
25
  }
25
- export interface WorkspaceFolder {
26
- /**
27
- * The associated URI for this workspace folder.
28
- */
29
- uri: string;
30
- /**
31
- * The name of the workspace folder. Used to refer to this
32
- * workspace folder in the user interface.
33
- */
34
- name: string;
35
- }
36
26
  /**
37
27
  * The `workspace/workspaceFolders` is sent from the server to the client to fetch the open workspace folders.
38
28
  */