class

LSProtocol::NotebookDocumentSyncRegistrationOptions

Inherits JSON::Serializable / Reference / Object

Registration options specific to a notebook.

@since 3.17.0

Constructors

new(pull : JSON::PullParser)
Source
new(notebook_selector : Array(NotebookDocumentFilterWithCells | NotebookDocumentFilterWithNotebook) | Nil, id : String | Nil = nil, save : Bool | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

id

The id used to register the request. The id can be used to deregister the request again. See also Registration#id.

Source
notebook_selector

The notebooks to be synced

Source
save

Whether save notification should be forwarded to the server. Will only be honored if mode === notebook.

Source