|
6670 | 6670 | } |
6671 | 6671 | ], |
6672 | 6672 | "view/item/context": [ |
| 6673 | + { |
| 6674 | + "command": "gitlens.views.switchToAnotherBranch", |
| 6675 | + "when": "!gitlens:readonly && viewItem =~ /gitlens:branches\\b/", |
| 6676 | + "group": "inline@10" |
| 6677 | + }, |
| 6678 | + { |
| 6679 | + "command": "gitlens.views.createBranch", |
| 6680 | + "when": "!gitlens:readonly && viewItem =~ /gitlens:branches\\b/", |
| 6681 | + "group": "inline@11" |
| 6682 | + }, |
6673 | 6683 | { |
6674 | 6684 | "command": "gitlens.views.repositories.setBranchesLayoutToList", |
6675 | 6685 | "when": "viewItem =~ /gitlens:branches\\b/ && config.gitlens.views.repositories.branches.layout == tree", |
6676 | | - "group": "inline@1" |
| 6686 | + "group": "inline@50" |
6677 | 6687 | }, |
6678 | 6688 | { |
6679 | 6689 | "command": "gitlens.views.repositories.setBranchesLayoutToTree", |
6680 | 6690 | "when": "viewItem =~ /gitlens:branches\\b/ && config.gitlens.views.repositories.branches.layout == list", |
6681 | | - "group": "inline@1" |
| 6691 | + "group": "inline@50" |
6682 | 6692 | }, |
6683 | 6693 | { |
6684 | 6694 | "command": "gitlens.openBranchesOnRemote", |
6685 | 6695 | "when": "viewItem =~ /gitlens:branches\\b(?=.*?\\b\\+remotes\\b)/", |
6686 | 6696 | "group": "inline@98", |
6687 | 6697 | "alt": "gitlens.copyRemoteBranchesUrl" |
6688 | 6698 | }, |
| 6699 | + { |
| 6700 | + "command": "gitlens.views.switchToAnotherBranch", |
| 6701 | + "when": "!gitlens:readonly && viewItem =~ /gitlens:branches\\b/", |
| 6702 | + "group": "1_gitlens_actions@1" |
| 6703 | + }, |
| 6704 | + { |
| 6705 | + "command": "gitlens.views.createBranch", |
| 6706 | + "when": "!gitlens:readonly && viewItem =~ /gitlens:branches\\b/", |
| 6707 | + "group": "1_gitlens_actions@2" |
| 6708 | + }, |
6689 | 6709 | { |
6690 | 6710 | "command": "gitlens.openBranchesOnRemote", |
6691 | 6711 | "when": "viewItem =~ /gitlens:branches\\b(?=.*?\\b\\+remotes\\b)/", |
6692 | | - "group": "1_gitlens@1", |
| 6712 | + "group": "2_gitlens_quickopen@1", |
6693 | 6713 | "alt": "gitlens.copyRemoteBranchesUrl" |
6694 | 6714 | }, |
6695 | 6715 | { |
|
0 commit comments