Disable some share context menus in editor playground (#204566)

This commit is contained in:
Matt Bierner 2024-02-07 00:05:51 -08:00 committed by GitHub
parent f8546bc73f
commit 64cd658cac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -98,14 +98,14 @@
"editor/context/share": [ "editor/context/share": [
{ {
"command": "github.copyVscodeDevLink", "command": "github.copyVscodeDevLink",
"when": "github.hasGitHubRepo && resourceScheme != untitled && remoteName != 'codespaces'", "when": "github.hasGitHubRepo && resourceScheme != untitled && !isInEmbeddedEditor && remoteName != 'codespaces'",
"group": "0_vscode@0" "group": "0_vscode@0"
} }
], ],
"explorer/context/share": [ "explorer/context/share": [
{ {
"command": "github.copyVscodeDevLinkWithoutRange", "command": "github.copyVscodeDevLinkWithoutRange",
"when": "github.hasGitHubRepo && resourceScheme != untitled && remoteName != 'codespaces'", "when": "github.hasGitHubRepo && resourceScheme != untitled && !isInEmbeddedEditor && remoteName != 'codespaces'",
"group": "0_vscode@0" "group": "0_vscode@0"
} }
], ],