class LSProtocol::NotebookDocumentSyncRegistrationOptions

Overview

Registration options specific to a notebook.

@since 3.17.0

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(notebook_selector : Array(NotebookDocumentFilterWithCells | NotebookDocumentFilterWithNotebook) | Nil, id : String | Nil = nil, save : Bool | Nil = nil) #

[View source]

Instance Method Detail

def id : String | Nil #

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


[View source]

The notebooks to be synced


[View source]
def save : Bool | Nil #

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


[View source]