struct LSP::TextDocumentSyncOptions

Included Modules

Defined in:

lsp/protocol/text_document_sync_options.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(will_save_wait_until : Bool, open_close : Bool, will_save : Bool, change : LSP::TextDocumentSyncKind, save : LSP::SaveOptions) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def change : TextDocumentSyncKind #

Change notifications are sent to the server. See TextDocumentSyncKind.None, TextDocumentSyncKind.Full and TextDocumentSyncKind.Incremental. If omitted it defaults to TextDocumentSyncKind.None.


[View source]
def 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.


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

Open and close notifications are sent to the server.


[View source]
def open_close? : Bool #

Open and close notifications are sent to the server.


[View source]
def save : SaveOptions #

Save notifications are sent to the server.


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

Save notifications are sent to the server.


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

Will save notifications are sent to the server.


[View source]
def will_save? : Bool #

Will save notifications are sent to the server.


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

Will save wait until requests are sent to the server.


[View source]
def will_save_wait_until? : Bool #

Will save wait until requests are sent to the server.


[View source]