enum LSP::Data::TextDocumentSaveReason

Defined in:

lsp/data/text_document_save_reason.cr

Enum Members

Manual = 1

Manually triggered, e.g. by the user pressing save, by starting debugging, or by an API call.

AfterDelay = 2

Automatic after a delay.

FocusOut = 3

When the editor lost focus.

Constructors

Instance Method Summary

Constructor Detail

def self.new(*args) #

[View source]

Instance Method Detail

def after_delay? #

[View source]
def focus_out? #

[View source]
def manual? #

[View source]
def to_json(*args) #

[View source]