Interface ContributedTaskConfiguration

interface ContributedTaskConfiguration {
    _scope: TaskConfigurationScope;
    _source: string;
    dependsOn?: string | TaskIdentifier | (string | TaskIdentifier)[];
    dependsOrder?: DependsOrder;
    detail?: string;
    group?: "build" | "test" | "rebuild" | "clean" | "none" | {
        isDefault: boolean;
        kind: "build" | "test" | "rebuild" | "clean";
    };
    isBackground?: boolean;
    label: string;
    presentation?: TaskOutputPresentation;
    problemMatcher?: string | ProblemMatcherContribution | (string | ProblemMatcherContribution)[];
    runOptions?: RunOptions;
    type: string;
}

Hierarchy (view full)

Properties

_source: string

Source of the task configuration. For a configured task, it is the name of the root folder, while for a provided task, it is the name of the provider. This field is not supposed to be used in tasks.json

dependsOn?: string | TaskIdentifier | (string | TaskIdentifier)[]

The other tasks the task depend on.

dependsOrder?: DependsOrder

The order the dependsOn tasks should be executed in.

detail?: string
group?: "build" | "test" | "rebuild" | "clean" | "none" | {
    isDefault: boolean;
    kind: "build" | "test" | "rebuild" | "clean";
}

Type declaration

  • isDefault: boolean
  • kind: "build" | "test" | "rebuild" | "clean"
isBackground?: boolean

Whether the task is a background task or not.

label: string

A label that uniquely identifies a task configuration per source

presentation?: TaskOutputPresentation
problemMatcher?: string | ProblemMatcherContribution | (string | ProblemMatcherContribution)[]
runOptions?: RunOptions
type: string