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