@@ -135,6 +135,9 @@ pub use document_link::*;
135
135
mod document_symbols;
136
136
pub use document_symbols:: * ;
137
137
138
+ mod notebook;
139
+ pub use notebook:: * ;
140
+
138
141
mod file_operations;
139
142
pub use file_operations:: * ;
140
143
@@ -1594,6 +1597,12 @@ pub struct ClientCapabilities {
1594
1597
#[ serde( skip_serializing_if = "Option::is_none" ) ]
1595
1598
pub text_document : Option < TextDocumentClientCapabilities > ,
1596
1599
1600
+ /// Capabilities specific to the notebook document support.
1601
+ ///
1602
+ /// @since 3.17.0
1603
+ #[ serde( skip_serializing_if = "Option::is_none" ) ]
1604
+ pub notebook_document : Option < NotebookClientCapabilities > ,
1605
+
1597
1606
/// Window specific client capabilities.
1598
1607
#[ serde( skip_serializing_if = "Option::is_none" ) ]
1599
1608
pub window : Option < WindowClientCapabilities > ,
@@ -1910,6 +1919,13 @@ pub struct ServerCapabilities {
1910
1919
#[ serde( skip_serializing_if = "Option::is_none" ) ]
1911
1920
pub text_document_sync : Option < TextDocumentSyncCapability > ,
1912
1921
1922
+ /// Defines how notebook documents are synced.
1923
+ ///
1924
+ /// @since 3.17.0
1925
+ #[ serde( skip_serializing_if = "Option::is_none" ) ]
1926
+ pub notebook_document_sync :
1927
+ Option < OneOf < NotebookDocumentSyncOptions , NotebookDocumentSyncRegistrationOptions > > ,
1928
+
1913
1929
/// Capabilities specific to `textDocument/selectionRange` requests.
1914
1930
#[ serde( skip_serializing_if = "Option::is_none" ) ]
1915
1931
pub selection_range_provider : Option < SelectionRangeProviderCapability > ,
0 commit comments