Skip to content
This repository was archived by the owner on Nov 18, 2022. It is now read-only.

Commit a54c78f

Browse files
committed
Disambiguate tasks by adding a relevant folder name
As done in a similar fasion for npm-style scripts at: https://github.com/microsoft/vscode/blob/1c3c0713f080b99977c084ee84631e1deef01383/extensions/npm/src/tasks.ts#L262
1 parent cce7725 commit a54c78f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tasks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function detectCargoTasks(target: WorkspaceFolder): Task[] {
7676
]
7777
.map(({ subcommand, group }) => ({
7878
definition: { subcommand, type: TASK_TYPE },
79-
label: `cargo ${subcommand}`,
79+
label: `cargo ${subcommand} - ${target.name}`,
8080
execution: createShellExecution({
8181
command: 'cargo',
8282
args: [subcommand],

0 commit comments

Comments
 (0)