struct LSP::TextDocumentSyncOptions

Included Modules

Defined in:

lsp/text_document_sync.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
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) #

[View source]

Instance Method Detail

def change : TextDocumentSyncKind | Nil #

[View source]
def change=(change : TextDocumentSyncKind | Nil) #

[View source]
def open_close : Bool | Nil #

[View source]
def open_close=(open_close : Bool | Nil) #

[View source]
def save : SaveOptions | Bool | Nil #

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


[View source]
def save=(save : SaveOptions | Bool | Nil) #

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


[View source]
def will_save : Bool | Nil #

[View source]
def will_save=(will_save : Bool | Nil) #

[View source]
def will_save_wait_until : Bool | Nil #

[View source]
def will_save_wait_until=(will_save_wait_until : Bool | Nil) #

[View source]