Browse Source

Limits scm/resourceGroup/context contributions

main
Eric Amodio 4 years ago
parent
commit
49815c31e7
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      package.json

+ 6
- 6
package.json View File

@ -5754,32 +5754,32 @@
"scm/resourceGroup/context": [ "scm/resourceGroup/context": [
{ {
"command": "gitlens.stashSave", "command": "gitlens.stashSave",
"when": "gitlens:enabled && !gitlens:readonly && config.gitlens.menus.scmGroupInline.stash",
"when": "gitlens:enabled && !gitlens:readonly && config.gitlens.menus.scmGroupInline.stash && scmProvider == git && scmResourceGroup =~ /^(workingTree|index)$/",
"group": "inline@-1" "group": "inline@-1"
}, },
{ {
"command": "gitlens.stashSave", "command": "gitlens.stashSave",
"when": "gitlens:enabled && !gitlens:readonly && config.gitlens.menus.scmGroup.stash",
"when": "gitlens:enabled && !gitlens:readonly && config.gitlens.menus.scmGroup.stash && scmProvider == git && scmResourceGroup =~ /^(workingTree|index)$/",
"group": "1_modification@100" "group": "1_modification@100"
}, },
{ {
"command": "gitlens.openChangedFiles", "command": "gitlens.openChangedFiles",
"when": "gitlens:enabled && config.gitlens.menus.scmGroup.openClose",
"when": "gitlens:enabled && config.gitlens.menus.scmGroup.openClose && scmProvider == git && scmResourceGroup =~ /^(workingTree|index)$/",
"group": "2_gitlens@1" "group": "2_gitlens@1"
}, },
{ {
"command": "gitlens.closeUnchangedFiles", "command": "gitlens.closeUnchangedFiles",
"when": "gitlens:enabled && config.gitlens.menus.scmGroup.openClose",
"when": "gitlens:enabled && config.gitlens.menus.scmGroup.openClose && scmProvider == git && scmResourceGroup =~ /^(workingTree|index)$/",
"group": "2_gitlens@2" "group": "2_gitlens@2"
}, },
{ {
"command": "gitlens.externalDiffAll", "command": "gitlens.externalDiffAll",
"when": "gitlens:enabled && config.gitlens.menus.scmGroup.compare",
"when": "gitlens:enabled && config.gitlens.menus.scmGroup.compare && scmProvider == git && scmResourceGroup =~ /^(workingTree|index)$/",
"group": "3_gitlens@3" "group": "3_gitlens@3"
}, },
{ {
"command": "gitlens.diffDirectoryWithHead", "command": "gitlens.diffDirectoryWithHead",
"when": "gitlens:enabled && config.gitlens.menus.scmGroup.compare",
"when": "gitlens:enabled && config.gitlens.menus.scmGroup.compare && scmProvider == git && scmResourceGroup =~ /^(workingTree|index)$/",
"group": "3_gitlens@4" "group": "3_gitlens@4"
} }
], ],

Loading…
Cancel
Save