From 60f6c9c21239f8860080123b34dd6e77619ef307 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Sun, 25 Aug 2019 01:34:37 -0400 Subject: [PATCH] Moves favorites to the right side --- package.json | 51 +++++++++++++++++++++++---------------------------- 1 file changed, 23 insertions(+), 28 deletions(-) diff --git a/package.json b/package.json index 5a70da3..cc00a20 100644 --- a/package.json +++ b/package.json @@ -4408,16 +4408,6 @@ "group": "1_gitlens@1" }, { - "command": "gitlens.views.star", - "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+starred\\b)/", - "group": "inline@1" - }, - { - "command": "gitlens.views.unstar", - "when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+starred\\b)/", - "group": "inline@2" - }, - { "command": "gitlens.views.switchToBranch", "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b/", "group": "inline@10" @@ -4425,23 +4415,28 @@ { "command": "gitlens.views.compareWithRemote", "when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+tracking\\b)/", - "group": "inline@96" + "group": "inline@97" }, { "command": "gitlens.views.compareWithHead", "when": "viewItem =~ /gitlens:(branch\\b(?!.*?\\b\\+current\\b)|commit\\b|stash\\b|tag\\b)/", - "group": "inline@97", + "group": "inline@98", "alt": "gitlens.views.compareWithWorking" }, { "command": "gitlens.views.compareWithWorking", "when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+current\\b)/", - "group": "inline@97" + "group": "inline@98" }, { - "command": "gitlens.openBranchInRemote", - "when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+(tracking|remote)\\b)/", - "group": "inline@98" + "command": "gitlens.views.star", + "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+starred\\b)/", + "group": "inline@99" + }, + { + "command": "gitlens.views.unstar", + "when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+starred\\b)/", + "group": "inline@99" }, { "command": "gitlens.views.switchToBranch", @@ -4858,29 +4853,29 @@ "group": "inline@10" }, { - "command": "gitlens.views.star", - "when": "viewItem =~ /gitlens:repository\\b(?!.*?\\b\\+starred\\b)/", - "group": "inline@1" - }, - { - "command": "gitlens.views.unstar", - "when": "viewItem =~ /gitlens:repository\\b(?=.*?\\b\\+starred\\b)/", - "group": "inline@2" - }, - { "command": "gitlens.views.push", "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/", - "group": "inline@97", + "group": "inline@96", "alt": "gitlens.views.pushWithForce" }, { "command": "gitlens.views.pull", "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/", - "group": "inline@98" + "group": "inline@97" }, { "command": "gitlens.views.fetch", "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/", + "group": "inline@98" + }, + { + "command": "gitlens.views.star", + "when": "viewItem =~ /gitlens:repository\\b(?!.*?\\b\\+starred\\b)/", + "group": "inline@99" + }, + { + "command": "gitlens.views.unstar", + "when": "viewItem =~ /gitlens:repository\\b(?=.*?\\b\\+starred\\b)/", "group": "inline@99" }, {