mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 09:08:53 +01:00
related to #42532
This commit is contained in:
@@ -809,7 +809,7 @@
|
|||||||
{
|
{
|
||||||
"command": "git.openFile",
|
"command": "git.openFile",
|
||||||
"group": "navigation",
|
"group": "navigation",
|
||||||
"when": "config.git.enabled && gitOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme =~ /git|file/"
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme =~ /^git$|^file$/"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "git.openChange",
|
"command": "git.openChange",
|
||||||
@@ -819,17 +819,17 @@
|
|||||||
{
|
{
|
||||||
"command": "git.stageSelectedRanges",
|
"command": "git.stageSelectedRanges",
|
||||||
"group": "2_git@1",
|
"group": "2_git@1",
|
||||||
"when": "config.git.enabled && gitOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme =~ /git|file/"
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme =~ /^git$|^file$/"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "git.unstageSelectedRanges",
|
"command": "git.unstageSelectedRanges",
|
||||||
"group": "2_git@2",
|
"group": "2_git@2",
|
||||||
"when": "config.git.enabled && gitOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme =~ /git|file/"
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme =~ /^git$|^file$/"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "git.revertSelectedRanges",
|
"command": "git.revertSelectedRanges",
|
||||||
"group": "2_git@3",
|
"group": "2_git@3",
|
||||||
"when": "config.git.enabled && gitOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme =~ /git|file/"
|
"when": "config.git.enabled && gitOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme =~ /^git$|^file$/"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"scm/change/title": [
|
"scm/change/title": [
|
||||||
|
|||||||
Reference in New Issue
Block a user