struct

LSP::TextDocumentSyncOptions

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
Source
new(change : LSP::TextDocumentSyncKind | Nil = TextDocumentSyncKind::None, open_close : Bool | Nil = false, will_save : Bool | Nil = false, will_save_wait_until : Bool | Nil = false, save : Bool | LSP::SaveOptions | 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
change=(change : TextDocumentSyncKind | Nil)

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
open_close=(open_close : Bool | Nil)

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
save=(save : SaveOptions | Bool | Nil)

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=(will_save : Bool | Nil)

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
will_save_wait_until=(will_save_wait_until : Bool | Nil)

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

Source