diff --git a/extensions/github/package.json b/extensions/github/package.json index 1e5e886cb42..5596a2c0557 100644 --- a/extensions/github/package.json +++ b/extensions/github/package.json @@ -98,14 +98,14 @@ "editor/context/share": [ { "command": "github.copyVscodeDevLink", - "when": "github.hasGitHubRepo && resourceScheme != untitled && remoteName != 'codespaces'", + "when": "github.hasGitHubRepo && resourceScheme != untitled && !isInEmbeddedEditor && remoteName != 'codespaces'", "group": "0_vscode@0" } ], "explorer/context/share": [ { "command": "github.copyVscodeDevLinkWithoutRange", - "when": "github.hasGitHubRepo && resourceScheme != untitled && remoteName != 'codespaces'", + "when": "github.hasGitHubRepo && resourceScheme != untitled && !isInEmbeddedEditor && remoteName != 'codespaces'", "group": "0_vscode@0" } ],