class LSProtocol::TextDocumentChangeRegistrationOptions

Overview

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

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(document_selector : DocumentSelector | Nil, sync_kind : TextDocumentSyncKind | Nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def document_selector : DocumentSelector | Nil #

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.


[View source]
def sync_kind : TextDocumentSyncKind #

How documents are synced to the server.


[View source]