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

    Interface CreateFileOptions

    interface CreateFileOptions {
        fromUserGesture?: boolean;
        overwrite?: boolean;
    }

    Hierarchy (View Summary)

    Index
    fromUserGesture?: boolean

    Indicates that a user action triggered the opening, e.g. via mouse or keyboard use. Default is true.

    overwrite?: boolean

    Overwrite the file to create if it already exists on disk. Otherwise an error will be thrown (FILE_MODIFIED_SINCE).