Theia API Documentation v1.77.0
    Preparing search index...
    • Converts a task DTO to a task.

      Parameters

      • taskDto: TaskDto
      • getWorkspaceFolder: (uri: Uri) => WorkspaceFolder | undefined

        returns the workspace folder that contains the given URI, so that a folder scoped task has the folder from workspace.workspaceFolders as its scope

      Returns Task | undefined

      the task, or undefined if the task is scoped to a folder that is not in a workspace folder