From 41d01e6f9b1c947eac6e5d2542a1127bc216fc1f Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Tue, 6 Feb 2024 22:50:30 -0800 Subject: [PATCH] Disable some share context menus in editor playground --- extensions/github/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/github/package.json b/extensions/github/package.json index 1e5e886cb42c6..5596a2c055704 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" } ],