class LSProtocol::NotebookCellTextDocumentFilter
- LSProtocol::NotebookCellTextDocumentFilter
- Reference
- Object
Overview
A notebook cell text document filter denotes a cell text document by different properties.
@since 3.17.0
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(pull : JSON::PullParser)
- .new(notebook : NotebookDocumentFilter | String | Nil, language : String | Nil = nil)
Instance Method Summary
-
#language : String | Nil
A language id like
python
. -
#notebook : NotebookDocumentFilter | String
A filter that matches against the notebook containing the notebook cell.
Constructor Detail
Instance Method Detail
def language : String | Nil
#
A language id like python
.
Will be matched against the language id of the notebook cell document. '*' matches every language.
def notebook : NotebookDocumentFilter | String
#
A filter that matches against the notebook containing the notebook cell. If a string value is provided it matches against the notebook type. '*' matches every notebook.