class LSProtocol::TextDocumentSyncOptions
- LSProtocol::TextDocumentSyncOptions
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(pull : JSON::PullParser)
- .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)
Instance Method Summary
-
#change : TextDocumentSyncKind | Nil
Change notifications are sent to the server.
-
#open_close : Bool | Nil
Open and close notifications are sent to the server.
-
#save : Bool | SaveOptions | Nil
If present save notifications are sent to the server.
-
#will_save : Bool | Nil
If present will save notifications are sent to the server.
-
#will_save_wait_until : Bool | Nil
If present will save wait until requests are sent to the server.
Constructor Detail
Instance Method Detail
Change notifications are sent to the server. See TextDocumentSyncKind.None, TextDocumentSyncKind.Full and TextDocumentSyncKind.Incremental. If omitted it defaults to TextDocumentSyncKind.None.
Open and close notifications are sent to the server. If omitted open close notification should not be sent.
If present save notifications are sent to the server. If omitted the notification should not be sent.
If present will save notifications are sent to the server. If omitted the notification should not be sent.
If present will save wait until requests are sent to the server. If omitted the request should not be sent.