mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
GitHub - add "Open on GitHub" action to timeline context menu (#238144)
This commit is contained in:
@@ -32,7 +32,8 @@
|
||||
"contribShareMenu",
|
||||
"contribSourceControlHistoryItemMenu",
|
||||
"scmHistoryProvider",
|
||||
"shareProvider"
|
||||
"shareProvider",
|
||||
"timeline"
|
||||
],
|
||||
"contributes": {
|
||||
"commands": [
|
||||
@@ -61,6 +62,11 @@
|
||||
"command": "github.graph.openOnGitHub",
|
||||
"title": "%command.openOnGitHub%",
|
||||
"icon": "$(github)"
|
||||
},
|
||||
{
|
||||
"command": "github.timeline.openOnGitHub",
|
||||
"title": "%command.openOnGitHub%",
|
||||
"icon": "$(github)"
|
||||
}
|
||||
],
|
||||
"continueEditSession": [
|
||||
@@ -97,6 +103,10 @@
|
||||
{
|
||||
"command": "github.openOnVscodeDev",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "github.timeline.openOnGitHub",
|
||||
"when": "false"
|
||||
}
|
||||
],
|
||||
"file/share": [
|
||||
@@ -152,6 +162,13 @@
|
||||
"when": "github.hasGitHubRepo",
|
||||
"group": "1_open@1"
|
||||
}
|
||||
],
|
||||
"timeline/item/context": [
|
||||
{
|
||||
"command": "github.timeline.openOnGitHub",
|
||||
"group": "1_actions@3",
|
||||
"when": "github.hasGitHubRepo && timelineItem =~ /git:file:commit\\b/"
|
||||
}
|
||||
]
|
||||
},
|
||||
"configuration": [
|
||||
|
||||
Reference in New Issue
Block a user