class LSProtocol::TextDocumentSyncOptions

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

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

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

[View source]

Instance Method Detail

def change : TextDocumentSyncKind | Nil #

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 : Bool | Nil #

[View source]
def save : Bool | SaveOptions | 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_wait_until : Bool | Nil #

[View source]