mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 17:19:01 +01:00
GitHub - add "Open on GitHub" action to the SCM graph (#237635)
This commit is contained in:
@@ -27,9 +27,11 @@
|
||||
}
|
||||
},
|
||||
"enabledApiProposals": [
|
||||
"contribShareMenu",
|
||||
"contribEditSessions",
|
||||
"canonicalUriProvider",
|
||||
"contribEditSessions",
|
||||
"contribShareMenu",
|
||||
"contribSourceControlHistoryItemMenu",
|
||||
"scmHistoryProvider",
|
||||
"shareProvider"
|
||||
],
|
||||
"contributes": {
|
||||
@@ -54,6 +56,11 @@
|
||||
"command": "github.openOnVscodeDev",
|
||||
"title": "Open in vscode.dev",
|
||||
"icon": "$(globe)"
|
||||
},
|
||||
{
|
||||
"command": "github.openOnGitHub2",
|
||||
"title": "Open on GitHub",
|
||||
"icon": "$(github)"
|
||||
}
|
||||
],
|
||||
"continueEditSession": [
|
||||
@@ -71,6 +78,10 @@
|
||||
"command": "github.publish",
|
||||
"when": "git-base.gitEnabled && workspaceFolderCount != 0 && remoteName != 'codespaces'"
|
||||
},
|
||||
{
|
||||
"command": "github.openOnGitHub2",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "github.copyVscodeDevLink",
|
||||
"when": "false"
|
||||
@@ -127,6 +138,13 @@
|
||||
"when": "github.hasGitHubRepo && resourceScheme != untitled && remoteName != 'codespaces'",
|
||||
"group": "0_vscode@0"
|
||||
}
|
||||
],
|
||||
"scm/historyItem/context": [
|
||||
{
|
||||
"command": "github.openOnGitHub2",
|
||||
"when": "github.hasGitHubRepo",
|
||||
"group": "0_view@2"
|
||||
}
|
||||
]
|
||||
},
|
||||
"configuration": [
|
||||
|
||||
Reference in New Issue
Block a user