GitHub - Disable command & view in codespaces (#160546)

Disable command & view in codespaces
This commit is contained in:
Ladislau Szomoru 2022-09-09 20:22:39 +02:00 committed by GitHub
parent 9c9eb26fa0
commit df51f5af27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -2731,7 +2731,7 @@
{
"view": "scm",
"contents": "%view.workbench.scm.folder%",
"when": "config.git.enabled && !git.missing && workbenchState == folder",
"when": "config.git.enabled && !git.missing && workbenchState == folder && remoteName != 'codespaces'",
"enablement": "git.state == initialized",
"group": "5_scm@1"
},

View file

@ -59,7 +59,7 @@
"commandPalette": [
{
"command": "github.publish",
"when": "git-base.gitEnabled"
"when": "git-base.gitEnabled && remoteName != 'codespaces'"
},
{
"command": "github.copyVscodeDevLink",