mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
Implements #206808
This commit is contained in:
committed by
Henning Dieterichs
parent
15715aedf0
commit
b7d35c8bdd
@@ -15,6 +15,7 @@
|
||||
"contribEditorContentMenu",
|
||||
"contribMergeEditorMenus",
|
||||
"contribMultiDiffEditorMenus",
|
||||
"contribDiffEditorGutterToolBarMenus",
|
||||
"contribSourceControlHistoryItemGroupMenu",
|
||||
"contribSourceControlHistoryItemMenu",
|
||||
"contribSourceControlInputBoxMenu",
|
||||
@@ -188,6 +189,18 @@
|
||||
"category": "Git",
|
||||
"enablement": "!operationInProgress"
|
||||
},
|
||||
{
|
||||
"command": "git.diff.stageHunk",
|
||||
"title": "%command.stageBlock%",
|
||||
"category": "Git",
|
||||
"icon": "$(plus)"
|
||||
},
|
||||
{
|
||||
"command": "git.diff.stageSelection",
|
||||
"title": "%command.stageSelection%",
|
||||
"category": "Git",
|
||||
"icon": "$(plus)"
|
||||
},
|
||||
{
|
||||
"command": "git.revertSelectedRanges",
|
||||
"title": "%command.revertSelectedRanges%",
|
||||
@@ -2047,6 +2060,20 @@
|
||||
"when": "scmProvider == git && scmResourceGroup == index"
|
||||
}
|
||||
],
|
||||
"diffEditor/gutter/hunk": [
|
||||
{
|
||||
"command": "git.diff.stageHunk",
|
||||
"group": "primary@10",
|
||||
"when": "diffEditorOriginalUri =~ /^git\\:.*%22ref%22%3A%22~%22%7D$/"
|
||||
}
|
||||
],
|
||||
"diffEditor/gutter/selection": [
|
||||
{
|
||||
"command": "git.diff.stageSelection",
|
||||
"group": "primary@10",
|
||||
"when": "diffEditorOriginalUri =~ /^git\\:.*%22ref%22%3A%22~%22%7D$/"
|
||||
}
|
||||
],
|
||||
"scm/change/title": [
|
||||
{
|
||||
"command": "git.stageChange",
|
||||
|
||||
Reference in New Issue
Block a user