LSProtocol::NotebookDocument
Inherits JSON::Serializable / Reference / Object
A notebook document.
@since 3.17.0
Constructors
new(cells : Array(NotebookCell) | Nil, notebook_type : String | Nil, uri : URI | Nil, version : Int32 | Nil, metadata : LSPObject | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
metadata
Additional metadata stored with the notebook document.
Note: should always be an object literal (e.g. LSPObject)
version
The version number of this document (it will increase after each change, including undo/redo).