class LSProtocol::TextDocumentChangeRegistrationOptions
- LSProtocol::TextDocumentChangeRegistrationOptions
- Reference
- Object
Overview
Describe options to be used when registered for text document change events.
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(document_selector : DocumentSelector | Nil, sync_kind : TextDocumentSyncKind | Nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#document_selector : DocumentSelector | Nil
A document selector to identify the scope of the registration.
-
#sync_kind : TextDocumentSyncKind
How documents are synced to the server.
Constructor Detail
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.