Browse Source

Hides commands that should be when disabled

main
Eric Amodio 4 years ago
parent
commit
5060c2cc1e
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      package.json

+ 8
- 0
package.json View File

@ -5066,6 +5066,10 @@
"when": "gitlens:enabled" "when": "gitlens:enabled"
}, },
{ {
"command": "gitlens.addAuthors",
"when": "gitlens:enabled"
},
{
"command": "gitlens.connectRemoteProvider", "command": "gitlens.connectRemoteProvider",
"when": "config.gitlens.integrations.enabled && gitlens:hasRichRemotes && !gitlens:hasConnectedRemotes" "when": "config.gitlens.integrations.enabled && gitlens:hasRichRemotes && !gitlens:hasConnectedRemotes"
}, },
@ -5142,6 +5146,10 @@
"when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:activeFileStatus =~ /remotes/" "when": "gitlens:activeFileStatus =~ /blameable/ && gitlens:activeFileStatus =~ /remotes/"
}, },
{ {
"command": "gitlens.openFileFromRemote",
"when": "gitlens:enabled"
},
{
"command": "gitlens.openFileOnRemote", "command": "gitlens.openFileOnRemote",
"when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/" "when": "gitlens:activeFileStatus =~ /tracked/ && gitlens:activeFileStatus =~ /remotes/"
}, },

Loading…
Cancel
Save