Selaa lähdekoodia

Hides commands from palette when unavailable

main
Eric Amodio 7 vuotta sitten
vanhempi
commit
ea2adcd919
1 muutettua tiedostoa jossa 14 lisäystä ja 14 poistoa
  1. +14
    -14
      package.json

+ 14
- 14
package.json Näytä tiedosto

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

Ladataan…
Peruuta
Tallenna