Skip to content

Commit

Permalink
Add proposed tag
Browse files Browse the repository at this point in the history
  • Loading branch information
c-claeys committed Sep 14, 2023
1 parent c7892df commit 4aefc80
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
10 changes: 6 additions & 4 deletions protocol/metaModel.json
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,9 @@
"name": "null"
},
"messageDirection": "serverToClient",
"documentation": "@since 3.18.0",
"since": "3.18.0"
"documentation": "@since 3.18.0\n@proposed",
"since": "3.18.0",
"proposed": true
},
{
"method": "textDocument/declaration",
Expand Down Expand Up @@ -12446,8 +12447,9 @@
"name": "boolean"
},
"optional": true,
"documentation": "Whether the client implementation supports a refresh request sent from the\nserver to the client.\n\nNote that this event is global and will force the client to refresh all\nfolding ranges currently shown. It should be used with absolute care and is\nuseful for situation where a server for example detects a project wide\nchange that requires such a calculation.\n\n@since 3.18.0",
"since": "3.18.0"
"documentation": "Whether the client implementation supports a refresh request sent from the\nserver to the client.\n\nNote that this event is global and will force the client to refresh all\nfolding ranges currently shown. It should be used with absolute care and is\nuseful for situation where a server for example detects a project wide\nchange that requires such a calculation.\n\n@since 3.18.0\n@proposed",
"since": "3.18.0",
"proposed": true
}
]
},
Expand Down
2 changes: 2 additions & 0 deletions protocol/src/common/protocol.foldingRange.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export interface FoldingRangeClientCapabilities {
* change that requires such a calculation.
*
* @since 3.18.0
* @proposed
*/
refreshSupport?: boolean;
}
Expand Down Expand Up @@ -112,6 +113,7 @@ export namespace FoldingRangeRequest {

/**
* @since 3.18.0
* @proposed
*/
export namespace FoldingRangeRefreshRequest {
export const method: `workspace/foldingRange/refresh` = `workspace/foldingRange/refresh`;
Expand Down
1 change: 1 addition & 0 deletions server/src/common/foldingRange.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export interface FoldingRangeFeatureShape {
* Ask the client to refresh all folding ranges
*
* @since 3.18.0.
* @proposed
*/
refresh(): Promise<void>;

Expand Down

0 comments on commit 4aefc80

Please sign in to comment.