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

    Hierarchy

    • Workspace
      • TheiaWorkspace
    Index

    Constructors

    Accessors

    • get configuration(): null | URI

      the location of the workspace configuration

      Returns null | URI

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

      the location of the workspace configuration

      Parameters

      • configuration: null | URI

      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

    Methods

    • Parameters

      • resource: URI

      Returns null | IWorkspaceFolder

    • Returns IWorkspace

    • Parameters

      • workspace: Workspace

      Returns void