mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 10:08:49 +01:00
Add Git: Delete action to run git rm command on the current document (#285411)
This commit is contained in:
@@ -321,6 +321,13 @@
|
||||
"icon": "$(discard)",
|
||||
"enablement": "!operationInProgress"
|
||||
},
|
||||
{
|
||||
"command": "git.delete",
|
||||
"title": "%command.delete%",
|
||||
"category": "Git",
|
||||
"icon": "$(trash)",
|
||||
"enablement": "!operationInProgress"
|
||||
},
|
||||
{
|
||||
"command": "git.commit",
|
||||
"title": "%command.commit%",
|
||||
@@ -1297,6 +1304,10 @@
|
||||
"command": "git.rename",
|
||||
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && resourceScheme == file && scmActiveResourceRepository"
|
||||
},
|
||||
{
|
||||
"command": "git.delete",
|
||||
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && resourceScheme == file"
|
||||
},
|
||||
{
|
||||
"command": "git.commit",
|
||||
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
|
||||
@@ -3303,6 +3314,11 @@
|
||||
"description": "%config.confirmSync%",
|
||||
"default": true
|
||||
},
|
||||
"git.confirmCommittedDelete": {
|
||||
"type": "boolean",
|
||||
"description": "%config.confirmCommittedDelete%",
|
||||
"default": true
|
||||
},
|
||||
"git.countBadge": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
|
||||
Reference in New Issue
Block a user