mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 20:13:32 +01:00
fixes #40439
This commit is contained in:
@@ -68,6 +68,15 @@
|
||||
"dark": "resources/icons/dark/open-file.svg"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "git.openFile2",
|
||||
"title": "%command.openFile%",
|
||||
"category": "Git",
|
||||
"icon": {
|
||||
"light": "resources/icons/light/open-file-mono.svg",
|
||||
"dark": "resources/icons/dark/open-file-mono.svg"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "git.openHEADFile",
|
||||
"title": "%command.openHEADFile%",
|
||||
@@ -369,6 +378,10 @@
|
||||
"command": "git.revertChange",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "git.openFile2",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "git.unstage",
|
||||
"when": "gitOpenRepositoryCount != 0"
|
||||
@@ -712,7 +725,7 @@
|
||||
"group": "inline"
|
||||
},
|
||||
{
|
||||
"command": "git.openFile",
|
||||
"command": "git.openFile2",
|
||||
"when": "scmProvider == git && scmResourceGroup == merge",
|
||||
"group": "inline0"
|
||||
},
|
||||
@@ -742,7 +755,7 @@
|
||||
"group": "inline"
|
||||
},
|
||||
{
|
||||
"command": "git.openFile",
|
||||
"command": "git.openFile2",
|
||||
"when": "scmProvider == git && scmResourceGroup == index",
|
||||
"group": "inline0"
|
||||
},
|
||||
@@ -782,7 +795,7 @@
|
||||
"group": "inline"
|
||||
},
|
||||
{
|
||||
"command": "git.openFile",
|
||||
"command": "git.openFile2",
|
||||
"when": "scmProvider == git && scmResourceGroup == workingTree",
|
||||
"group": "inline0"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user