diff --git a/package.json b/package.json index 1ad1cc1..134cb30 100644 --- a/package.json +++ b/package.json @@ -10092,7 +10092,7 @@ }, { "command": "gitlens.showInCommitGraph", - "when": "viewItem =~ /gitlens:(branch|commit|stash|tag|file\\b(?=.*?\\b\\+committed\\b))\\b/", + "when": "viewItem =~ /gitlens:(branch|commit|stash|tag)\\b/", "group": "3_gitlens_explore@1" }, { @@ -10227,12 +10227,6 @@ "group": "2_gitlens_quickopen@6" }, { - "command": "gitlens.openCommitOnRemote", - "when": "view =~ /^gitlens\\.views\\.(fileHistory|lineHistory)/ && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)/ && gitlens:hasRemotes", - "group": "3_gitlens_explore@0", - "alt": "gitlens.copyRemoteCommitUrl" - }, - { "submenu": "gitlens/commit/file/commit", "when": "view =~ /^gitlens\\.views\\.(fileHistory|lineHistory)/ && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)/", "group": "3_gitlens_explore@1" @@ -11357,16 +11351,27 @@ ], "gitlens/commit/file/commit": [ { - "command": "gitlens.revealCommitInView", + "command": "gitlens.showInDetailsView", "when": "view =~ /gitlens\\.views\\.(fileHistory|lineHistory\\b)/ && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)/", "group": "navigation@1" }, { - "command": "gitlens.showInDetailsView", - "when": "view =~ /gitlens\\.views\\.(fileHistory|lineHistory\\b)/ && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)/", + "command": "gitlens.showInCommitGraph", + "when": "view =~ /gitlens\\.views\\.(fileHistory|lineHistory\\b)/ && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)\\b/", "group": "navigation@2" }, { + "command": "gitlens.openCommitOnRemote", + "when": "view =~ /^gitlens\\.views\\.(fileHistory|lineHistory)/ && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)/ && gitlens:hasRemotes", + "group": "navigation@3", + "alt": "gitlens.copyRemoteCommitUrl" + }, + { + "command": "gitlens.revealCommitInView", + "when": "view =~ /gitlens\\.views\\.(fileHistory|lineHistory\\b)/ && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)/", + "group": "navigation@4" + }, + { "command": "gitlens.views.push", "when": "gitlens:hasRemotes && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)(?=.*?\\b\\+current\\b)(?=.*?\\b\\+unpublished\\b)(?=.*?\\b\\+HEAD\\b)/", "group": "1_gitlens_actions@0"