mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
SCM - Add "Open on GitHub" action to history item hover (#237893)
This commit is contained in:
@@ -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": [
|
||||
|
||||
Reference in New Issue
Block a user