Represents reasons why a text document is saved.

Static variables

@:value(cast 2)@:impl@:enumstaticinlineread onlyAfterDelay:TextDocumentSaveReason = 2

Automatic after a delay.

@:value(cast 3)@:impl@:enumstaticinlineread onlyFocusOut:TextDocumentSaveReason = 3

When the editor lost focus.

@:value(cast 1)@:impl@:enumstaticinlineread onlyManual:TextDocumentSaveReason = 1

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