This commit is contained in:
Joao Moreno
2017-12-18 16:04:14 +01:00
parent 4786527cdf
commit 590d36f948
5 changed files with 24 additions and 6 deletions

View File

@@ -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"
},