struct LSP::TextDocumentSyncOptions
- LSP::TextDocumentSyncOptions
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
lsp/text_document_sync.crConstructors
- .new(pull : JSON::PullParser)
- .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)
Instance Method Summary
- #change : TextDocumentSyncKind | Nil
- #change=(change : TextDocumentSyncKind | Nil)
- #open_close : Bool | Nil
- #open_close=(open_close : Bool | Nil)
-
#save : SaveOptions | Bool | Nil
If present save notifications are sent to the server.
-
#save=(save : SaveOptions | Bool | Nil)
If present save notifications are sent to the server.
- #will_save : Bool | Nil
- #will_save=(will_save : Bool | Nil)
- #will_save_wait_until : Bool | Nil
- #will_save_wait_until=(will_save_wait_until : Bool | Nil)
Constructor Detail
def self.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)
#
Instance Method Detail
def save : SaveOptions | Bool | Nil
#
If present save notifications are sent to the server. If omitted the notification should not be sent.
def save=(save : SaveOptions | Bool | Nil)
#
If present save notifications are sent to the server. If omitted the notification should not be sent.