class

LSProtocol::TextDocumentChangeRegistrationOptions

Inherits JSON::Serializable / Reference / Object

Describe options to be used when registered for text document change events.

Constructors

new(document_selector : DocumentSelector | Nil, sync_kind : TextDocumentSyncKind | Nil)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

document_selector

A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

Source
sync_kind

How documents are synced to the server.

Source