mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
✨ merge git.open* commands
This commit is contained in:
@@ -63,24 +63,6 @@
|
||||
"dark": "resources/icons/dark/open-file.svg"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "git.openChangeFromUri",
|
||||
"title": "%command.openChange%",
|
||||
"category": "Git",
|
||||
"icon": {
|
||||
"light": "resources/icons/light/open-change.svg",
|
||||
"dark": "resources/icons/dark/open-change.svg"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "git.openFileFromUri",
|
||||
"title": "%command.openFile%",
|
||||
"category": "Git",
|
||||
"icon": {
|
||||
"light": "resources/icons/light/open-file.svg",
|
||||
"dark": "resources/icons/dark/open-file.svg"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "git.stage",
|
||||
"title": "%command.stage%",
|
||||
@@ -244,20 +226,12 @@
|
||||
"command": "git.refresh",
|
||||
"when": "config.git.enabled && scmProvider == git && gitState == idle"
|
||||
},
|
||||
{
|
||||
"command": "git.openChange",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "git.openFile",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "git.openChangeFromUri",
|
||||
"when": "config.git.enabled && scmProvider == git && gitState == idle"
|
||||
},
|
||||
{
|
||||
"command": "git.openFileFromUri",
|
||||
"command": "git.openChange",
|
||||
"when": "config.git.enabled && scmProvider == git && gitState == idle"
|
||||
},
|
||||
{
|
||||
@@ -550,12 +524,12 @@
|
||||
],
|
||||
"editor/title": [
|
||||
{
|
||||
"command": "git.openFileFromUri",
|
||||
"command": "git.openFile",
|
||||
"group": "navigation",
|
||||
"when": "config.git.enabled && scmProvider == git && isInDiffEditor && resourceScheme != extension"
|
||||
},
|
||||
{
|
||||
"command": "git.openChangeFromUri",
|
||||
"command": "git.openChange",
|
||||
"group": "navigation",
|
||||
"when": "config.git.enabled && scmProvider == git && !isInDiffEditor && resourceScheme != extension"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user