Theia API Documentation v1.70.0
    Preparing search index...

    Contribution point for checking whether a given URI has errors. When files.autoSaveWhenNoErrors is enabled, auto-save will be suppressed for files where any registered checker reports errors.

    interface SaveErrorChecker {
        onDidErrorStateChange: Event<void>;
        hasErrors(uri: URI): boolean;
    }

    Implemented by

    Index

    Properties

    onDidErrorStateChange: Event<void>

    Event fired when the error state may have changed (e.g. diagnostics updated). The SaveableService listens to this to re-evaluate auto-save for dirty widgets.

    Methods