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 #

Open and close notifications are sent to the server. If omitted open close notification should not be sent.


[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 #

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


[View source]
def will_save_wait_until : Bool | Nil #

If present will save wait until requests are sent to the server. If omitted the request should not be sent.


[View source]