vscode-languageserver-protocol 3.17.3-next.2 → 3.17.3-next.4

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 (42) hide show
  1. package/lib/browser/main.js +0 -1
  2. package/lib/common/api.js +0 -1
  3. package/lib/common/connection.d.ts +13 -13
  4. package/lib/common/connection.js +0 -1
  5. package/lib/common/messages.js +0 -1
  6. package/lib/common/protocol.$.js +0 -1
  7. package/lib/common/protocol.callHierarchy.js +0 -1
  8. package/lib/common/protocol.colorProvider.d.ts +6 -6
  9. package/lib/common/protocol.colorProvider.js +4 -5
  10. package/lib/common/protocol.configuration.js +0 -1
  11. package/lib/common/protocol.d.ts +98 -98
  12. package/lib/common/protocol.declaration.d.ts +2 -2
  13. package/lib/common/protocol.declaration.js +2 -3
  14. package/lib/common/protocol.diagnostic.js +1 -2
  15. package/lib/common/protocol.fileOperations.d.ts +4 -0
  16. package/lib/common/protocol.fileOperations.js +4 -1
  17. package/lib/common/protocol.foldingRange.d.ts +3 -3
  18. package/lib/common/protocol.foldingRange.js +2 -3
  19. package/lib/common/protocol.implementation.d.ts +1 -1
  20. package/lib/common/protocol.implementation.js +1 -2
  21. package/lib/common/protocol.inlayHint.d.ts +4 -4
  22. package/lib/common/protocol.inlayHint.js +5 -6
  23. package/lib/common/protocol.inlineValue.d.ts +2 -2
  24. package/lib/common/protocol.inlineValue.js +3 -4
  25. package/lib/common/protocol.js +30 -31
  26. package/lib/common/protocol.linkedEditingRange.js +0 -1
  27. package/lib/common/protocol.moniker.d.ts +2 -2
  28. package/lib/common/protocol.moniker.js +2 -3
  29. package/lib/common/protocol.notebook.js +0 -1
  30. package/lib/common/protocol.progress.js +0 -1
  31. package/lib/common/protocol.selectionRange.d.ts +2 -2
  32. package/lib/common/protocol.selectionRange.js +2 -3
  33. package/lib/common/protocol.semanticTokens.js +1 -2
  34. package/lib/common/protocol.showDocument.js +0 -1
  35. package/lib/common/protocol.typeDefinition.d.ts +1 -1
  36. package/lib/common/protocol.typeDefinition.js +1 -2
  37. package/lib/common/protocol.typeHierarchy.js +0 -1
  38. package/lib/common/protocol.workspaceFolder.js +0 -1
  39. package/lib/common/utils/is.js +0 -1
  40. package/lib/node/main.js +0 -1
  41. package/metaModel.schema.json +32 -0
  42. package/package.json +8 -6
@@ -26,8 +26,8 @@ export interface DeclarationParams extends TextDocumentPositionParams, WorkDoneP
26
26
  /**
27
27
  * A request to resolve the type definition locations of a symbol at a given text
28
28
  * document position. The request's parameter is of type [TextDocumentPositionParams]
29
- * (#TextDocumentPositionParams) the response is of type [Declaration](#Declaration)
30
- * or a typed array of [DeclarationLink](#DeclarationLink) or a Thenable that resolves
29
+ * (#TextDocumentPositionParams) the response is of type {@link Declaration}
30
+ * or a typed array of {@link DeclarationLink} or a Thenable that resolves
31
31
  * to such.
32
32
  */
33
33
  export declare namespace DeclarationRequest {
@@ -11,8 +11,8 @@ let __noDynamicImport;
11
11
  /**
12
12
  * A request to resolve the type definition locations of a symbol at a given text
13
13
  * document position. The request's parameter is of type [TextDocumentPositionParams]
14
- * (#TextDocumentPositionParams) the response is of type [Declaration](#Declaration)
15
- * or a typed array of [DeclarationLink](#DeclarationLink) or a Thenable that resolves
14
+ * (#TextDocumentPositionParams) the response is of type {@link Declaration}
15
+ * or a typed array of {@link DeclarationLink} or a Thenable that resolves
16
16
  * to such.
17
17
  */
18
18
  var DeclarationRequest;
@@ -21,4 +21,3 @@ var DeclarationRequest;
21
21
  DeclarationRequest.messageDirection = messages_1.MessageDirection.clientToServer;
22
22
  DeclarationRequest.type = new messages_1.ProtocolRequestType(DeclarationRequest.method);
23
23
  })(DeclarationRequest = exports.DeclarationRequest || (exports.DeclarationRequest = {}));
24
- //# sourceMappingURL=protocol.declaration.js.map
@@ -69,7 +69,6 @@ var WorkspaceDiagnosticRequest;
69
69
  var DiagnosticRefreshRequest;
70
70
  (function (DiagnosticRefreshRequest) {
71
71
  DiagnosticRefreshRequest.method = `workspace/diagnostic/refresh`;
72
- DiagnosticRefreshRequest.messageDirection = messages_1.MessageDirection.clientToServer;
72
+ DiagnosticRefreshRequest.messageDirection = messages_1.MessageDirection.serverToClient;
73
73
  DiagnosticRefreshRequest.type = new messages_1.ProtocolRequestType0(DiagnosticRefreshRequest.method);
74
74
  })(DiagnosticRefreshRequest = exports.DiagnosticRefreshRequest || (exports.DiagnosticRefreshRequest = {}));
75
- //# sourceMappingURL=protocol.diagnostic.js.map
@@ -231,6 +231,10 @@ export interface FileDelete {
231
231
  * The will create files request is sent from the client to the server before files are actually
232
232
  * created as long as the creation is triggered from within the client.
233
233
  *
234
+ * The request can return a `WorkspaceEdit` which will be applied to workspace before the
235
+ * files are created. Hence the `WorkspaceEdit` can not manipulate the content of the file
236
+ * to be created.
237
+ *
234
238
  * @since 3.16.0
235
239
  */
236
240
  export declare namespace WillCreateFilesRequest {
@@ -27,6 +27,10 @@ var FileOperationPatternKind;
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.
29
29
  *
30
+ * The request can return a `WorkspaceEdit` which will be applied to workspace before the
31
+ * files are created. Hence the `WorkspaceEdit` can not manipulate the content of the file
32
+ * to be created.
33
+ *
30
34
  * @since 3.16.0
31
35
  */
32
36
  var WillCreateFilesRequest;
@@ -95,4 +99,3 @@ var WillDeleteFilesRequest;
95
99
  WillDeleteFilesRequest.messageDirection = messages_1.MessageDirection.clientToServer;
96
100
  WillDeleteFilesRequest.type = new messages_1.ProtocolRequestType(WillDeleteFilesRequest.method);
97
101
  })(WillDeleteFilesRequest = exports.WillDeleteFilesRequest || (exports.WillDeleteFilesRequest = {}));
98
- //# sourceMappingURL=protocol.fileOperations.js.map
@@ -56,7 +56,7 @@ export interface FoldingRangeOptions extends WorkDoneProgressOptions {
56
56
  export interface FoldingRangeRegistrationOptions extends TextDocumentRegistrationOptions, FoldingRangeOptions, StaticRegistrationOptions {
57
57
  }
58
58
  /**
59
- * Parameters for a [FoldingRangeRequest](#FoldingRangeRequest).
59
+ * Parameters for a {@link FoldingRangeRequest}.
60
60
  */
61
61
  export interface FoldingRangeParams extends WorkDoneProgressParams, PartialResultParams {
62
62
  /**
@@ -66,8 +66,8 @@ export interface FoldingRangeParams extends WorkDoneProgressParams, PartialResul
66
66
  }
67
67
  /**
68
68
  * A request to provide folding ranges in a document. The request's
69
- * parameter is of type [FoldingRangeParams](#FoldingRangeParams), the
70
- * response is of type [FoldingRangeList](#FoldingRangeList) or a Thenable
69
+ * parameter is of type {@link FoldingRangeParams}, the
70
+ * response is of type {@link FoldingRangeList} or a Thenable
71
71
  * that resolves to such.
72
72
  */
73
73
  export declare namespace FoldingRangeRequest {
@@ -8,8 +8,8 @@ exports.FoldingRangeRequest = void 0;
8
8
  const messages_1 = require("./messages");
9
9
  /**
10
10
  * A request to provide folding ranges in a document. The request's
11
- * parameter is of type [FoldingRangeParams](#FoldingRangeParams), the
12
- * response is of type [FoldingRangeList](#FoldingRangeList) or a Thenable
11
+ * parameter is of type {@link FoldingRangeParams}, the
12
+ * response is of type {@link FoldingRangeList} or a Thenable
13
13
  * that resolves to such.
14
14
  */
15
15
  var FoldingRangeRequest;
@@ -18,4 +18,3 @@ var FoldingRangeRequest;
18
18
  FoldingRangeRequest.messageDirection = messages_1.MessageDirection.clientToServer;
19
19
  FoldingRangeRequest.type = new messages_1.ProtocolRequestType(FoldingRangeRequest.method);
20
20
  })(FoldingRangeRequest = exports.FoldingRangeRequest || (exports.FoldingRangeRequest = {}));
21
- //# sourceMappingURL=protocol.foldingRange.js.map
@@ -28,7 +28,7 @@ export interface ImplementationParams extends TextDocumentPositionParams, WorkDo
28
28
  /**
29
29
  * A request to resolve the implementation locations of a symbol at a given text
30
30
  * document position. The request's parameter is of type [TextDocumentPositionParams]
31
- * (#TextDocumentPositionParams) the response is of type [Definition](#Definition) or a
31
+ * (#TextDocumentPositionParams) the response is of type {@link Definition} or a
32
32
  * Thenable that resolves to such.
33
33
  */
34
34
  export declare namespace ImplementationRequest {
@@ -11,7 +11,7 @@ let __noDynamicImport;
11
11
  /**
12
12
  * A request to resolve the implementation locations of a symbol at a given text
13
13
  * document position. The request's parameter is of type [TextDocumentPositionParams]
14
- * (#TextDocumentPositionParams) the response is of type [Definition](#Definition) or a
14
+ * (#TextDocumentPositionParams) the response is of type {@link Definition} or a
15
15
  * Thenable that resolves to such.
16
16
  */
17
17
  var ImplementationRequest;
@@ -20,4 +20,3 @@ var ImplementationRequest;
20
20
  ImplementationRequest.messageDirection = messages_1.MessageDirection.clientToServer;
21
21
  ImplementationRequest.type = new messages_1.ProtocolRequestType(ImplementationRequest.method);
22
22
  })(ImplementationRequest = exports.ImplementationRequest || (exports.ImplementationRequest = {}));
23
- //# sourceMappingURL=protocol.implementation.js.map
@@ -75,8 +75,8 @@ export declare type InlayHintParams = WorkDoneProgressParams & {
75
75
  };
76
76
  /**
77
77
  * A request to provide inlay hints in a document. The request's parameter is of
78
- * type [InlayHintsParams](#InlayHintsParams), the response is of type
79
- * [InlayHint[]](#InlayHint[]) or a Thenable that resolves to such.
78
+ * type {@link InlayHintsParams}, the response is of type
79
+ * {@link InlayHint InlayHint[]} or a Thenable that resolves to such.
80
80
  *
81
81
  * @since 3.17.0
82
82
  */
@@ -88,8 +88,8 @@ export declare namespace InlayHintRequest {
88
88
  }
89
89
  /**
90
90
  * A request to resolve additional properties for an inlay hint.
91
- * The request's parameter is of type [InlayHint](#InlayHint), the response is
92
- * of type [InlayHint](#InlayHint) or a Thenable that resolves to such.
91
+ * The request's parameter is of type {@link InlayHint}, the response is
92
+ * of type {@link InlayHint} or a Thenable that resolves to such.
93
93
  *
94
94
  * @since 3.17.0
95
95
  */
@@ -8,8 +8,8 @@ exports.InlayHintRefreshRequest = exports.InlayHintResolveRequest = exports.Inla
8
8
  const messages_1 = require("./messages");
9
9
  /**
10
10
  * A request to provide inlay hints in a document. The request's parameter is of
11
- * type [InlayHintsParams](#InlayHintsParams), the response is of type
12
- * [InlayHint[]](#InlayHint[]) or a Thenable that resolves to such.
11
+ * type {@link InlayHintsParams}, the response is of type
12
+ * {@link InlayHint InlayHint[]} or a Thenable that resolves to such.
13
13
  *
14
14
  * @since 3.17.0
15
15
  */
@@ -21,8 +21,8 @@ var InlayHintRequest;
21
21
  })(InlayHintRequest = exports.InlayHintRequest || (exports.InlayHintRequest = {}));
22
22
  /**
23
23
  * A request to resolve additional properties for an inlay hint.
24
- * The request's parameter is of type [InlayHint](#InlayHint), the response is
25
- * of type [InlayHint](#InlayHint) or a Thenable that resolves to such.
24
+ * The request's parameter is of type {@link InlayHint}, the response is
25
+ * of type {@link InlayHint} or a Thenable that resolves to such.
26
26
  *
27
27
  * @since 3.17.0
28
28
  */
@@ -38,7 +38,6 @@ var InlayHintResolveRequest;
38
38
  var InlayHintRefreshRequest;
39
39
  (function (InlayHintRefreshRequest) {
40
40
  InlayHintRefreshRequest.method = `workspace/inlayHint/refresh`;
41
- InlayHintRefreshRequest.messageDirection = messages_1.MessageDirection.clientToServer;
41
+ InlayHintRefreshRequest.messageDirection = messages_1.MessageDirection.serverToClient;
42
42
  InlayHintRefreshRequest.type = new messages_1.ProtocolRequestType0(InlayHintRefreshRequest.method);
43
43
  })(InlayHintRefreshRequest = exports.InlayHintRefreshRequest || (exports.InlayHintRefreshRequest = {}));
44
- //# sourceMappingURL=protocol.inlayHint.js.map
@@ -64,8 +64,8 @@ export declare type InlineValueParams = WorkDoneProgressParams & {
64
64
  };
65
65
  /**
66
66
  * A request to provide inline values in a document. The request's parameter is of
67
- * type [InlineValueParams](#InlineValueParams), the response is of type
68
- * [InlineValue[]](#InlineValue[]) or a Thenable that resolves to such.
67
+ * type {@link InlineValueParams}, the response is of type
68
+ * {@link InlineValue InlineValue[]} or a Thenable that resolves to such.
69
69
  *
70
70
  * @since 3.17.0
71
71
  */
@@ -8,8 +8,8 @@ exports.InlineValueRefreshRequest = exports.InlineValueRequest = void 0;
8
8
  const messages_1 = require("./messages");
9
9
  /**
10
10
  * A request to provide inline values in a document. The request's parameter is of
11
- * type [InlineValueParams](#InlineValueParams), the response is of type
12
- * [InlineValue[]](#InlineValue[]) or a Thenable that resolves to such.
11
+ * type {@link InlineValueParams}, the response is of type
12
+ * {@link InlineValue InlineValue[]} or a Thenable that resolves to such.
13
13
  *
14
14
  * @since 3.17.0
15
15
  */
@@ -25,7 +25,6 @@ var InlineValueRequest;
25
25
  var InlineValueRefreshRequest;
26
26
  (function (InlineValueRefreshRequest) {
27
27
  InlineValueRefreshRequest.method = `workspace/inlineValue/refresh`;
28
- InlineValueRefreshRequest.messageDirection = messages_1.MessageDirection.clientToServer;
28
+ InlineValueRefreshRequest.messageDirection = messages_1.MessageDirection.serverToClient;
29
29
  InlineValueRefreshRequest.type = new messages_1.ProtocolRequestType0(InlineValueRefreshRequest.method);
30
30
  })(InlineValueRefreshRequest = exports.InlineValueRefreshRequest || (exports.InlineValueRefreshRequest = {}));
31
- //# sourceMappingURL=protocol.inlineValue.js.map
@@ -91,7 +91,7 @@ Object.defineProperty(exports, "DidCloseNotebookDocumentNotification", { enumera
91
91
  let __noDynamicImport;
92
92
  /**
93
93
  * The TextDocumentFilter namespace provides helper functions to work with
94
- * [TextDocumentFilter](#TextDocumentFilter) literals.
94
+ * {@link TextDocumentFilter} literals.
95
95
  *
96
96
  * @since 3.17.0
97
97
  */
@@ -105,7 +105,7 @@ var TextDocumentFilter;
105
105
  })(TextDocumentFilter = exports.TextDocumentFilter || (exports.TextDocumentFilter = {}));
106
106
  /**
107
107
  * The NotebookDocumentFilter namespace provides helper functions to work with
108
- * [NotebookDocumentFilter](#NotebookDocumentFilter) literals.
108
+ * {@link NotebookDocumentFilter} literals.
109
109
  *
110
110
  * @since 3.17.0
111
111
  */
@@ -119,7 +119,7 @@ var NotebookDocumentFilter;
119
119
  })(NotebookDocumentFilter = exports.NotebookDocumentFilter || (exports.NotebookDocumentFilter = {}));
120
120
  /**
121
121
  * The NotebookCellTextDocumentFilter namespace provides helper functions to work with
122
- * [NotebookCellTextDocumentFilter](#NotebookCellTextDocumentFilter) literals.
122
+ * {@link NotebookCellTextDocumentFilter} literals.
123
123
  *
124
124
  * @since 3.17.0
125
125
  */
@@ -135,7 +135,7 @@ var NotebookCellTextDocumentFilter;
135
135
  })(NotebookCellTextDocumentFilter = exports.NotebookCellTextDocumentFilter || (exports.NotebookCellTextDocumentFilter = {}));
136
136
  /**
137
137
  * The DocumentSelector namespace provides helper functions to work with
138
- * [DocumentSelector](#DocumentSelector)s.
138
+ * {@link DocumentSelector}s.
139
139
  */
140
140
  var DocumentSelector;
141
141
  (function (DocumentSelector) {
@@ -240,7 +240,7 @@ var PositionEncodingKind;
240
240
  })(PositionEncodingKind = exports.PositionEncodingKind || (exports.PositionEncodingKind = {}));
241
241
  /**
242
242
  * The StaticRegistrationOptions namespace provides helper functions to work with
243
- * [StaticRegistrationOptions](#StaticRegistrationOptions) literals.
243
+ * {@link StaticRegistrationOptions} literals.
244
244
  */
245
245
  var StaticRegistrationOptions;
246
246
  (function (StaticRegistrationOptions) {
@@ -252,7 +252,7 @@ var StaticRegistrationOptions;
252
252
  })(StaticRegistrationOptions = exports.StaticRegistrationOptions || (exports.StaticRegistrationOptions = {}));
253
253
  /**
254
254
  * The TextDocumentRegistrationOptions namespace provides helper functions to work with
255
- * [TextDocumentRegistrationOptions](#TextDocumentRegistrationOptions) literals.
255
+ * {@link TextDocumentRegistrationOptions} literals.
256
256
  */
257
257
  var TextDocumentRegistrationOptions;
258
258
  (function (TextDocumentRegistrationOptions) {
@@ -264,7 +264,7 @@ var TextDocumentRegistrationOptions;
264
264
  })(TextDocumentRegistrationOptions = exports.TextDocumentRegistrationOptions || (exports.TextDocumentRegistrationOptions = {}));
265
265
  /**
266
266
  * The WorkDoneProgressOptions namespace provides helper functions to work with
267
- * [WorkDoneProgressOptions](#WorkDoneProgressOptions) literals.
267
+ * {@link WorkDoneProgressOptions} literals.
268
268
  */
269
269
  var WorkDoneProgressOptions;
270
270
  (function (WorkDoneProgressOptions) {
@@ -282,8 +282,8 @@ var WorkDoneProgressOptions;
282
282
  /**
283
283
  * The initialize request is sent from the client to the server.
284
284
  * It is sent once as the request after starting up the server.
285
- * The requests parameter is of type [InitializeParams](#InitializeParams)
286
- * the response if of type [InitializeResult](#InitializeResult) of a Thenable that
285
+ * The requests parameter is of type {@link InitializeParams}
286
+ * the response if of type {@link InitializeResult} of a Thenable that
287
287
  * resolves to such.
288
288
  */
289
289
  var InitializeRequest;
@@ -636,12 +636,12 @@ var CompletionTriggerKind;
636
636
  })(CompletionTriggerKind = exports.CompletionTriggerKind || (exports.CompletionTriggerKind = {}));
637
637
  /**
638
638
  * Request to request completion at a given text document position. The request's
639
- * parameter is of type [TextDocumentPosition](#TextDocumentPosition) the response
640
- * is of type [CompletionItem[]](#CompletionItem) or [CompletionList](#CompletionList)
639
+ * parameter is of type {@link TextDocumentPosition} the response
640
+ * is of type {@link CompletionItem CompletionItem[]} or {@link CompletionList}
641
641
  * or a Thenable that resolves to such.
642
642
  *
643
- * The request can delay the computation of the [`detail`](#CompletionItem.detail)
644
- * and [`documentation`](#CompletionItem.documentation) properties to the `completionItem/resolve`
643
+ * The request can delay the computation of the {@link CompletionItem.detail `detail`}
644
+ * and {@link CompletionItem.documentation `documentation`} properties to the `completionItem/resolve`
645
645
  * request. However, properties that are needed for the initial sorting and filtering, like `sortText`,
646
646
  * `filterText`, `insertText`, and `textEdit`, must not be changed during resolve.
647
647
  */
@@ -653,8 +653,8 @@ var CompletionRequest;
653
653
  })(CompletionRequest = exports.CompletionRequest || (exports.CompletionRequest = {}));
654
654
  /**
655
655
  * Request to resolve additional information for a given completion item.The request's
656
- * parameter is of type [CompletionItem](#CompletionItem) the response
657
- * is of type [CompletionItem](#CompletionItem) or a Thenable that resolves to such.
656
+ * parameter is of type {@link CompletionItem} the response
657
+ * is of type {@link CompletionItem} or a Thenable that resolves to such.
658
658
  */
659
659
  var CompletionResolveRequest;
660
660
  (function (CompletionResolveRequest) {
@@ -664,8 +664,8 @@ var CompletionResolveRequest;
664
664
  })(CompletionResolveRequest = exports.CompletionResolveRequest || (exports.CompletionResolveRequest = {}));
665
665
  /**
666
666
  * Request to request hover information at a given text document position. The request's
667
- * parameter is of type [TextDocumentPosition](#TextDocumentPosition) the response is of
668
- * type [Hover](#Hover) or a Thenable that resolves to such.
667
+ * parameter is of type {@link TextDocumentPosition} the response is of
668
+ * type {@link Hover} or a Thenable that resolves to such.
669
669
  */
670
670
  var HoverRequest;
671
671
  (function (HoverRequest) {
@@ -702,8 +702,8 @@ var SignatureHelpRequest;
702
702
  /**
703
703
  * A request to resolve the definition location of a symbol at a given text
704
704
  * document position. The request's parameter is of type [TextDocumentPosition]
705
- * (#TextDocumentPosition) the response is of either type [Definition](#Definition)
706
- * or a typed array of [DefinitionLink](#DefinitionLink) or a Thenable that resolves
705
+ * (#TextDocumentPosition) the response is of either type {@link Definition}
706
+ * or a typed array of {@link DefinitionLink} or a Thenable that resolves
707
707
  * to such.
708
708
  */
709
709
  var DefinitionRequest;
@@ -715,8 +715,8 @@ var DefinitionRequest;
715
715
  /**
716
716
  * A request to resolve project-wide references for the symbol denoted
717
717
  * by the given text document position. The request's parameter is of
718
- * type [ReferenceParams](#ReferenceParams) the response is of type
719
- * [Location[]](#Location) or a Thenable that resolves to such.
718
+ * type {@link ReferenceParams} the response is of type
719
+ * {@link Location Location[]} or a Thenable that resolves to such.
720
720
  */
721
721
  var ReferencesRequest;
722
722
  (function (ReferencesRequest) {
@@ -725,7 +725,7 @@ var ReferencesRequest;
725
725
  ReferencesRequest.type = new messages_1.ProtocolRequestType(ReferencesRequest.method);
726
726
  })(ReferencesRequest = exports.ReferencesRequest || (exports.ReferencesRequest = {}));
727
727
  /**
728
- * Request to resolve a [DocumentHighlight](#DocumentHighlight) for a given
728
+ * Request to resolve a {@link DocumentHighlight} for a given
729
729
  * text document position. The request's parameter is of type [TextDocumentPosition]
730
730
  * (#TextDocumentPosition) the request response is of type [DocumentHighlight[]]
731
731
  * (#DocumentHighlight) or a Thenable that resolves to such.
@@ -738,8 +738,8 @@ var DocumentHighlightRequest;
738
738
  })(DocumentHighlightRequest = exports.DocumentHighlightRequest || (exports.DocumentHighlightRequest = {}));
739
739
  /**
740
740
  * A request to list all symbols found in a given text document. The request's
741
- * parameter is of type [TextDocumentIdentifier](#TextDocumentIdentifier) the
742
- * response is of type [SymbolInformation[]](#SymbolInformation) or a Thenable
741
+ * parameter is of type {@link TextDocumentIdentifier} the
742
+ * response is of type {@link SymbolInformation SymbolInformation[]} or a Thenable
743
743
  * that resolves to such.
744
744
  */
745
745
  var DocumentSymbolRequest;
@@ -759,8 +759,8 @@ var CodeActionRequest;
759
759
  })(CodeActionRequest = exports.CodeActionRequest || (exports.CodeActionRequest = {}));
760
760
  /**
761
761
  * Request to resolve additional information for a given code action.The request's
762
- * parameter is of type [CodeAction](#CodeAction) the response
763
- * is of type [CodeAction](#CodeAction) or a Thenable that resolves to such.
762
+ * parameter is of type {@link CodeAction} the response
763
+ * is of type {@link CodeAction} or a Thenable that resolves to such.
764
764
  */
765
765
  var CodeActionResolveRequest;
766
766
  (function (CodeActionResolveRequest) {
@@ -770,8 +770,8 @@ var CodeActionResolveRequest;
770
770
  })(CodeActionResolveRequest = exports.CodeActionResolveRequest || (exports.CodeActionResolveRequest = {}));
771
771
  /**
772
772
  * A request to list project-wide symbols matching the query string given
773
- * by the [WorkspaceSymbolParams](#WorkspaceSymbolParams). The response is
774
- * of type [SymbolInformation[]](#SymbolInformation) or a Thenable that
773
+ * by the {@link WorkspaceSymbolParams}. The response is
774
+ * of type {@link SymbolInformation SymbolInformation[]} or a Thenable that
775
775
  * resolves to such.
776
776
  *
777
777
  * @since 3.17.0 - support for WorkspaceSymbol in the returned data. Clients
@@ -837,8 +837,8 @@ var DocumentLinkRequest;
837
837
  })(DocumentLinkRequest = exports.DocumentLinkRequest || (exports.DocumentLinkRequest = {}));
838
838
  /**
839
839
  * Request to resolve additional information for a given document link. The request's
840
- * parameter is of type [DocumentLink](#DocumentLink) the response
841
- * is of type [DocumentLink](#DocumentLink) or a Thenable that resolves to such.
840
+ * parameter is of type {@link DocumentLink} the response
841
+ * is of type {@link DocumentLink} or a Thenable that resolves to such.
842
842
  */
843
843
  var DocumentLinkResolveRequest;
844
844
  (function (DocumentLinkResolveRequest) {
@@ -921,4 +921,3 @@ var ApplyWorkspaceEditRequest;
921
921
  ApplyWorkspaceEditRequest.messageDirection = messages_1.MessageDirection.serverToClient;
922
922
  ApplyWorkspaceEditRequest.type = new messages_1.ProtocolRequestType('workspace/applyEdit');
923
923
  })(ApplyWorkspaceEditRequest = exports.ApplyWorkspaceEditRequest || (exports.ApplyWorkspaceEditRequest = {}));
924
- //# sourceMappingURL=protocol.js.map
@@ -17,4 +17,3 @@ var LinkedEditingRangeRequest;
17
17
  LinkedEditingRangeRequest.messageDirection = messages_1.MessageDirection.clientToServer;
18
18
  LinkedEditingRangeRequest.type = new messages_1.ProtocolRequestType(LinkedEditingRangeRequest.method);
19
19
  })(LinkedEditingRangeRequest = exports.LinkedEditingRangeRequest || (exports.LinkedEditingRangeRequest = {}));
20
- //# sourceMappingURL=protocol.linkedEditingRange.js.map
@@ -96,8 +96,8 @@ export interface MonikerParams extends TextDocumentPositionParams, WorkDoneProgr
96
96
  }
97
97
  /**
98
98
  * A request to get the moniker of a symbol at a given text document position.
99
- * The request parameter is of type [TextDocumentPositionParams](#TextDocumentPositionParams).
100
- * The response is of type [Moniker[]](#Moniker[]) or `null`.
99
+ * The request parameter is of type {@link TextDocumentPositionParams}.
100
+ * The response is of type {@link Moniker Moniker[]} or `null`.
101
101
  */
102
102
  export declare namespace MonikerRequest {
103
103
  const method: 'textDocument/moniker';
@@ -57,8 +57,8 @@ var MonikerKind;
57
57
  })(MonikerKind = exports.MonikerKind || (exports.MonikerKind = {}));
58
58
  /**
59
59
  * A request to get the moniker of a symbol at a given text document position.
60
- * The request parameter is of type [TextDocumentPositionParams](#TextDocumentPositionParams).
61
- * The response is of type [Moniker[]](#Moniker[]) or `null`.
60
+ * The request parameter is of type {@link TextDocumentPositionParams}.
61
+ * The response is of type {@link Moniker Moniker[]} or `null`.
62
62
  */
63
63
  var MonikerRequest;
64
64
  (function (MonikerRequest) {
@@ -66,4 +66,3 @@ var MonikerRequest;
66
66
  MonikerRequest.messageDirection = messages_1.MessageDirection.clientToServer;
67
67
  MonikerRequest.type = new messages_1.ProtocolRequestType(MonikerRequest.method);
68
68
  })(MonikerRequest = exports.MonikerRequest || (exports.MonikerRequest = {}));
69
- //# sourceMappingURL=protocol.moniker.js.map
@@ -212,4 +212,3 @@ var DidCloseNotebookDocumentNotification;
212
212
  DidCloseNotebookDocumentNotification.type = new messages_1.ProtocolNotificationType(DidCloseNotebookDocumentNotification.method);
213
213
  DidCloseNotebookDocumentNotification.registrationMethod = NotebookDocumentSyncRegistrationType.method;
214
214
  })(DidCloseNotebookDocumentNotification = exports.DidCloseNotebookDocumentNotification || (exports.DidCloseNotebookDocumentNotification = {}));
215
- //# sourceMappingURL=protocol.notebook.js.map
@@ -35,4 +35,3 @@ var WorkDoneProgressCancelNotification;
35
35
  WorkDoneProgressCancelNotification.messageDirection = messages_1.MessageDirection.clientToServer;
36
36
  WorkDoneProgressCancelNotification.type = new messages_1.ProtocolNotificationType(WorkDoneProgressCancelNotification.method);
37
37
  })(WorkDoneProgressCancelNotification = exports.WorkDoneProgressCancelNotification || (exports.WorkDoneProgressCancelNotification = {}));
38
- //# sourceMappingURL=protocol.progress.js.map
@@ -29,8 +29,8 @@ export interface SelectionRangeParams extends WorkDoneProgressParams, PartialRes
29
29
  }
30
30
  /**
31
31
  * A request to provide selection ranges in a document. The request's
32
- * parameter is of type [SelectionRangeParams](#SelectionRangeParams), the
33
- * response is of type [SelectionRange[]](#SelectionRange[]) or a Thenable
32
+ * parameter is of type {@link SelectionRangeParams}, the
33
+ * response is of type {@link SelectionRange SelectionRange[]} or a Thenable
34
34
  * that resolves to such.
35
35
  */
36
36
  export declare namespace SelectionRangeRequest {
@@ -8,8 +8,8 @@ exports.SelectionRangeRequest = void 0;
8
8
  const messages_1 = require("./messages");
9
9
  /**
10
10
  * A request to provide selection ranges in a document. The request's
11
- * parameter is of type [SelectionRangeParams](#SelectionRangeParams), the
12
- * response is of type [SelectionRange[]](#SelectionRange[]) or a Thenable
11
+ * parameter is of type {@link SelectionRangeParams}, the
12
+ * response is of type {@link SelectionRange SelectionRange[]} or a Thenable
13
13
  * that resolves to such.
14
14
  */
15
15
  var SelectionRangeRequest;
@@ -18,4 +18,3 @@ var SelectionRangeRequest;
18
18
  SelectionRangeRequest.messageDirection = messages_1.MessageDirection.clientToServer;
19
19
  SelectionRangeRequest.type = new messages_1.ProtocolRequestType(SelectionRangeRequest.method);
20
20
  })(SelectionRangeRequest = exports.SelectionRangeRequest || (exports.SelectionRangeRequest = {}));
21
- //# sourceMappingURL=protocol.selectionRange.js.map
@@ -52,7 +52,6 @@ var SemanticTokensRangeRequest;
52
52
  var SemanticTokensRefreshRequest;
53
53
  (function (SemanticTokensRefreshRequest) {
54
54
  SemanticTokensRefreshRequest.method = `workspace/semanticTokens/refresh`;
55
- SemanticTokensRefreshRequest.messageDirection = messages_1.MessageDirection.clientToServer;
55
+ SemanticTokensRefreshRequest.messageDirection = messages_1.MessageDirection.serverToClient;
56
56
  SemanticTokensRefreshRequest.type = new messages_1.ProtocolRequestType0(SemanticTokensRefreshRequest.method);
57
57
  })(SemanticTokensRefreshRequest = exports.SemanticTokensRefreshRequest || (exports.SemanticTokensRefreshRequest = {}));
58
- //# sourceMappingURL=protocol.semanticTokens.js.map
@@ -20,4 +20,3 @@ var ShowDocumentRequest;
20
20
  ShowDocumentRequest.messageDirection = messages_1.MessageDirection.serverToClient;
21
21
  ShowDocumentRequest.type = new messages_1.ProtocolRequestType(ShowDocumentRequest.method);
22
22
  })(ShowDocumentRequest = exports.ShowDocumentRequest || (exports.ShowDocumentRequest = {}));
23
- //# sourceMappingURL=protocol.showDocument.js.map
@@ -28,7 +28,7 @@ export interface TypeDefinitionParams extends TextDocumentPositionParams, WorkDo
28
28
  /**
29
29
  * A request to resolve the type definition locations of a symbol at a given text
30
30
  * document position. The request's parameter is of type [TextDocumentPositionParams]
31
- * (#TextDocumentPositionParams) the response is of type [Definition](#Definition) or a
31
+ * (#TextDocumentPositionParams) the response is of type {@link Definition} or a
32
32
  * Thenable that resolves to such.
33
33
  */
34
34
  export declare namespace TypeDefinitionRequest {
@@ -11,7 +11,7 @@ let __noDynamicImport;
11
11
  /**
12
12
  * A request to resolve the type definition locations of a symbol at a given text
13
13
  * document position. The request's parameter is of type [TextDocumentPositionParams]
14
- * (#TextDocumentPositionParams) the response is of type [Definition](#Definition) or a
14
+ * (#TextDocumentPositionParams) the response is of type {@link Definition} or a
15
15
  * Thenable that resolves to such.
16
16
  */
17
17
  var TypeDefinitionRequest;
@@ -20,4 +20,3 @@ var TypeDefinitionRequest;
20
20
  TypeDefinitionRequest.messageDirection = messages_1.MessageDirection.clientToServer;
21
21
  TypeDefinitionRequest.type = new messages_1.ProtocolRequestType(TypeDefinitionRequest.method);
22
22
  })(TypeDefinitionRequest = exports.TypeDefinitionRequest || (exports.TypeDefinitionRequest = {}));
23
- //# sourceMappingURL=protocol.typeDefinition.js.map
@@ -40,4 +40,3 @@ var TypeHierarchySubtypesRequest;
40
40
  TypeHierarchySubtypesRequest.messageDirection = messages_1.MessageDirection.clientToServer;
41
41
  TypeHierarchySubtypesRequest.type = new messages_1.ProtocolRequestType(TypeHierarchySubtypesRequest.method);
42
42
  })(TypeHierarchySubtypesRequest = exports.TypeHierarchySubtypesRequest || (exports.TypeHierarchySubtypesRequest = {}));
43
- //# sourceMappingURL=protocol.typeHierarchy.js.map
@@ -25,4 +25,3 @@ var DidChangeWorkspaceFoldersNotification;
25
25
  DidChangeWorkspaceFoldersNotification.messageDirection = messages_1.MessageDirection.clientToServer;
26
26
  DidChangeWorkspaceFoldersNotification.type = new messages_1.ProtocolNotificationType(DidChangeWorkspaceFoldersNotification.method);
27
27
  })(DidChangeWorkspaceFoldersNotification = exports.DidChangeWorkspaceFoldersNotification || (exports.DidChangeWorkspaceFoldersNotification = {}));
28
- //# sourceMappingURL=protocol.workspaceFolder.js.map
@@ -44,4 +44,3 @@ function objectLiteral(value) {
44
44
  return value !== null && typeof value === 'object';
45
45
  }
46
46
  exports.objectLiteral = objectLiteral;
47
- //# sourceMappingURL=is.js.map
package/lib/node/main.js CHANGED
@@ -26,4 +26,3 @@ function createProtocolConnection(input, output, logger, options) {
26
26
  return (0, node_1.createMessageConnection)(input, output, logger, options);
27
27
  }
28
28
  exports.createProtocolConnection = createProtocolConnection;
29
- //# sourceMappingURL=main.js.map
@@ -94,6 +94,10 @@
94
94
  "additionalProperties": false,
95
95
  "description": "Defines an enumeration.",
96
96
  "properties": {
97
+ "deprecated": {
98
+ "description": "Whether the enumeration is deprecated or not. If deprecated the property contains the deprecation message.",
99
+ "type": "string"
100
+ },
97
101
  "documentation": {
98
102
  "description": "An optional documentation.",
99
103
  "type": "string"
@@ -137,6 +141,10 @@
137
141
  "additionalProperties": false,
138
142
  "description": "Defines an enumeration entry.",
139
143
  "properties": {
144
+ "deprecated": {
145
+ "description": "Whether the enum entry is deprecated or not. If deprecated the property contains the deprecation message.",
146
+ "type": "string"
147
+ },
140
148
  "documentation": {
141
149
  "description": "An optional documentation.",
142
150
  "type": "string"
@@ -340,6 +348,10 @@
340
348
  "additionalProperties": false,
341
349
  "description": "Represents a LSP notification",
342
350
  "properties": {
351
+ "deprecated": {
352
+ "description": "Whether the notification is deprecated or not. If deprecated the property contains the deprecation message.",
353
+ "type": "string"
354
+ },
343
355
  "documentation": {
344
356
  "description": "An optional documentation;",
345
357
  "type": "string"
@@ -414,6 +426,10 @@
414
426
  "additionalProperties": false,
415
427
  "description": "Represents an object property.",
416
428
  "properties": {
429
+ "deprecated": {
430
+ "description": "Whether the property is deprecated or not. If deprecated the property contains the deprecation message.",
431
+ "type": "string"
432
+ },
417
433
  "documentation": {
418
434
  "description": "An optional documentation.",
419
435
  "type": "string"
@@ -467,6 +483,10 @@
467
483
  "additionalProperties": false,
468
484
  "description": "Represents a LSP request",
469
485
  "properties": {
486
+ "deprecated": {
487
+ "description": "Whether the request is deprecated or not. If deprecated the property contains the deprecation message.",
488
+ "type": "string"
489
+ },
470
490
  "documentation": {
471
491
  "description": "An optional documentation;",
472
492
  "type": "string"
@@ -551,6 +571,10 @@
551
571
  "additionalProperties": false,
552
572
  "description": "Defines the structure of an object literal.",
553
573
  "properties": {
574
+ "deprecated": {
575
+ "description": "Whether the structure is deprecated or not. If deprecated the property contains the deprecation message.",
576
+ "type": "string"
577
+ },
554
578
  "documentation": {
555
579
  "description": "An optional documentation;",
556
580
  "type": "string"
@@ -599,6 +623,10 @@
599
623
  "additionalProperties": false,
600
624
  "description": "Defines a unnamed structure of an object literal.",
601
625
  "properties": {
626
+ "deprecated": {
627
+ "description": "Whether the literal is deprecated or not. If deprecated the property contains the deprecation message.",
628
+ "type": "string"
629
+ },
602
630
  "documentation": {
603
631
  "description": "An optional documentation.",
604
632
  "type": "string"
@@ -704,6 +732,10 @@
704
732
  "additionalProperties": false,
705
733
  "description": "Defines a type alias. (e.g. `type Definition = Location | LocationLink`)",
706
734
  "properties": {
735
+ "deprecated": {
736
+ "description": "Whether the type alias is deprecated or not. If deprecated the property contains the deprecation message.",
737
+ "type": "string"
738
+ },
707
739
  "documentation": {
708
740
  "description": "An optional documentation.",
709
741
  "type": "string"