diff --git a/extensions/git/package.json b/extensions/git/package.json index 404f79ad5ac227ff8340277ec9b59ae62a538dd1..653b9729764b3ab8bfbc29db28295feb49b62e22 100644 --- a/extensions/git/package.json +++ b/extensions/git/package.json @@ -510,12 +510,12 @@ { "command": "git.openFile", "group": "navigation", - "when": "isInDiffEditor" + "when": "isInDiffEditor && resourceScheme == file" }, { "command": "git.openChange", "group": "navigation", - "when": "!isInDiffEditor" + "when": "!isInDiffEditor && resourceScheme == file" } ] },