struct

LSP::Data::ServerCapabilities::TextDocumentSyncOptions

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
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)

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.

Source
open_close=(open_close : Bool)

Open and close notifications are sent to the server.

Source
save

Save notifications are sent to the server.

Source
save=(save : SaveOptions | Nil)

Save notifications are sent to the server.

Source
will_save

Will save notifications are sent to the server.

Source
will_save=(will_save : Bool)

Will save notifications are sent to the server.

Source
will_save_wait_until

Will save wait until requests are sent to the server.

Source
will_save_wait_until=(will_save_wait_until : Bool)

Will save wait until requests are sent to the server.

Source