Skip to content

Add extension support for view-level progress indicators #92421

@eamodio

Description

@eamodio

Refs: #92135

Now that we can support view-level progress indicators, we should expose this ability to extensions.

Current proposal:

//#region https://github.com/microsoft/vscode/issues/92421
export enum ProgressLocation {
/**
* Show progress for a view, as progress bar inside the view (when visible),
* and as an overlay on the activity bar icon. Doesn't support cancellation or discrete progress.
*/
View = 25,
}
export interface ProgressOptions {
/**
* The target view identifier for showing progress when using [ProgressLocation.View](#ProgressLocation.View).
*/
viewId?: string
}
//#endregion

Alternative # 1:

export interface ProgressOptions {
    location: ProgressLocation | string;
}

Alternative # 2:

export interface ProgressOptions {
    location: ProgressLocation | { viewId: string };
}

//cc @jrieken

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions