Skip to main content

TextDocumentSaveReason

const

Represents reasons why a text document is saved.

const TextDocumentSaveReason: { /** * Manually triggered, e.g. by the user pressing save, by starting debugging, * or by an API call. */ readonly Manual: 1; /** * Automatic after a delay. */ readonly AfterDelay: 2; /** * When the editor lost focus. */ readonly FocusOut: 3; }

Import

import { TextDocumentSaveReason } from '@modular/sdk/view';