SCM - Add "Open on GitHub" action to history item hover (#237893)

This commit is contained in:
Ladislau Szomoru
2025-01-14 15:10:20 +01:00
committed by GitHub
parent dfda5c798e
commit 924d7a84bf
5 changed files with 46 additions and 19 deletions

View File

@@ -58,7 +58,7 @@
"icon": "$(globe)"
},
{
"command": "github.openOnGitHub2",
"command": "github.graph.openOnGitHub",
"title": "Open on GitHub",
"icon": "$(github)"
}
@@ -79,7 +79,7 @@
"when": "git-base.gitEnabled && workspaceFolderCount != 0 && remoteName != 'codespaces'"
},
{
"command": "github.openOnGitHub2",
"command": "github.graph.openOnGitHub",
"when": "false"
},
{
@@ -141,10 +141,17 @@
],
"scm/historyItem/context": [
{
"command": "github.openOnGitHub2",
"command": "github.graph.openOnGitHub",
"when": "github.hasGitHubRepo",
"group": "0_view@2"
}
],
"scm/historyItem/hover": [
{
"command": "github.graph.openOnGitHub",
"when": "github.hasGitHubRepo",
"group": "1_open@1"
}
]
},
"configuration": [