Fixes issue with commands missing from the palette

This commit is contained in:
Eric Amodio
2017-04-12 11:00:56 -04:00
parent c05fcdc1bd
commit 6db6eff6b7

View File

@@ -497,47 +497,47 @@
}, },
{ {
"command": "gitlens.diffWithBranch", "command": "gitlens.diffWithBranch",
"when": "editorTextFocus && gitlens:isTracked" "when": "gitlens:isTracked"
}, },
{ {
"command": "gitlens.diffWithNext", "command": "gitlens.diffWithNext",
"when": "editorTextFocus && gitlens:isTracked" "when": "gitlens:isTracked"
}, },
{ {
"command": "gitlens.diffWithPrevious", "command": "gitlens.diffWithPrevious",
"when": "editorTextFocus && gitlens:isTracked" "when": "gitlens:isTracked"
}, },
{ {
"command": "gitlens.diffLineWithPrevious", "command": "gitlens.diffLineWithPrevious",
"when": "editorTextFocus && gitlens:isBlameable" "when": "gitlens:isBlameable"
}, },
{ {
"command": "gitlens.diffWithWorking", "command": "gitlens.diffWithWorking",
"when": "editorTextFocus && gitlens:isTracked" "when": "gitlens:isTracked"
}, },
{ {
"command": "gitlens.diffLineWithWorking", "command": "gitlens.diffLineWithWorking",
"when": "editorTextFocus && gitlens:isBlameable" "when": "gitlens:isBlameable"
}, },
{ {
"command": "gitlens.showBlame", "command": "gitlens.showBlame",
"when": "editorTextFocus && gitlens:isBlameable" "when": "gitlens:isBlameable"
}, },
{ {
"command": "gitlens.toggleBlame", "command": "gitlens.toggleBlame",
"when": "editorTextFocus && gitlens:isBlameable" "when": "gitlens:isBlameable"
}, },
{ {
"command": "gitlens.toggleCodeLens", "command": "gitlens.toggleCodeLens",
"when": "editorTextFocus && gitlens:isTracked && gitlens:canToggleCodeLens" "when": "gitlens:isTracked && gitlens:canToggleCodeLens"
}, },
{ {
"command": "gitlens.showBlameHistory", "command": "gitlens.showBlameHistory",
"when": "editorTextFocus && gitlens:isBlameable" "when": "gitlens:isBlameable"
}, },
{ {
"command": "gitlens.showFileHistory", "command": "gitlens.showFileHistory",
"when": "editorTextFocus && gitlens:isTracked" "when": "gitlens:isTracked"
}, },
{ {
"command": "gitlens.showLastQuickPick", "command": "gitlens.showLastQuickPick",
@@ -553,7 +553,7 @@
}, },
{ {
"command": "gitlens.showQuickFileHistory", "command": "gitlens.showQuickFileHistory",
"when": "editorTextFocus && gitlens:isTracked" "when": "gitlens:isTracked"
}, },
{ {
"command": "gitlens.showQuickBranchHistory", "command": "gitlens.showQuickBranchHistory",
@@ -573,11 +573,11 @@
}, },
{ {
"command": "gitlens.copyShaToClipboard", "command": "gitlens.copyShaToClipboard",
"when": "editorTextFocus && gitlens:isBlameable" "when": "gitlens:isBlameable"
}, },
{ {
"command": "gitlens.copyMessageToClipboard", "command": "gitlens.copyMessageToClipboard",
"when": "editorTextFocus && gitlens:isBlameable" "when": "gitlens:isBlameable"
}, },
{ {
"command": "gitlens.closeUnchangedFiles", "command": "gitlens.closeUnchangedFiles",
@@ -589,11 +589,11 @@
}, },
{ {
"command": "gitlens.openCommitInRemote", "command": "gitlens.openCommitInRemote",
"when": "editorTextFocus && gitlens:isBlameable && gitlens:hasRemotes" "when": "gitlens:isBlameable && gitlens:hasRemotes"
}, },
{ {
"command": "gitlens.openFileInRemote", "command": "gitlens.openFileInRemote",
"when": "editorTextFocus && gitlens:isTracked && gitlens:hasRemotes" "when": "gitlens:isTracked && gitlens:hasRemotes"
}, },
{ {
"command": "gitlens.stashApply", "command": "gitlens.stashApply",