Browse Source

Reorders some view context menu items

main
Eric Amodio 4 years ago
parent
commit
0b1b62bc63
1 changed files with 40 additions and 33 deletions
  1. +40
    -33
      package.json

+ 40
- 33
package.json View File

@ -4891,9 +4891,14 @@
"group": "1_gitlens_actions@8"
},
{
"command": "gitlens.openBranchInRemote",
"when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+(tracking|remote)\\b)/",
"group": "2_gitlens_quickopen@1"
},
{
"command": "gitlens.views.openDirectoryDiffWithWorking",
"when": "viewItem =~ /gitlens:(branch|tag)\\b/",
"group": "3_gitlens_explore@20"
"group": "2_gitlens_quickopen@2"
},
{
"command": "gitlens.views.compareWithRemote",
@ -4936,11 +4941,6 @@
"group": "4_gitlens_compare@99"
},
{
"command": "gitlens.openBranchInRemote",
"when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+(tracking|remote)\\b)/",
"group": "5_gitlens_open@1"
},
{
"command": "gitlens.views.star",
"when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+starred\\b)/",
"group": "8_gitlens_actions@1"
@ -5049,12 +5049,17 @@
{
"command": "gitlens.views.openChangedFiles",
"when": "viewItem =~ /gitlens:(commit|stash|results:files)\\b/",
"group": "2_gitlens_quickopen_@1"
"group": "2_gitlens_quickopen_1@1"
},
{
"command": "gitlens.views.openChangedFileRevisions",
"when": "viewItem =~ /gitlens:(commit|stash|results:files)\\b/",
"group": "2_gitlens_quickopen_@2"
"group": "2_gitlens_quickopen_1@2"
},
{
"command": "gitlens.openCommitInRemote",
"when": "viewItem =~ /gitlens:commit\\b/ && gitlens:hasRemotes",
"group": "2_gitlens_quickopen_2@1"
},
{
"command": "gitlens.revealCommitInView",
@ -5067,11 +5072,6 @@
"group": "3_gitlens_explore@2"
},
{
"command": "gitlens.openCommitInRemote",
"when": "viewItem =~ /gitlens:commit\\b/ && gitlens:hasRemotes",
"group": "5_gitlens_open@1"
},
{
"command": "gitlens.views.terminalPushCommit",
"when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b(?=.*?\\b\\+current\\b)/",
"group": "6_gitlens_terminal@1"
@ -5163,22 +5163,38 @@
{
"command": "gitlens.views.openFile",
"when": "viewItem =~ /gitlens:(file|history:(file|line)|status:file)\\b/",
"group": "2_gitlens_quickopen_@1"
"group": "2_gitlens_quickopen_1@1"
},
{
"command": "gitlens.views.openFileRevision",
"when": "viewItem =~ /gitlens:file\\b((?=.*?\\b\\+committed\\b)|:results)/",
"group": "2_gitlens_quickopen_@2"
"group": "2_gitlens_quickopen_1@2"
},
{
"command": "gitlens.openFileInRemote",
"when": "viewItem =~ /gitlens:file\\b/ && gitlens:hasRemotes",
"group": "2_gitlens_quickopen_2@1",
"alt": "gitlens.copyRemoteFileUrlToClipboard"
},
{
"command": "gitlens.views.openFileRevisionInRemote",
"when": "viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)/ && gitlens:hasRemotes",
"group": "2_gitlens_quickopen_2@2"
},
{
"command": "gitlens.openCommitInRemote",
"when": "viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)/ && gitlens:hasRemotes",
"group": "2_gitlens_quickopen_2@3"
},
{
"command": "gitlens.views.highlightChanges",
"when": "viewItem =~ /gitlens:file\\b((?=.*?\\b\\+committed\\b)|:results)/",
"group": "3_gitlens_explore@1"
"group": "2_gitlens_quickopen_3@1"
},
{
"command": "gitlens.views.highlightRevisionChanges",
"when": "viewItem =~ /gitlens:file\\b((?=.*?\\b\\+committed\\b)|:results)/",
"group": "3_gitlens_explore@2"
"group": "2_gitlens_quickopen_3@2"
},
{
"command": "gitlens.showFileHistoryInView",
@ -5196,19 +5212,9 @@
"group": "3_gitlens_explore@4"
},
{
"command": "gitlens.openFileInRemote",
"when": "viewItem =~ /gitlens:file\\b/ && gitlens:hasRemotes",
"group": "5_gitlens_open@1"
},
{
"command": "gitlens.views.openFileRevisionInRemote",
"when": "viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)/ && gitlens:hasRemotes",
"group": "5_gitlens_open@2"
},
{
"command": "gitlens.copyRemoteFileUrlToClipboard",
"when": "viewItem =~ /gitlens:(file|history:(file|line)|status:file)\\b/ && gitlens:hasRemotes",
"group": "7_gitlens_cutcopypaste@3"
"when": "viewItem =~ /gitlens:(file\\b(?=.*?\\b\\+committed\\b)|history:(file|line)|status:file)\\b/ && gitlens:hasRemotes",
"group": "7_gitlens_cutcopypaste@4"
},
{
"command": "gitlens.views.applyChanges",
@ -5223,7 +5229,8 @@
{
"command": "gitlens.openFileInRemote",
"when": "viewItem =~ /gitlens:(history:(file|line)|status:file)\\b/ && gitlens:hasRemotes",
"group": "5_gitlens_open@2"
"group": "5_gitlens_open@2",
"alt": "gitlens.copyRemoteFileUrlToClipboard"
},
{
"command": "gitlens.views.applyChanges",
@ -5374,7 +5381,7 @@
{
"command": "gitlens.openRepoInRemote",
"when": "viewItem =~ /gitlens:repository\\b/ && gitlens:hasRemotes",
"group": "5_gitlens_open@1"
"group": "2_gitlens_quickopen@2"
},
{
"command": "gitlens.showCommitSearch",
@ -5384,12 +5391,12 @@
{
"command": "gitlens.stashSave",
"when": "!gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
"group": "8_gitlens_actions@1"
"group": "1_gitlens_actions_1@1"
},
{
"command": "gitlens.stashApply",
"when": "!gitlens:readonly && viewItem =~ /gitlens:repository\\b/",
"group": "8_gitlens_actions@2"
"group": "1_gitlens_actions_1@2"
},
{
"command": "gitlens.views.star",

Loading…
Cancel
Save