diff --git a/packages/task/src/browser/quick-open-task.ts b/packages/task/src/browser/quick-open-task.ts index ee6c57e5d701f..8d112efd9e077 100644 --- a/packages/task/src/browser/quick-open-task.ts +++ b/packages/task/src/browser/quick-open-task.ts @@ -252,7 +252,7 @@ export class TaskRunQuickOpenItem extends QuickOpenGroupItem { } if (ContributedTaskConfiguration.is(this.task)) { if (this.task._scope) { - return new URI(this.task._scope).path.toString(); + return new URI(this.task._scope).displayName; } return this.task._source; } else {