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

    Implements

    Index

    Constructors

    Properties

    onDidChangeContents: Event<void> = ...
    onDidChangeContentsEmitter: Emitter<void> = ...
    onDidChangeReadOnly: Event<boolean | MarkdownString> = ...
    onDidChangeReadonlyEmitter: Emitter<boolean | MarkdownString> = ...
    uri: URI

    Accessors

    Methods

    • Rewrites the complete content for this resource. If a resource does not exist it will be created.

      If a resource supports versioning clients can pass some version to check against it, if it is not provided latest version is used.

      It updates version and encoding to latest.

      Parameters

      • contents: string

      Returns Promise<void>

      ResourceError.OutOfSync if latest resource version is out of sync with the given