Implementation of TextDocumentSaveReason enumerationfrom Language Server Protocol

DO NOT add new properties or methods to this class that are specific to Moonshine IDE or to a particular language. Create a subclass for new properties or create a utility function for methods.

See also:

Variables

@:value(cast 2)@:enum@:implinlineread onlyAfterDelay:TextDocumentSaveReason = 2

Automatic after a delay.

@:value(cast 3)@:enum@:implinlineread onlyFocusOut:TextDocumentSaveReason = 3

When the editor lost focus.

@:value(cast 1)@:enum@:implinlineread onlyManual:TextDocumentSaveReason = 1

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