This commit is contained in:
Joao Moreno
2018-02-08 17:23:43 +01:00
parent 2860393643
commit e2aac2a65d

View File

@@ -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": [