LSProtocol::TextDocumentSyncOptions
Inherits JSON::Serializable / Reference / Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(change : TextDocumentSyncKind | Nil = nil, open_close : Bool | Nil = nil, save : Bool | SaveOptions | Nil = nil, will_save : Bool | Nil = nil, will_save_wait_until : Bool | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
change
Change notifications are sent to the server. See TextDocumentSyncKind.None, TextDocumentSyncKind.Full and TextDocumentSyncKind.Incremental. If omitted it defaults to TextDocumentSyncKind.None.
open_close
Open and close notifications are sent to the server. If omitted open close notification should not be sent.
save
If present save notifications are sent to the server. If omitted the notification should not be sent.
will_save
If present will save notifications are sent to the server. If omitted the notification should not be sent.
will_save_wait_until
If present will save wait until requests are sent to the server. If omitted the request should not be sent.