enum

LSP::Data::TextDocumentSaveReason

Inherits Enum < Comparable < Value < Object

Constants

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

new(*args)
Source

Instance methods

after_delay?

Returns true if this enum value equals AfterDelay

Source
focus_out?

Returns true if this enum value equals FocusOut

Source
manual?

Returns true if this enum value equals Manual

Source
to_json(*args)
Source