Represents reasons why a text document is saved.

Variables

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

Automatic after a delay.

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

When the editor lost focus.

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

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