@@ -5924,8 +5924,12 @@ _Client Capability_:
5924
5924
export interface CodeLensWorkspaceClientCapabilities {
5925
5925
/**
5926
5926
* Whether the client implementation supports a refresh request sent from the
5927
- * server to the client. This is useful if a server detects a change which
5928
- * requires a re-calculation of all code lenses.
5927
+ * server to the client.
5928
+ *
5929
+ * Note that this event is global and will force the client to refresh all
5930
+ * code lenses currently shown. It should be used with absolute care and is
5931
+ * useful for situation where a server for example detect a project wide
5932
+ * change that requires such a calculation.
5929
5933
*/
5930
5934
refreshSupport? : boolean ;
5931
5935
}
@@ -6446,6 +6450,13 @@ _Client Capability_:
6446
6450
* property type: ` RenameClientCapabilities ` defined as follows:
6447
6451
6448
6452
``` typescript
6453
+ export namespace PrepareSupportDefaultBehavior {
6454
+ /**
6455
+ * The client's default behavior is to select the identifier
6456
+ * according the to language's syntax rule.
6457
+ */
6458
+ export const Identifier: 1 = 1 ;
6459
+ }
6449
6460
export interface RenameClientCapabilities {
6450
6461
/**
6451
6462
* Whether rename supports dynamic registration.
@@ -6464,9 +6475,12 @@ export interface RenameClientCapabilities {
6464
6475
* Client supports the default behavior result
6465
6476
* (`{ defaultBehavior: boolean }`).
6466
6477
*
6478
+ * The value indicates the default behavior used by the
6479
+ * client.
6480
+ *
6467
6481
* @since version 3.16.0
6468
6482
*/
6469
- prepareSupportDefaultBehavior? : boolean ;
6483
+ prepareSupportDefaultBehavior? : PrepareSupportDefaultBehavior ;
6470
6484
6471
6485
/**
6472
6486
* Whether th client honors the change annotations in
@@ -7376,9 +7390,12 @@ _Client Capability_:
7376
7390
export interface SemanticTokensWorkspaceClientCapabilities {
7377
7391
/**
7378
7392
* Whether the client implementation supports a refresh request sent from
7379
- * the server to the client. This is useful if a server detects a project
7380
- * wide configuration change which requires a re-calculation of all semantic
7381
- * tokens provided by the server issuing the request.
7393
+ * the server to the client.
7394
+ *
7395
+ * Note that this event is global and will force the client to refresh all
7396
+ * semantic tokens currently shown. It should be used with absolute care
7397
+ * and is useful for situation where a server for example detect a project
7398
+ * wide change that requires such a calculation.
7382
7399
*/
7383
7400
refreshSupport? : boolean ;
7384
7401
}
0 commit comments