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

    Hierarchy

    • Workspace
      • TheiaWorkspace
    Index
    • get configuration(): URI | null

      the location of the workspace configuration

      Returns URI | null

    • set configuration(configuration: URI | null): void

      the location of the workspace configuration

      Parameters

      • configuration: URI | null

      Returns void

    • get folders(): WorkspaceFolder[]

      Folders in the workspace.

      Returns WorkspaceFolder[]

    • set folders(folders: WorkspaceFolder[]): void

      Folders in the workspace.

      Parameters

      • folders: WorkspaceFolder[]

      Returns void

    • get id(): string

      the unique identifier of the workspace.

      Returns string

    • get transient(): boolean

      Transient workspaces are meant to go away after being used once, e.g. a window reload of a transient workspace will open an empty window.

      Returns boolean

    • Parameters

      • resource: URI

      Returns IWorkspaceFolder | null

    • Returns IWorkspace

    • Parameters

      • workspace: Workspace

      Returns void