class

LSProtocol::TextDocumentSyncOptions

Inherits JSON::Serializable / Reference / Object

Constructors

new(pull : JSON::PullParser)
Source
new(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)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

change

Change notifications are sent to the server. See TextDocumentSyncKind.None, TextDocumentSyncKind.Full and TextDocumentSyncKind.Incremental. If omitted it defaults to TextDocumentSyncKind.None.

Source
open_close

Open and close notifications are sent to the server. If omitted open close notification should not be sent.

Source
save

If present save notifications are sent to the server. If omitted the notification should not be sent.

Source
will_save

If present will save notifications are sent to the server. If omitted the notification should not be sent.

Source
will_save_wait_until

If present will save wait until requests are sent to the server. If omitted the request should not be sent.

Source