Adding the 'delete branch...' function to the source control > branch section

This commit is contained in:
Luca 2021-03-09 14:13:23 +01:00 committed by Eric Amodio
parent 6c0c77926f
commit f8acb0d6f6
2 changed files with 8 additions and 4 deletions

View file

@ -1547,13 +1547,17 @@
"command": "git.branchFrom",
"group": "branch@4"
},
{
"command": "git.renameBranch",
"group": "branch@5"
},
{
"command": "git.renameBranch",
"group": "branch@5"
"command": "git.deleteBranch",
"group": "branch@6"
},
{
"command": "git.publish",
"group": "branch@6"
"group": "branch@7"
}
],
"git.remotes": [

View file

@ -158,7 +158,7 @@ export class SCMStatusController implements IWorkbenchContribution {
ariaLabel: `${ariaLabel}${command.tooltip ? ` - ${command.tooltip}` : ''}`,
tooltip,
command: command.id ? command : undefined
}, 'status.scm', localize('status.scm', "Source Control"), MainThreadStatusBarAlignment.LEFT, 10000));
}, 'status.scm', localize('status.scm', "Sourece Control"), MainThreadStatusBarAlignment.LEFT, 10000));
}
this.statusBarDisposable = disposables;