mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
vscode.dev links in share and editor gutter menus (#176104)
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
},
|
||||
"enabledApiProposals": [
|
||||
"contribShareMenu",
|
||||
"contribEditorLineNumberMenu",
|
||||
"contribEditSessions"
|
||||
],
|
||||
"contributes": {
|
||||
@@ -43,6 +44,10 @@
|
||||
"command": "github.copyVscodeDevLinkFile",
|
||||
"title": "Copy vscode.dev Link"
|
||||
},
|
||||
{
|
||||
"command": "github.copyVscodeDevLinkWithoutRange",
|
||||
"title": "Copy vscode.dev Link"
|
||||
},
|
||||
{
|
||||
"command": "github.openOnVscodeDev",
|
||||
"title": "Open in vscode.dev",
|
||||
@@ -72,6 +77,10 @@
|
||||
"command": "github.copyVscodeDevLinkFile",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "github.copyVscodeDevLinkWithoutRange",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "github.openOnVscodeDev",
|
||||
"when": "false"
|
||||
@@ -90,7 +99,29 @@
|
||||
"when": "github.hasGitHubRepo && resourceScheme != untitled",
|
||||
"group": "0_vscode@0"
|
||||
}
|
||||
],
|
||||
"explorer/context/share": [
|
||||
{
|
||||
"command": "github.copyVscodeDevLinkWithoutRange",
|
||||
"when": "github.hasGitHubRepo && resourceScheme != untitled",
|
||||
"group": "0_vscode@0"
|
||||
}
|
||||
],
|
||||
"editor/lineNumber/context": [
|
||||
{
|
||||
"command": "github.copyVscodeDevLink",
|
||||
"when": "github.hasGitHubRepo && resourceScheme != untitled",
|
||||
"group": "1_cutcopypaste@2"
|
||||
}
|
||||
],
|
||||
"editor/title/context/share": [
|
||||
{
|
||||
"command": "github.copyVscodeDevLinkWithoutRange",
|
||||
"when": "github.hasGitHubRepo && resourceScheme != untitled",
|
||||
"group": "0_vscode@0"
|
||||
}
|
||||
]
|
||||
|
||||
},
|
||||
"configuration": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user