vscode-languageserver-protocol 3.17.2-next.2 → 3.17.2-next.5

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.
@@ -36,7 +36,7 @@ export interface CallHierarchyPrepareParams extends TextDocumentPositionParams,
36
36
  }
37
37
  /**
38
38
  * A request to result a `CallHierarchyItem` in a document at a given position.
39
- * Can be used as an input to a incoming or outgoing call hierarchy.
39
+ * Can be used as an input to an incoming or outgoing call hierarchy.
40
40
  *
41
41
  * @since 3.16.0
42
42
  */
@@ -8,7 +8,7 @@ exports.CallHierarchyOutgoingCallsRequest = exports.CallHierarchyIncomingCallsRe
8
8
  const messages_1 = require("./messages");
9
9
  /**
10
10
  * A request to result a `CallHierarchyItem` in a document at a given position.
11
- * Can be used as an input to a incoming or outgoing call hierarchy.
11
+ * Can be used as an input to an incoming or outgoing call hierarchy.
12
12
  *
13
13
  * @since 3.16.0
14
14
  */
@@ -171,7 +171,7 @@ export interface Registration {
171
171
  */
172
172
  id: string;
173
173
  /**
174
- * The method to register for.
174
+ * The method / capability to register for.
175
175
  */
176
176
  method: string;
177
177
  /**
@@ -293,7 +293,7 @@ export interface WorkspaceClientCapabilities {
293
293
  */
294
294
  applyEdit?: boolean;
295
295
  /**
296
- * Capabilities specific to `WorkspaceEdit`s
296
+ * Capabilities specific to `WorkspaceEdit`s.
297
297
  */
298
298
  workspaceEdit?: WorkspaceEditClientCapabilities;
299
299
  /**
@@ -313,7 +313,7 @@ export interface WorkspaceClientCapabilities {
313
313
  */
314
314
  executeCommand?: ExecuteCommandClientCapabilities;
315
315
  /**
316
- * The client has support for workspace folders
316
+ * The client has support for workspace folders.
317
317
  *
318
318
  * @since 3.6.0
319
319
  */
@@ -352,7 +352,7 @@ export interface WorkspaceClientCapabilities {
352
352
  */
353
353
  inlineValue?: InlineValueWorkspaceClientCapabilities;
354
354
  /**
355
- * Capabilities specific to the inlay hints requests scoped to the
355
+ * Capabilities specific to the inlay hint requests scoped to the
356
356
  * workspace.
357
357
  *
358
358
  * @since 3.17.0.
@@ -375,101 +375,104 @@ export interface TextDocumentClientCapabilities {
375
375
  */
376
376
  synchronization?: TextDocumentSyncClientCapabilities;
377
377
  /**
378
- * Capabilities specific to the `textDocument/completion`
378
+ * Capabilities specific to the `textDocument/completion` request.
379
379
  */
380
380
  completion?: CompletionClientCapabilities;
381
381
  /**
382
- * Capabilities specific to the `textDocument/hover`
382
+ * Capabilities specific to the `textDocument/hover` request.
383
383
  */
384
384
  hover?: HoverClientCapabilities;
385
385
  /**
386
- * Capabilities specific to the `textDocument/signatureHelp`
386
+ * Capabilities specific to the `textDocument/signatureHelp` request.
387
387
  */
388
388
  signatureHelp?: SignatureHelpClientCapabilities;
389
389
  /**
390
- * Capabilities specific to the `textDocument/declaration`
390
+ * Capabilities specific to the `textDocument/declaration` request.
391
391
  *
392
392
  * @since 3.14.0
393
393
  */
394
394
  declaration?: DeclarationClientCapabilities;
395
395
  /**
396
- * Capabilities specific to the `textDocument/definition`
396
+ * Capabilities specific to the `textDocument/definition` request.
397
397
  */
398
398
  definition?: DefinitionClientCapabilities;
399
399
  /**
400
- * Capabilities specific to the `textDocument/typeDefinition`
400
+ * Capabilities specific to the `textDocument/typeDefinition` request.
401
401
  *
402
402
  * @since 3.6.0
403
403
  */
404
404
  typeDefinition?: TypeDefinitionClientCapabilities;
405
405
  /**
406
- * Capabilities specific to the `textDocument/implementation`
406
+ * Capabilities specific to the `textDocument/implementation` request.
407
407
  *
408
408
  * @since 3.6.0
409
409
  */
410
410
  implementation?: ImplementationClientCapabilities;
411
411
  /**
412
- * Capabilities specific to the `textDocument/references`
412
+ * Capabilities specific to the `textDocument/references` request.
413
413
  */
414
414
  references?: ReferenceClientCapabilities;
415
415
  /**
416
- * Capabilities specific to the `textDocument/documentHighlight`
416
+ * Capabilities specific to the `textDocument/documentHighlight` request.
417
417
  */
418
418
  documentHighlight?: DocumentHighlightClientCapabilities;
419
419
  /**
420
- * Capabilities specific to the `textDocument/documentSymbol`
420
+ * Capabilities specific to the `textDocument/documentSymbol` request.
421
421
  */
422
422
  documentSymbol?: DocumentSymbolClientCapabilities;
423
423
  /**
424
- * Capabilities specific to the `textDocument/codeAction`
424
+ * Capabilities specific to the `textDocument/codeAction` request.
425
425
  */
426
426
  codeAction?: CodeActionClientCapabilities;
427
427
  /**
428
- * Capabilities specific to the `textDocument/codeLens`
428
+ * Capabilities specific to the `textDocument/codeLens` request.
429
429
  */
430
430
  codeLens?: CodeLensClientCapabilities;
431
431
  /**
432
- * Capabilities specific to the `textDocument/documentLink`
432
+ * Capabilities specific to the `textDocument/documentLink` request.
433
433
  */
434
434
  documentLink?: DocumentLinkClientCapabilities;
435
435
  /**
436
- * Capabilities specific to the `textDocument/documentColor`
436
+ * Capabilities specific to the `textDocument/documentColor` and the
437
+ * `textDocument/colorPresentation` request.
438
+ *
439
+ * @since 3.6.0
437
440
  */
438
441
  colorProvider?: DocumentColorClientCapabilities;
439
442
  /**
440
- * Capabilities specific to the `textDocument/formatting`
443
+ * Capabilities specific to the `textDocument/formatting` request.
441
444
  */
442
445
  formatting?: DocumentFormattingClientCapabilities;
443
446
  /**
444
- * Capabilities specific to the `textDocument/rangeFormatting`
447
+ * Capabilities specific to the `textDocument/rangeFormatting` request.
445
448
  */
446
449
  rangeFormatting?: DocumentRangeFormattingClientCapabilities;
447
450
  /**
448
- * Capabilities specific to the `textDocument/onTypeFormatting`
451
+ * Capabilities specific to the `textDocument/onTypeFormatting` request.
449
452
  */
450
453
  onTypeFormatting?: DocumentOnTypeFormattingClientCapabilities;
451
454
  /**
452
- * Capabilities specific to the `textDocument/rename`
455
+ * Capabilities specific to the `textDocument/rename` request.
453
456
  */
454
457
  rename?: RenameClientCapabilities;
455
458
  /**
456
- * Capabilities specific to `textDocument/foldingRange` request.
459
+ * Capabilities specific to the `textDocument/foldingRange` request.
457
460
  *
458
461
  * @since 3.10.0
459
462
  */
460
463
  foldingRange?: FoldingRangeClientCapabilities;
461
464
  /**
462
- * Capabilities specific to `textDocument/selectionRange` request.
465
+ * Capabilities specific to the `textDocument/selectionRange` request.
463
466
  *
464
467
  * @since 3.15.0
465
468
  */
466
469
  selectionRange?: SelectionRangeClientCapabilities;
467
470
  /**
468
- * Capabilities specific to `textDocument/publishDiagnostics` notification.
471
+ * Capabilities specific to the `textDocument/publishDiagnostics` notification.
469
472
  */
470
473
  publishDiagnostics?: PublishDiagnosticsClientCapabilities;
471
474
  /**
472
- * Capabilities specific to the various call hierarchy request.
475
+ * Capabilities specific to the various call hierarchy requests.
473
476
  *
474
477
  * @since 3.16.0
475
478
  */
@@ -481,13 +484,13 @@ export interface TextDocumentClientCapabilities {
481
484
  */
482
485
  semanticTokens?: SemanticTokensClientCapabilities;
483
486
  /**
484
- * Capabilities specific to the linked editing range request.
487
+ * Capabilities specific to the `textDocument/linkedEditingRange` request.
485
488
  *
486
489
  * @since 3.16.0
487
490
  */
488
491
  linkedEditingRange?: LinkedEditingRangeClientCapabilities;
489
492
  /**
490
- * Client capabilities specific to the moniker request.
493
+ * Client capabilities specific to the `textDocument/moniker` request.
491
494
  *
492
495
  * @since 3.16.0
493
496
  */
@@ -655,7 +658,7 @@ export interface GeneralClientCapabilities {
655
658
  * The position encodings supported by the client. Client and server
656
659
  * have to agree on the same position encoding to ensure that offsets
657
660
  * (e.g. character position in a line) are interpreted the same on both
658
- * side.
661
+ * sides.
659
662
  *
660
663
  * To keep the protocol backwards compatible the following applies: if
661
664
  * the value 'utf-16' is missing from the array of position encodings
@@ -792,8 +795,6 @@ export interface ServerCapabilities<T = any> {
792
795
  *
793
796
  * If omitted it defaults to 'utf-16'.
794
797
  *
795
- * If for some reason
796
- *
797
798
  * @since 3.17.0
798
799
  */
799
800
  positionEncoding?: PositionEncodingKind;
@@ -988,6 +989,9 @@ export interface _InitializeParams extends WorkDoneProgressParams {
988
989
  /**
989
990
  * The process Id of the parent process that started
990
991
  * the server.
992
+ *
993
+ * Is `null` if the process has not been started by another process.
994
+ * If the parent process is not alive then the server should exit.
991
995
  */
992
996
  processId: integer | null;
993
997
  /**
@@ -1182,7 +1186,7 @@ export interface ShowMessageParams {
1182
1186
  */
1183
1187
  type: MessageType;
1184
1188
  /**
1185
- * The actual message
1189
+ * The actual message.
1186
1190
  */
1187
1191
  message: string;
1188
1192
  }
@@ -1227,7 +1231,7 @@ export interface ShowMessageRequestParams {
1227
1231
  */
1228
1232
  type: MessageType;
1229
1233
  /**
1230
- * The actual message
1234
+ * The actual message.
1231
1235
  */
1232
1236
  message: string;
1233
1237
  /**
@@ -1258,7 +1262,7 @@ export interface LogMessageParams {
1258
1262
  */
1259
1263
  type: MessageType;
1260
1264
  /**
1261
- * The actual message
1265
+ * The actual message.
1262
1266
  */
1263
1267
  message: string;
1264
1268
  }
@@ -1339,7 +1343,7 @@ export interface TextDocumentSyncOptions {
1339
1343
  save?: boolean | SaveOptions;
1340
1344
  }
1341
1345
  /**
1342
- * The parameters send in a open text document notification
1346
+ * The parameters sent in an open text document notification
1343
1347
  */
1344
1348
  export interface DidOpenTextDocumentParams {
1345
1349
  /**
@@ -1445,7 +1449,7 @@ export declare namespace DidChangeTextDocumentNotification {
1445
1449
  const type: ProtocolNotificationType<DidChangeTextDocumentParams, TextDocumentChangeRegistrationOptions>;
1446
1450
  }
1447
1451
  /**
1448
- * The parameters send in a close text document notification
1452
+ * The parameters sent in a close text document notification
1449
1453
  */
1450
1454
  export interface DidCloseTextDocumentParams {
1451
1455
  /**
@@ -1467,11 +1471,11 @@ export declare namespace DidCloseTextDocumentNotification {
1467
1471
  const type: ProtocolNotificationType<DidCloseTextDocumentParams, TextDocumentRegistrationOptions>;
1468
1472
  }
1469
1473
  /**
1470
- * The parameters send in a save text document notification
1474
+ * The parameters sent in a save text document notification
1471
1475
  */
1472
1476
  export interface DidSaveTextDocumentParams {
1473
1477
  /**
1474
- * The document that was closed.
1478
+ * The document that was saved.
1475
1479
  */
1476
1480
  textDocument: TextDocumentIdentifier;
1477
1481
  /**
@@ -1513,7 +1517,7 @@ export declare namespace TextDocumentSaveReason {
1513
1517
  }
1514
1518
  export declare type TextDocumentSaveReason = 1 | 2 | 3;
1515
1519
  /**
1516
- * The parameters send in a will save text document notification.
1520
+ * The parameters sent in a will save text document notification.
1517
1521
  */
1518
1522
  export interface WillSaveTextDocumentParams {
1519
1523
  /**
@@ -1706,7 +1710,7 @@ export interface PublishDiagnosticsClientCapabilities {
1706
1710
  };
1707
1711
  /**
1708
1712
  * Whether the client interprets the version property of the
1709
- * `textDocument/publishDiagnostics` notification`s parameter.
1713
+ * `textDocument/publishDiagnostics` notification's parameter.
1710
1714
  *
1711
1715
  * @since 3.15.0
1712
1716
  */
@@ -1779,7 +1783,7 @@ export interface CompletionClientCapabilities {
1779
1783
  */
1780
1784
  commitCharactersSupport?: boolean;
1781
1785
  /**
1782
- * Client supports the follow content formats for the documentation
1786
+ * Client supports the following content formats for the documentation
1783
1787
  * property. The order describes the preferred format of the client.
1784
1788
  */
1785
1789
  documentationFormat?: MarkupKind[];
@@ -2016,7 +2020,7 @@ export interface HoverClientCapabilities {
2016
2020
  */
2017
2021
  dynamicRegistration?: boolean;
2018
2022
  /**
2019
- * Client supports the follow content formats for the content
2023
+ * Client supports the following content formats for the content
2020
2024
  * property. The order describes the preferred format of the client.
2021
2025
  */
2022
2026
  contentFormat?: MarkupKind[];
@@ -2059,7 +2063,7 @@ export interface SignatureHelpClientCapabilities {
2059
2063
  */
2060
2064
  signatureInformation?: {
2061
2065
  /**
2062
- * Client supports the follow content formats for the documentation
2066
+ * Client supports the following content formats for the documentation
2063
2067
  * property. The order describes the preferred format of the client.
2064
2068
  */
2065
2069
  documentationFormat?: MarkupKind[];
@@ -2076,7 +2080,7 @@ export interface SignatureHelpClientCapabilities {
2076
2080
  labelOffsetSupport?: boolean;
2077
2081
  };
2078
2082
  /**
2079
- * The client support the `activeParameter` property on `SignatureInformation`
2083
+ * The client supports the `activeParameter` property on `SignatureInformation`
2080
2084
  * literal.
2081
2085
  *
2082
2086
  * @since 3.16.0
@@ -2098,7 +2102,7 @@ export interface SignatureHelpClientCapabilities {
2098
2102
  */
2099
2103
  export interface SignatureHelpOptions extends WorkDoneProgressOptions {
2100
2104
  /**
2101
- * List of characters that trigger signature help.
2105
+ * List of characters that trigger signature help automatically.
2102
2106
  */
2103
2107
  triggerCharacters?: string[];
2104
2108
  /**
@@ -2150,7 +2154,7 @@ export interface SignatureHelpContext {
2150
2154
  /**
2151
2155
  * `true` if signature help was already showing when it was triggered.
2152
2156
  *
2153
- * Retrigger occurs when the signature help is already active and can be caused by actions such as
2157
+ * Retriggers occurs when the signature help is already active and can be caused by actions such as
2154
2158
  * typing a trigger character, a cursor move, or document content changes.
2155
2159
  */
2156
2160
  isRetrigger: boolean;
@@ -2302,7 +2306,8 @@ export interface DocumentSymbolClientCapabilities {
2302
2306
  */
2303
2307
  dynamicRegistration?: boolean;
2304
2308
  /**
2305
- * Specific capabilities for the `SymbolKind`.
2309
+ * Specific capabilities for the `SymbolKind` in the
2310
+ * `textDocument/documentSymbol` request.
2306
2311
  */
2307
2312
  symbolKind?: {
2308
2313
  /**
@@ -2318,7 +2323,7 @@ export interface DocumentSymbolClientCapabilities {
2318
2323
  valueSet?: SymbolKind[];
2319
2324
  };
2320
2325
  /**
2321
- * The client support hierarchical document symbols.
2326
+ * The client supports hierarchical document symbols.
2322
2327
  */
2323
2328
  hierarchicalDocumentSymbolSupport?: boolean;
2324
2329
  /**
@@ -2429,7 +2434,7 @@ export interface CodeActionClientCapabilities {
2429
2434
  */
2430
2435
  dataSupport?: boolean;
2431
2436
  /**
2432
- * Whether the client support resolving additional code action
2437
+ * Whether the client supports resolving additional code action
2433
2438
  * properties via a separate `codeAction/resolve` request.
2434
2439
  *
2435
2440
  * @since 3.16.0
@@ -2441,7 +2446,7 @@ export interface CodeActionClientCapabilities {
2441
2446
  properties: string[];
2442
2447
  };
2443
2448
  /**
2444
- * Whether th client honors the change annotations in
2449
+ * Whether the client honors the change annotations in
2445
2450
  * text edits and resource operations returned via the
2446
2451
  * `CodeAction#edit` property by for example presenting
2447
2452
  * the workspace edit in the user interface and asking
@@ -2690,7 +2695,7 @@ export interface DocumentLinkClientCapabilities {
2690
2695
  */
2691
2696
  dynamicRegistration?: boolean;
2692
2697
  /**
2693
- * Whether the client support the `tooltip` property on `DocumentLink`.
2698
+ * Whether the client supports the `tooltip` property on `DocumentLink`.
2694
2699
  *
2695
2700
  * @since 3.15.0
2696
2701
  */
@@ -2753,7 +2758,7 @@ export interface DocumentFormattingParams extends WorkDoneProgressParams {
2753
2758
  */
2754
2759
  textDocument: TextDocumentIdentifier;
2755
2760
  /**
2756
- * The format options
2761
+ * The format options.
2757
2762
  */
2758
2763
  options: FormattingOptions;
2759
2764
  }
@@ -2848,7 +2853,7 @@ export interface DocumentOnTypeFormattingParams {
2848
2853
  */
2849
2854
  ch: string;
2850
2855
  /**
2851
- * The format options.
2856
+ * The formatting options.
2852
2857
  */
2853
2858
  options: FormattingOptions;
2854
2859
  }
@@ -2857,7 +2862,7 @@ export interface DocumentOnTypeFormattingParams {
2857
2862
  */
2858
2863
  export interface DocumentOnTypeFormattingOptions {
2859
2864
  /**
2860
- * A character on which formatting should be triggered, like `{}`.
2865
+ * A character on which formatting should be triggered, like `{`.
2861
2866
  */
2862
2867
  firstTriggerCharacter: string;
2863
2868
  /**
@@ -2907,7 +2912,7 @@ export interface RenameClientCapabilities {
2907
2912
  */
2908
2913
  prepareSupportDefaultBehavior?: PrepareSupportDefaultBehavior;
2909
2914
  /**
2910
- * Whether th client honors the change annotations in
2915
+ * Whether the client honors the change annotations in
2911
2916
  * text edits and resource operations returned via the
2912
2917
  * rename request's workspace edit by for example presenting
2913
2918
  * the workspace edit in the user interface and asking
@@ -3042,7 +3047,7 @@ export interface WorkspaceEditClientCapabilities {
3042
3047
  * Whether the client normalizes line endings to the client specific
3043
3048
  * setting.
3044
3049
  * If set to `true` the client will normalize line ending characters
3045
- * in a workspace edit containing to the client specific new line
3050
+ * in a workspace edit to the client-specified new line
3046
3051
  * character.
3047
3052
  *
3048
3053
  * @since 3.16.0
@@ -201,7 +201,7 @@ export declare type RelatedUnchangedDocumentDiagnosticReport = UnchangedDocument
201
201
  /**
202
202
  * The result of a document diagnostic pull request. A report can
203
203
  * either be a full report containing all diagnostics for the
204
- * requested document or a unchanged report indicating that nothing
204
+ * requested document or an unchanged report indicating that nothing
205
205
  * has changed in terms of diagnostics in comparison to the last
206
206
  * pull request.
207
207
  *
@@ -8,27 +8,27 @@ import { ProtocolNotificationType, ProtocolRequestType } from './messages';
8
8
  */
9
9
  export interface FileOperationOptions {
10
10
  /**
11
- * The server is interested in didCreateFiles notifications.
11
+ * The server is interested in receiving didCreateFiles notifications.
12
12
  */
13
13
  didCreate?: FileOperationRegistrationOptions;
14
14
  /**
15
- * The server is interested in willCreateFiles requests.
15
+ * The server is interested in receiving willCreateFiles requests.
16
16
  */
17
17
  willCreate?: FileOperationRegistrationOptions;
18
18
  /**
19
- * The server is interested in didRenameFiles notifications.
19
+ * The server is interested in receiving didRenameFiles notifications.
20
20
  */
21
21
  didRename?: FileOperationRegistrationOptions;
22
22
  /**
23
- * The server is interested in willRenameFiles requests.
23
+ * The server is interested in receiving willRenameFiles requests.
24
24
  */
25
25
  willRename?: FileOperationRegistrationOptions;
26
26
  /**
27
- * The server is interested in didDeleteFiles file notifications.
27
+ * The server is interested in receiving didDeleteFiles file notifications.
28
28
  */
29
29
  didDelete?: FileOperationRegistrationOptions;
30
30
  /**
31
- * The server is interested in willDeleteFiles file requests.
31
+ * The server is interested in receiving willDeleteFiles file requests.
32
32
  */
33
33
  willDelete?: FileOperationRegistrationOptions;
34
34
  }
@@ -73,7 +73,7 @@ export interface FileOperationPatternOptions {
73
73
  }
74
74
  /**
75
75
  * A pattern to describe in which file operation requests or notifications
76
- * the server is interested in.
76
+ * the server is interested in receiving.
77
77
  *
78
78
  * @since 3.16.0
79
79
  */
@@ -101,13 +101,13 @@ interface FileOperationPattern {
101
101
  }
102
102
  /**
103
103
  * A filter to describe in which file operation requests or notifications
104
- * the server is interested in.
104
+ * the server is interested in receiving.
105
105
  *
106
106
  * @since 3.16.0
107
107
  */
108
108
  export interface FileOperationFilter {
109
109
  /**
110
- * A Uri like `file` or `untitled`.
110
+ * A Uri scheme like `file` or `untitled`.
111
111
  */
112
112
  scheme?: string;
113
113
  /**
@@ -133,7 +133,7 @@ export interface FileOperationClientCapabilities {
133
133
  */
134
134
  didCreate?: boolean;
135
135
  /**
136
- * The client has support for willCreateFiles requests.
136
+ * The client has support for sending willCreateFiles requests.
137
137
  */
138
138
  willCreate?: boolean;
139
139
  /**
@@ -141,7 +141,7 @@ export interface FileOperationClientCapabilities {
141
141
  */
142
142
  didRename?: boolean;
143
143
  /**
144
- * The client has support for willRenameFiles requests.
144
+ * The client has support for sending willRenameFiles requests.
145
145
  */
146
146
  willRename?: boolean;
147
147
  /**
@@ -149,12 +149,13 @@ export interface FileOperationClientCapabilities {
149
149
  */
150
150
  didDelete?: boolean;
151
151
  /**
152
- * The client has support for willDeleteFiles requests.
152
+ * The client has support for sending willDeleteFiles requests.
153
153
  */
154
154
  willDelete?: boolean;
155
155
  }
156
156
  /**
157
- * The parameters sent in file create requests/notifications.
157
+ * The parameters sent in notifications/requests for user-initiated creation of
158
+ * files.
158
159
  *
159
160
  * @since 3.16.0
160
161
  */
@@ -176,7 +177,8 @@ export interface FileCreate {
176
177
  uri: string;
177
178
  }
178
179
  /**
179
- * The parameters sent in file rename requests/notifications.
180
+ * The parameters sent in notifications/requests for user-initiated renames of
181
+ * files.
180
182
  *
181
183
  * @since 3.16.0
182
184
  */
@@ -203,7 +205,8 @@ export interface FileRename {
203
205
  newUri: string;
204
206
  }
205
207
  /**
206
- * The parameters sent in file delete requests/notifications.
208
+ * The parameters sent in notifications/requests for user-initiated deletes of
209
+ * files.
207
210
  *
208
211
  * @since 3.16.0
209
212
  */
@@ -38,6 +38,7 @@ export interface FoldingRangeClientCapabilities {
38
38
  };
39
39
  /**
40
40
  * Specific options for the folding range.
41
+ *
41
42
  * @since 3.17.0
42
43
  */
43
44
  foldingRange?: {
@@ -3,7 +3,7 @@ import { Range, TextDocumentIdentifier, InlayHint } from 'vscode-languageserver-
3
3
  import { ProtocolRequestType, ProtocolRequestType0 } from './messages';
4
4
  import type { StaticRegistrationOptions, TextDocumentRegistrationOptions, WorkDoneProgressOptions, WorkDoneProgressParams } from './protocol';
5
5
  /**
6
- * Inlay hint client capabilities
6
+ * Inlay hint client capabilities.
7
7
  *
8
8
  * @since 3.17.0
9
9
  */
@@ -13,7 +13,7 @@ export declare type InlayHintClientCapabilities = {
13
13
  */
14
14
  dynamicRegistration?: boolean;
15
15
  /**
16
- * Indicates which properties a client can resolve lazily on a inlay
16
+ * Indicates which properties a client can resolve lazily on an inlay
17
17
  * hint.
18
18
  */
19
19
  resolveSupport?: {
@@ -59,7 +59,7 @@ export declare type InlayHintOptions = WorkDoneProgressOptions & {
59
59
  */
60
60
  export declare type InlayHintRegistrationOptions = InlayHintOptions & TextDocumentRegistrationOptions & StaticRegistrationOptions;
61
61
  /**
62
- * A parameter literal used in inlay hints requests.
62
+ * A parameter literal used in inlay hint requests.
63
63
  *
64
64
  * @since 3.17.0
65
65
  */
@@ -86,7 +86,7 @@ export declare namespace InlayHintRequest {
86
86
  type HandlerSignature = RequestHandler<InlayHintParams, InlayHint[] | null, void>;
87
87
  }
88
88
  /**
89
- * A request to resolve additional properties for a inlay hint.
89
+ * A request to resolve additional properties for an inlay hint.
90
90
  * The request's parameter is of type [InlayHint](#InlayHint), the response is
91
91
  * of type [InlayHint](#InlayHint) or a Thenable that resolves to such.
92
92
  *
@@ -19,7 +19,7 @@ var InlayHintRequest;
19
19
  InlayHintRequest.type = new messages_1.ProtocolRequestType(InlayHintRequest.method);
20
20
  })(InlayHintRequest = exports.InlayHintRequest || (exports.InlayHintRequest = {}));
21
21
  /**
22
- * A request to resolve additional properties for a inlay hint.
22
+ * A request to resolve additional properties for an inlay hint.
23
23
  * The request's parameter is of type [InlayHint](#InlayHint), the response is
24
24
  * of type [InlayHint](#InlayHint) or a Thenable that resolves to such.
25
25
  *
@@ -155,7 +155,7 @@ export declare type VersionedNotebookDocumentIdentifier = {
155
155
  * Options specific to a notebook plus its cells
156
156
  * to be synced to the server.
157
157
  *
158
- * If a selector provide a notebook document
158
+ * If a selector provides a notebook document
159
159
  * filter but no cell selector all cells of a
160
160
  * matching notebook document will be synced.
161
161
  *
@@ -214,7 +214,7 @@ export declare namespace NotebookDocumentSyncRegistrationType {
214
214
  const type: RegistrationType<NotebookDocumentSyncRegistrationOptions>;
215
215
  }
216
216
  /**
217
- * The params sent in a open notebook document notification.
217
+ * The params sent in an open notebook document notification.
218
218
  *
219
219
  * @since 3.17.0
220
220
  */
@@ -2,13 +2,13 @@ import { HandlerResult, RequestHandler } from 'vscode-jsonrpc';
2
2
  import { Range, URI } from 'vscode-languageserver-types';
3
3
  import { ProtocolRequestType } from './messages';
4
4
  /**
5
- * Client capabilities for the show document request.
5
+ * Client capabilities for the showDocument request.
6
6
  *
7
7
  * @since 3.16.0
8
8
  */
9
9
  export interface ShowDocumentClientCapabilities {
10
10
  /**
11
- * The client has support for the show document
11
+ * The client has support for the showDocument
12
12
  * request.
13
13
  */
14
14
  support: boolean;
@@ -33,7 +33,7 @@ export interface ShowDocumentParams {
33
33
  * An optional property to indicate whether the editor
34
34
  * showing the document should take focus or not.
35
35
  * Clients might ignore this property if an external
36
- * program in started.
36
+ * program is started.
37
37
  */
38
38
  takeFocus?: boolean;
39
39
  /**
@@ -45,7 +45,7 @@ export interface ShowDocumentParams {
45
45
  selection?: Range;
46
46
  }
47
47
  /**
48
- * The result of an show document request.
48
+ * The result of a showDocument request.
49
49
  *
50
50
  * @since 3.16.0
51
51
  */
@@ -3,20 +3,26 @@ import { RequestHandler0, NotificationHandler, HandlerResult, CancellationToken
3
3
  import { ProtocolRequestType0, ProtocolNotificationType } from './messages';
4
4
  export interface WorkspaceFoldersInitializeParams {
5
5
  /**
6
- * The actual configured workspace folders.
6
+ * The workspace folders configured in the client when the server starts.
7
+ *
8
+ * This property is only available if the client supports workspace folders.
9
+ * It can be `null` if the client supports workspace folders but none are
10
+ * configured.
11
+ *
12
+ * @since 3.6.0
7
13
  */
8
14
  workspaceFolders?: WorkspaceFolder[] | null;
9
15
  }
10
16
  export interface WorkspaceFoldersServerCapabilities {
11
17
  /**
12
- * The Server has support for workspace folders
18
+ * The server has support for workspace folders
13
19
  */
14
20
  supported?: boolean;
15
21
  /**
16
22
  * Whether the server wants to receive workspace folder
17
23
  * change notifications.
18
24
  *
19
- * If a strings is provided the string is treated as a ID
25
+ * If a string is provided the string is treated as an ID
20
26
  * under which the notification is registered on the client
21
27
  * side. The ID can be used to unregister for these events
22
28
  * using the `client/unregisterCapability` request.
@@ -177,7 +177,8 @@
177
177
  "name": {
178
178
  "enum": [
179
179
  "string",
180
- "integer"
180
+ "integer",
181
+ "uinteger"
181
182
  ],
182
183
  "type": "string"
183
184
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vscode-languageserver-protocol",
3
3
  "description": "VSCode Language Server Protocol implementation",
4
- "version": "3.17.2-next.2",
4
+ "version": "3.17.2-next.5",
5
5
  "author": "Microsoft Corporation",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -19,10 +19,10 @@
19
19
  "typings": "./lib/common/api.d.ts",
20
20
  "dependencies": {
21
21
  "vscode-jsonrpc": "8.0.2-next.1",
22
- "vscode-languageserver-types": "3.17.2-next.1"
22
+ "vscode-languageserver-types": "3.17.2-next.2"
23
23
  },
24
24
  "scripts": {
25
- "prepublishOnly": "git clean -xfd . && npm install && npm run clean && npm run compile && npm test",
25
+ "prepublishOnly": "git clean -xfd . && npm install && npm run clean && npm run compile && npm test && cd .. && npm run generate:metaModel && npm run generate:metaModelSchema && cd ./protocol",
26
26
  "postpublish": "node ../build/npm/post-publish.js",
27
27
  "preversion": "npm test",
28
28
  "compile": "node ../build/bin/tsc -b ./tsconfig.json",