mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
GitHub - Disable command & view in codespaces (#160546)
Disable command & view in codespaces
This commit is contained in:
parent
9c9eb26fa0
commit
df51f5af27
|
@ -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"
|
||||
},
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
"commandPalette": [
|
||||
{
|
||||
"command": "github.publish",
|
||||
"when": "git-base.gitEnabled"
|
||||
"when": "git-base.gitEnabled && remoteName != 'codespaces'"
|
||||
},
|
||||
{
|
||||
"command": "github.copyVscodeDevLink",
|
||||
|
|
Loading…
Reference in a new issue