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
@@ -1,9 +1,12 @@
1
1
  import { RequestHandler0, RequestHandler, ProgressType } from 'vscode-jsonrpc';
2
2
  import { TextDocumentIdentifier, Diagnostic, DocumentUri, integer } from 'vscode-languageserver-types';
3
3
  import { ProtocolRequestType0, ProtocolRequestType } from './messages';
4
- import type { PartialResultParams, StaticRegistrationOptions, WorkDoneProgressParams, TextDocumentRegistrationOptions, WorkDoneProgressOptions, TextDocumentClientCapabilities } from './protocol';
4
+ import type { PartialResultParams, StaticRegistrationOptions, WorkDoneProgressParams, TextDocumentRegistrationOptions, WorkDoneProgressOptions } from './protocol';
5
5
  /**
6
- * @since 3.17.0 - proposed state
6
+ * Client capabilities specific to diagnostic pull requests.
7
+ *
8
+ * @since 3.17.0
9
+ * @proposed
7
10
  */
8
11
  export declare type DiagnosticClientCapabilities = {
9
12
  /**
@@ -17,15 +20,29 @@ export declare type DiagnosticClientCapabilities = {
17
20
  */
18
21
  relatedDocumentSupport?: boolean;
19
22
  };
20
- export declare type $DiagnosticClientCapabilities = {
21
- textDocument?: TextDocumentClientCapabilities & {
22
- diagnostic?: DiagnosticClientCapabilities;
23
- };
23
+ /**
24
+ * Workspace client capabilities specific to diagnostic pull requests.
25
+ *
26
+ * @since 3.17.0
27
+ * @proposed
28
+ */
29
+ export declare type DiagnosticWorkspaceClientCapabilities = {
30
+ /**
31
+ * Whether the client implementation supports a refresh request sent from
32
+ * the server to the client.
33
+ *
34
+ * Note that this event is global and will force the client to refresh all
35
+ * pulled diagnostics currently shown. It should be used with absolute care and
36
+ * is useful for situation where a server for example detects a project wide
37
+ * change that requires such a calculation.
38
+ */
39
+ refreshSupport?: boolean;
24
40
  };
25
41
  /**
26
42
  * Diagnostic options.
27
43
  *
28
- * @since 3.17.0 - proposed state
44
+ * @since 3.17.0
45
+ * @proposed
29
46
  */
30
47
  export declare type DiagnosticOptions = WorkDoneProgressOptions & {
31
48
  /**
@@ -48,7 +65,8 @@ export declare type DiagnosticOptions = WorkDoneProgressOptions & {
48
65
  /**
49
66
  * Diagnostic registration options.
50
67
  *
51
- * @since 3.17.0 - proposed state
68
+ * @since 3.17.0
69
+ * @proposed
52
70
  */
53
71
  export declare type DiagnosticRegistrationOptions = TextDocumentRegistrationOptions & DiagnosticOptions & StaticRegistrationOptions;
54
72
  export declare type $DiagnosticServerCapabilities = {
@@ -57,13 +75,15 @@ export declare type $DiagnosticServerCapabilities = {
57
75
  /**
58
76
  * Cancellation data returned from a diagnostic request.
59
77
  *
60
- * @since 3.17.0 - proposed state
78
+ * @since 3.17.0
79
+ * @proposed
61
80
  */
62
81
  export declare type DiagnosticServerCancellationData = {
63
82
  retriggerRequest: boolean;
64
83
  };
65
84
  /**
66
- * @since 3.17.0 - proposed state
85
+ * @since 3.17.0
86
+ * @proposed
67
87
  */
68
88
  export declare namespace DiagnosticServerCancellationData {
69
89
  function is(value: any): value is DiagnosticServerCancellationData;
@@ -71,7 +91,8 @@ export declare namespace DiagnosticServerCancellationData {
71
91
  /**
72
92
  * Parameters of the document diagnostic request.
73
93
  *
74
- * @since 3.17.0 - proposed state
94
+ * @since 3.17.0
95
+ * @proposed
75
96
  */
76
97
  export declare type DocumentDiagnosticParams = WorkDoneProgressParams & PartialResultParams & {
77
98
  /**
@@ -90,30 +111,33 @@ export declare type DocumentDiagnosticParams = WorkDoneProgressParams & PartialR
90
111
  /**
91
112
  * The document diagnostic report kinds.
92
113
  *
93
- * @since 3.17.0 - proposed state
114
+ * @since 3.17.0
115
+ * @proposed
94
116
  */
95
- export declare enum DocumentDiagnosticReportKind {
117
+ export declare namespace DocumentDiagnosticReportKind {
96
118
  /**
97
119
  * A diagnostic report with a full
98
120
  * set of problems.
99
121
  */
100
- full = "full",
122
+ const Full = "full";
101
123
  /**
102
124
  * A report indicating that the last
103
125
  * returned report is still accurate.
104
126
  */
105
- unChanged = "unChanged"
127
+ const Unchanged = "unchanged";
106
128
  }
129
+ export declare type DocumentDiagnosticReportKind = 'full' | 'unchanged';
107
130
  /**
108
131
  * A diagnostic report with a full set of problems.
109
132
  *
110
- * @since 3.17.0 - proposed state
133
+ * @since 3.17.0
134
+ * @proposed
111
135
  */
112
136
  export declare type FullDocumentDiagnosticReport = {
113
137
  /**
114
138
  * A full document diagnostic report.
115
139
  */
116
- kind: DocumentDiagnosticReportKind.full;
140
+ kind: typeof DocumentDiagnosticReportKind.Full;
117
141
  /**
118
142
  * An optional result id. If provided it will
119
143
  * be sent on the next diagnostic request for the
@@ -128,7 +152,8 @@ export declare type FullDocumentDiagnosticReport = {
128
152
  /**
129
153
  * A full diagnostic report with a set of related documents.
130
154
  *
131
- * @since 3.17.0 - proposed state
155
+ * @since 3.17.0
156
+ * @proposed
132
157
  */
133
158
  export declare type RelatedFullDocumentDiagnosticReport = FullDocumentDiagnosticReport & {
134
159
  /**
@@ -138,17 +163,19 @@ export declare type RelatedFullDocumentDiagnosticReport = FullDocumentDiagnostic
138
163
  * such a language is C/C++ where marco definitions in a file
139
164
  * a.cpp and result in errors in a header file b.hpp.
140
165
  *
141
- * @since 3.17.0 - proposed state
166
+ * @since 3.17.0
167
+ * @proposed
142
168
  */
143
169
  relatedDocuments?: {
144
- [uri: string /** DocumentUri */]: FullDocumentDiagnosticReport | UnchangedDocumentDiagnosticReport;
170
+ [uri: DocumentUri]: FullDocumentDiagnosticReport | UnchangedDocumentDiagnosticReport;
145
171
  };
146
172
  };
147
173
  /**
148
174
  * A diagnostic report indicating that the last returned
149
175
  * report is still accurate.
150
176
  *
151
- * @since 3.17.0 - proposed state
177
+ * @since 3.17.0
178
+ * @proposed
152
179
  */
153
180
  export declare type UnchangedDocumentDiagnosticReport = {
154
181
  /**
@@ -157,7 +184,7 @@ export declare type UnchangedDocumentDiagnosticReport = {
157
184
  * only return `unchanged` if result ids are
158
185
  * provided.
159
186
  */
160
- kind: DocumentDiagnosticReportKind.unChanged;
187
+ kind: typeof DocumentDiagnosticReportKind.Unchanged;
161
188
  /**
162
189
  * A result id which will be sent on the next
163
190
  * diagnostic request for the same document.
@@ -167,7 +194,8 @@ export declare type UnchangedDocumentDiagnosticReport = {
167
194
  /**
168
195
  * An unchanged diagnostic report with a set of related documents.
169
196
  *
170
- * @since 3.17.0 - proposed state
197
+ * @since 3.17.0
198
+ * @proposed
171
199
  */
172
200
  export declare type RelatedUnchangedDocumentDiagnosticReport = UnchangedDocumentDiagnosticReport & {
173
201
  /**
@@ -177,10 +205,11 @@ export declare type RelatedUnchangedDocumentDiagnosticReport = UnchangedDocument
177
205
  * such a language is C/C++ where marco definitions in a file
178
206
  * a.cpp and result in errors in a header file b.hpp.
179
207
  *
180
- * @since 3.17.0 - proposed state
208
+ * @since 3.17.0
209
+ * @proposed
181
210
  */
182
211
  relatedDocuments?: {
183
- [uri: string /** DocumentUri */]: FullDocumentDiagnosticReport | UnchangedDocumentDiagnosticReport;
212
+ [uri: DocumentUri]: FullDocumentDiagnosticReport | UnchangedDocumentDiagnosticReport;
184
213
  };
185
214
  };
186
215
  /**
@@ -190,23 +219,26 @@ export declare type RelatedUnchangedDocumentDiagnosticReport = UnchangedDocument
190
219
  * has changed in terms of diagnostics in comparison to the last
191
220
  * pull request.
192
221
  *
193
- * @since 3.17.0 - proposed state
222
+ * @since 3.17.0
223
+ * @proposed
194
224
  */
195
225
  export declare type DocumentDiagnosticReport = RelatedFullDocumentDiagnosticReport | RelatedUnchangedDocumentDiagnosticReport;
196
226
  /**
197
227
  * A partial result for a document diagnostic report.
198
228
  *
199
- * @since 3.17.0 - proposed state
229
+ * @since 3.17.0
230
+ * @proposed
200
231
  */
201
232
  export declare type DocumentDiagnosticReportPartialResult = {
202
233
  relatedDocuments: {
203
- [uri: string /** DocumentUri */]: FullDocumentDiagnosticReport | UnchangedDocumentDiagnosticReport;
234
+ [uri: DocumentUri]: FullDocumentDiagnosticReport | UnchangedDocumentDiagnosticReport;
204
235
  };
205
236
  };
206
237
  /**
207
238
  * The document diagnostic request definition.
208
239
  *
209
- * @since 3.17.0 - proposed state
240
+ * @since 3.17.0
241
+ * @proposed
210
242
  */
211
243
  export declare namespace DocumentDiagnosticRequest {
212
244
  const method: 'textDocument/diagnostic';
@@ -217,7 +249,8 @@ export declare namespace DocumentDiagnosticRequest {
217
249
  /**
218
250
  * A previous result id in a workspace pull request.
219
251
  *
220
- * @since 3.17.0 - proposed state
252
+ * @since 3.17.0
253
+ * @proposed
221
254
  */
222
255
  export declare type PreviousResultId = {
223
256
  /**
@@ -233,7 +266,8 @@ export declare type PreviousResultId = {
233
266
  /**
234
267
  * Parameters of the workspace diagnostic request.
235
268
  *
236
- * @since 3.17.0 - proposed state
269
+ * @since 3.17.0
270
+ * @proposed
237
271
  */
238
272
  export declare type WorkspaceDiagnosticParams = WorkDoneProgressParams & PartialResultParams & {
239
273
  /**
@@ -249,7 +283,8 @@ export declare type WorkspaceDiagnosticParams = WorkDoneProgressParams & Partial
249
283
  /**
250
284
  * A full document diagnostic report for a workspace diagnostic result.
251
285
  *
252
- * @since 3.17.0 - proposed state
286
+ * @since 3.17.0
287
+ * @proposed
253
288
  */
254
289
  export declare type WorkspaceFullDocumentDiagnosticReport = FullDocumentDiagnosticReport & {
255
290
  /**
@@ -265,7 +300,8 @@ export declare type WorkspaceFullDocumentDiagnosticReport = FullDocumentDiagnost
265
300
  /**
266
301
  * An unchanged document diagnostic report for a workspace diagnostic result.
267
302
  *
268
- * @since 3.17.0 - proposed state
303
+ * @since 3.17.0
304
+ * @proposed
269
305
  */
270
306
  export declare type WorkspaceUnchangedDocumentDiagnosticReport = UnchangedDocumentDiagnosticReport & {
271
307
  /**
@@ -281,13 +317,15 @@ export declare type WorkspaceUnchangedDocumentDiagnosticReport = UnchangedDocume
281
317
  /**
282
318
  * A workspace diagnostic document report.
283
319
  *
284
- * @since 3.17.0 - proposed state
320
+ * @since 3.17.0
321
+ * @proposed
285
322
  */
286
323
  export declare type WorkspaceDocumentDiagnosticReport = WorkspaceFullDocumentDiagnosticReport | WorkspaceUnchangedDocumentDiagnosticReport;
287
324
  /**
288
325
  * A workspace diagnostic report.
289
326
  *
290
- * @since 3.17.0 - proposed state
327
+ * @since 3.17.0
328
+ * @proposed
291
329
  */
292
330
  export declare type WorkspaceDiagnosticReport = {
293
331
  items: WorkspaceDocumentDiagnosticReport[];
@@ -295,7 +333,8 @@ export declare type WorkspaceDiagnosticReport = {
295
333
  /**
296
334
  * A partial result for a workspace diagnostic report.
297
335
  *
298
- * @since 3.17.0 - proposed state
336
+ * @since 3.17.0
337
+ * @proposed
299
338
  */
300
339
  export declare type WorkspaceDiagnosticReportPartialResult = {
301
340
  items: WorkspaceDocumentDiagnosticReport[];
@@ -303,7 +342,8 @@ export declare type WorkspaceDiagnosticReportPartialResult = {
303
342
  /**
304
343
  * The workspace diagnostic request definition.
305
344
  *
306
- * @since 3.17.0 - proposed state
345
+ * @since 3.17.0
346
+ * @proposed
307
347
  */
308
348
  export declare namespace WorkspaceDiagnosticRequest {
309
349
  const method: 'workspace/diagnostic';
@@ -314,7 +354,8 @@ export declare namespace WorkspaceDiagnosticRequest {
314
354
  /**
315
355
  * The diagnostic refresh request definition.
316
356
  *
317
- * @since 3.17.0 - proposed state
357
+ * @since 3.17.0
358
+ * @proposed
318
359
  */
319
360
  export declare namespace DiagnosticRefreshRequest {
320
361
  const method: `workspace/diagnostic/refresh`;
@@ -9,7 +9,8 @@ const vscode_jsonrpc_1 = require("vscode-jsonrpc");
9
9
  const Is = require("./utils/is");
10
10
  const messages_1 = require("./messages");
11
11
  /**
12
- * @since 3.17.0 - proposed state
12
+ * @since 3.17.0
13
+ * @proposed
13
14
  */
14
15
  var DiagnosticServerCancellationData;
15
16
  (function (DiagnosticServerCancellationData) {
@@ -22,7 +23,8 @@ var DiagnosticServerCancellationData;
22
23
  /**
23
24
  * The document diagnostic report kinds.
24
25
  *
25
- * @since 3.17.0 - proposed state
26
+ * @since 3.17.0
27
+ * @proposed
26
28
  */
27
29
  var DocumentDiagnosticReportKind;
28
30
  (function (DocumentDiagnosticReportKind) {
@@ -30,17 +32,18 @@ var DocumentDiagnosticReportKind;
30
32
  * A diagnostic report with a full
31
33
  * set of problems.
32
34
  */
33
- DocumentDiagnosticReportKind["full"] = "full";
35
+ DocumentDiagnosticReportKind.Full = 'full';
34
36
  /**
35
37
  * A report indicating that the last
36
38
  * returned report is still accurate.
37
39
  */
38
- DocumentDiagnosticReportKind["unChanged"] = "unChanged";
40
+ DocumentDiagnosticReportKind.Unchanged = 'unchanged';
39
41
  })(DocumentDiagnosticReportKind = exports.DocumentDiagnosticReportKind || (exports.DocumentDiagnosticReportKind = {}));
40
42
  /**
41
43
  * The document diagnostic request definition.
42
44
  *
43
- * @since 3.17.0 - proposed state
45
+ * @since 3.17.0
46
+ * @proposed
44
47
  */
45
48
  var DocumentDiagnosticRequest;
46
49
  (function (DocumentDiagnosticRequest) {
@@ -51,7 +54,8 @@ var DocumentDiagnosticRequest;
51
54
  /**
52
55
  * The workspace diagnostic request definition.
53
56
  *
54
- * @since 3.17.0 - proposed state
57
+ * @since 3.17.0
58
+ * @proposed
55
59
  */
56
60
  var WorkspaceDiagnosticRequest;
57
61
  (function (WorkspaceDiagnosticRequest) {
@@ -62,11 +66,12 @@ var WorkspaceDiagnosticRequest;
62
66
  /**
63
67
  * The diagnostic refresh request definition.
64
68
  *
65
- * @since 3.17.0 - proposed state
69
+ * @since 3.17.0
70
+ * @proposed
66
71
  */
67
72
  var DiagnosticRefreshRequest;
68
73
  (function (DiagnosticRefreshRequest) {
69
74
  DiagnosticRefreshRequest.method = `workspace/diagnostic/refresh`;
70
75
  DiagnosticRefreshRequest.type = new messages_1.ProtocolRequestType0(DiagnosticRefreshRequest.method);
71
76
  })(DiagnosticRefreshRequest = exports.DiagnosticRefreshRequest || (exports.DiagnosticRefreshRequest = {}));
72
- //# sourceMappingURL=proposed.diagnostic.js.map
77
+ //# sourceMappingURL=protocol.diagnostic.js.map
@@ -1,45 +1,61 @@
1
1
  import { RequestHandler } from 'vscode-jsonrpc';
2
- import { TextDocumentIdentifier, uinteger, FoldingRange } from 'vscode-languageserver-types';
2
+ import { TextDocumentIdentifier, uinteger, FoldingRange, FoldingRangeKind } from 'vscode-languageserver-types';
3
3
  import { ProtocolRequestType } from './messages';
4
4
  import type { TextDocumentRegistrationOptions, StaticRegistrationOptions, PartialResultParams, WorkDoneProgressParams, WorkDoneProgressOptions } from './protocol';
5
5
  export interface FoldingRangeClientCapabilities {
6
6
  /**
7
- * Whether implementation supports dynamic registration for folding range providers. If this is set to `true`
8
- * the client supports the new `FoldingRangeRegistrationOptions` return value for the corresponding server
9
- * capability as well.
7
+ * Whether implementation supports dynamic registration for folding range
8
+ * providers. If this is set to `true` the client supports the new
9
+ * `FoldingRangeRegistrationOptions` return value for the corresponding
10
+ * server capability as well.
10
11
  */
11
12
  dynamicRegistration?: boolean;
12
13
  /**
13
- * The maximum number of folding ranges that the client prefers to receive per document. The value serves as a
14
- * hint, servers are free to follow the limit.
14
+ * The maximum number of folding ranges that the client prefers to receive
15
+ * per document. The value serves as a hint, servers are free to follow the
16
+ * limit.
15
17
  */
16
18
  rangeLimit?: uinteger;
17
19
  /**
18
- * If set, the client signals that it only supports folding complete lines. If set, client will
19
- * ignore specified `startCharacter` and `endCharacter` properties in a FoldingRange.
20
+ * If set, the client signals that it only supports folding complete lines.
21
+ * If set, client will ignore specified `startCharacter` and `endCharacter`
22
+ * properties in a FoldingRange.
20
23
  */
21
24
  lineFoldingOnly?: boolean;
22
- }
23
- export interface FoldingRangeOptions extends WorkDoneProgressOptions {
24
- }
25
- export interface FoldingRangeRegistrationOptions extends TextDocumentRegistrationOptions, FoldingRangeOptions, StaticRegistrationOptions {
26
- }
27
- /**
28
- * Enum of known range kinds
29
- */
30
- export declare enum FoldingRangeKind {
31
25
  /**
32
- * Folding range for a comment
26
+ * Specific options for the folding range kind.
27
+ *
28
+ * @since 3.17.0
29
+ * @proposed
33
30
  */
34
- Comment = "comment",
31
+ foldingRangeKind?: {
32
+ /**
33
+ * The folding range kind values the client supports. When this
34
+ * property exists the client also guarantees that it will
35
+ * handle values outside its set gracefully and falls back
36
+ * to a default value when unknown.
37
+ */
38
+ valueSet?: FoldingRangeKind[];
39
+ };
35
40
  /**
36
- * Folding range for a imports or includes
41
+ * Specific options for the folding range.
42
+ * @since 3.17.0
43
+ * @proposed
37
44
  */
38
- Imports = "imports",
39
- /**
40
- * Folding range for a region (e.g. `#region`)
41
- */
42
- Region = "region"
45
+ foldingRange?: {
46
+ /**
47
+ * If set, the client signals that it supports setting collapsedText on
48
+ * folding ranges to display custom labels instead of the default text.
49
+ *
50
+ * @since 3.17.0
51
+ * @proposed
52
+ */
53
+ collapsedText?: boolean;
54
+ };
55
+ }
56
+ export interface FoldingRangeOptions extends WorkDoneProgressOptions {
57
+ }
58
+ export interface FoldingRangeRegistrationOptions extends TextDocumentRegistrationOptions, FoldingRangeOptions, StaticRegistrationOptions {
43
59
  }
44
60
  /**
45
61
  * Parameters for a [FoldingRangeRequest](#FoldingRangeRequest).
@@ -58,6 +74,6 @@ export interface FoldingRangeParams extends WorkDoneProgressParams, PartialResul
58
74
  */
59
75
  export declare namespace FoldingRangeRequest {
60
76
  const method: 'textDocument/foldingRange';
61
- const type: ProtocolRequestType<FoldingRangeParams, FoldingRange[] | null, FoldingRange[], any, FoldingRangeRegistrationOptions>;
77
+ const type: ProtocolRequestType<FoldingRangeParams, FoldingRange[] | null, FoldingRange[], void, FoldingRangeRegistrationOptions>;
62
78
  type HandlerSignature = RequestHandler<FoldingRangeParams, FoldingRange[] | null, void>;
63
79
  }
@@ -4,26 +4,8 @@
4
4
  * Licensed under the MIT License. See License.txt in the project root for license information.
5
5
  *--------------------------------------------------------------------------------------------*/
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.FoldingRangeRequest = exports.FoldingRangeKind = void 0;
7
+ exports.FoldingRangeRequest = void 0;
8
8
  const messages_1 = require("./messages");
9
- /**
10
- * Enum of known range kinds
11
- */
12
- var FoldingRangeKind;
13
- (function (FoldingRangeKind) {
14
- /**
15
- * Folding range for a comment
16
- */
17
- FoldingRangeKind["Comment"] = "comment";
18
- /**
19
- * Folding range for a imports or includes
20
- */
21
- FoldingRangeKind["Imports"] = "imports";
22
- /**
23
- * Folding range for a region (e.g. `#region`)
24
- */
25
- FoldingRangeKind["Region"] = "region";
26
- })(FoldingRangeKind = exports.FoldingRangeKind || (exports.FoldingRangeKind = {}));
27
9
  /**
28
10
  * A request to provide folding ranges in a document. The request's
29
11
  * parameter is of type [FoldingRangeParams](#FoldingRangeParams), the
@@ -27,7 +27,7 @@ export interface ImplementationParams extends TextDocumentPositionParams, WorkDo
27
27
  }
28
28
  /**
29
29
  * A request to resolve the implementation locations of a symbol at a given text
30
- * document position. The request's parameter is of type [TextDocumentPositioParams]
30
+ * document position. The request's parameter is of type [TextDocumentPositionParams]
31
31
  * (#TextDocumentPositionParams) the response is of type [Definition](#Definition) or a
32
32
  * Thenable that resolves to such.
33
33
  */
@@ -6,11 +6,11 @@
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.ImplementationRequest = void 0;
8
8
  const messages_1 = require("./messages");
9
- // @ts-ignore: to avoid inlining LocatioLink as dynamic import
9
+ // @ts-ignore: to avoid inlining LocationLink as dynamic import
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 [TextDocumentPositioParams]
13
+ * document position. The request's parameter is of type [TextDocumentPositionParams]
14
14
  * (#TextDocumentPositionParams) the response is of type [Definition](#Definition) or a
15
15
  * Thenable that resolves to such.
16
16
  */
@@ -5,7 +5,8 @@ import type { StaticRegistrationOptions, TextDocumentRegistrationOptions, WorkDo
5
5
  /**
6
6
  * Inlay hint client capabilities
7
7
  *
8
- * @since 3.17.0 - proposed state
8
+ * @since 3.17.0
9
+ * @proposed
9
10
  */
10
11
  export declare type InlayHintClientCapabilities = {
11
12
  /**
@@ -26,7 +27,8 @@ export declare type InlayHintClientCapabilities = {
26
27
  /**
27
28
  * Client workspace capabilities specific to inlay hints.
28
29
  *
29
- * @since 3.17.0 - proposed state
30
+ * @since 3.17.0
31
+ * @proposed
30
32
  */
31
33
  export declare type InlayHintWorkspaceClientCapabilities = {
32
34
  /**
@@ -43,7 +45,8 @@ export declare type InlayHintWorkspaceClientCapabilities = {
43
45
  /**
44
46
  * Inlay hint options used during static registration.
45
47
  *
46
- * @since 3.17.0 - proposed state
48
+ * @since 3.17.0
49
+ * @proposed
47
50
  */
48
51
  export declare type InlayHintOptions = WorkDoneProgressOptions & {
49
52
  /**
@@ -55,13 +58,15 @@ export declare type InlayHintOptions = WorkDoneProgressOptions & {
55
58
  /**
56
59
  * Inlay hint options used during static or dynamic registration.
57
60
  *
58
- * @since 3.17.0 - proposed state
61
+ * @since 3.17.0
62
+ * @proposed
59
63
  */
60
64
  export declare type InlayHintRegistrationOptions = InlayHintOptions & TextDocumentRegistrationOptions & StaticRegistrationOptions;
61
65
  /**
62
66
  * A parameter literal used in inlay hints requests.
63
67
  *
64
- * @since 3.17.0 - proposed state
68
+ * @since 3.17.0
69
+ * @proposed
65
70
  */
66
71
  export declare type InlayHintParams = WorkDoneProgressParams & {
67
72
  /**
@@ -78,11 +83,12 @@ export declare type InlayHintParams = WorkDoneProgressParams & {
78
83
  * type [InlayHintsParams](#InlayHintsParams), the response is of type
79
84
  * [InlayHint[]](#InlayHint[]) or a Thenable that resolves to such.
80
85
  *
81
- * @since 3.17.0 - proposed state
86
+ * @since 3.17.0
87
+ * @proposed
82
88
  */
83
89
  export declare namespace InlayHintRequest {
84
90
  const method: 'textDocument/inlayHint';
85
- const type: ProtocolRequestType<InlayHintParams, InlayHint[] | null, InlayHint[], any, InlayHintRegistrationOptions>;
91
+ const type: ProtocolRequestType<InlayHintParams, InlayHint[] | null, InlayHint[], void, InlayHintRegistrationOptions>;
86
92
  type HandlerSignature = RequestHandler<InlayHintParams, InlayHint[] | null, void>;
87
93
  }
88
94
  /**
@@ -90,7 +96,8 @@ export declare namespace InlayHintRequest {
90
96
  * The request's parameter is of type [InlayHint](#InlayHint), the response is
91
97
  * of type [InlayHint](#InlayHint) or a Thenable that resolves to such.
92
98
  *
93
- * @since 3.17.0 - proposed state
99
+ * @since 3.17.0
100
+ * @proposed
94
101
  */
95
102
  export declare namespace InlayHintResolveRequest {
96
103
  const method: 'inlayHint/resolve';
@@ -98,7 +105,8 @@ export declare namespace InlayHintResolveRequest {
98
105
  type HandlerSignature = RequestHandler<InlayHint, InlayHint, void>;
99
106
  }
100
107
  /**
101
- * @since 3.17.0 - proposed state
108
+ * @since 3.17.0
109
+ * @proposed
102
110
  */
103
111
  export declare namespace InlayHintRefreshRequest {
104
112
  const method: `workspace/inlayHint/refresh`;
@@ -11,7 +11,8 @@ const messages_1 = require("./messages");
11
11
  * type [InlayHintsParams](#InlayHintsParams), the response is of type
12
12
  * [InlayHint[]](#InlayHint[]) or a Thenable that resolves to such.
13
13
  *
14
- * @since 3.17.0 - proposed state
14
+ * @since 3.17.0
15
+ * @proposed
15
16
  */
16
17
  var InlayHintRequest;
17
18
  (function (InlayHintRequest) {
@@ -23,7 +24,8 @@ var InlayHintRequest;
23
24
  * The request's parameter is of type [InlayHint](#InlayHint), the response is
24
25
  * of type [InlayHint](#InlayHint) or a Thenable that resolves to such.
25
26
  *
26
- * @since 3.17.0 - proposed state
27
+ * @since 3.17.0
28
+ * @proposed
27
29
  */
28
30
  var InlayHintResolveRequest;
29
31
  (function (InlayHintResolveRequest) {
@@ -31,7 +33,8 @@ var InlayHintResolveRequest;
31
33
  InlayHintResolveRequest.type = new messages_1.ProtocolRequestType(InlayHintResolveRequest.method);
32
34
  })(InlayHintResolveRequest = exports.InlayHintResolveRequest || (exports.InlayHintResolveRequest = {}));
33
35
  /**
34
- * @since 3.17.0 - proposed state
36
+ * @since 3.17.0
37
+ * @proposed
35
38
  */
36
39
  var InlayHintRefreshRequest;
37
40
  (function (InlayHintRefreshRequest) {