class LSProtocol::NotebookDocumentFilterWithCells
- LSProtocol::NotebookDocumentFilterWithCells
- Reference
- Object
Overview
@since 3.18.0
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(pull : JSON::PullParser)
- .new(cells : Array(NotebookCellLanguage) | Nil, notebook : NotebookDocumentFilter | String | Nil = nil)
Instance Method Summary
-
#cells : Array(NotebookCellLanguage)
The cells of the matching notebook to be synced.
-
#notebook : NotebookDocumentFilter | String | Nil
The notebook to be synced If a string value is provided it matches against the notebook type.
Constructor Detail
def self.new(cells : Array(NotebookCellLanguage) | Nil, notebook : NotebookDocumentFilter | String | Nil = nil)
#
Instance Method Detail
def notebook : NotebookDocumentFilter | String | Nil
#
The notebook to be synced If a string value is provided it matches against the notebook type. '*' matches every notebook.