|
2425 | 2425 | }, |
2426 | 2426 | { |
2427 | 2427 | "command": "gitlens.stashDelete", |
2428 | | - "title": "Delete Stash", |
| 2428 | + "title": "Delete Stash...", |
2429 | 2429 | "category": "GitLens", |
2430 | 2430 | "icon": { |
2431 | 2431 | "dark": "images/dark/icon-delete.svg", |
|
2884 | 2884 | } |
2885 | 2885 | }, |
2886 | 2886 | { |
2887 | | - "command": "gitlens.views.terminalCreateBranch", |
2888 | | - "title": "Create Branch (via Terminal)...", |
| 2887 | + "command": "gitlens.views.cherryPick", |
| 2888 | + "title": "Cherry Pick Commit...", |
2889 | 2889 | "category": "GitLens" |
2890 | 2890 | }, |
2891 | 2891 | { |
2892 | | - "command": "gitlens.views.terminalDeleteBranch", |
2893 | | - "title": "Delete Branch (via Terminal)", |
| 2892 | + "command": "gitlens.views.createBranch", |
| 2893 | + "title": "Create Branch...", |
2894 | 2894 | "category": "GitLens" |
2895 | 2895 | }, |
2896 | 2896 | { |
2897 | | - "command": "gitlens.views.cherryPick", |
2898 | | - "title": "Cherry Pick Commit", |
| 2897 | + "command": "gitlens.views.deleteBranch", |
| 2898 | + "title": "Delete Branch...", |
| 2899 | + "category": "GitLens" |
| 2900 | + }, |
| 2901 | + { |
| 2902 | + "command": "gitlens.views.renameBranch", |
| 2903 | + "title": "Rename Branch...", |
| 2904 | + "category": "GitLens" |
| 2905 | + }, |
| 2906 | + { |
| 2907 | + "command": "gitlens.views.createTag", |
| 2908 | + "title": "Create Tag...", |
| 2909 | + "category": "GitLens" |
| 2910 | + }, |
| 2911 | + { |
| 2912 | + "command": "gitlens.views.deleteTag", |
| 2913 | + "title": "Delete Tag...", |
2899 | 2914 | "category": "GitLens" |
2900 | 2915 | }, |
2901 | 2916 | { |
|
2920 | 2935 | }, |
2921 | 2936 | { |
2922 | 2937 | "command": "gitlens.views.reset", |
2923 | | - "title": "Reset to Commit", |
| 2938 | + "title": "Reset to Commit...", |
2924 | 2939 | "category": "GitLens" |
2925 | 2940 | }, |
2926 | 2941 | { |
2927 | 2942 | "command": "gitlens.views.revert", |
2928 | | - "title": "Revert Commit", |
| 2943 | + "title": "Revert Commit...", |
2929 | 2944 | "category": "GitLens" |
2930 | 2945 | }, |
2931 | 2946 | { |
|
2938 | 2953 | "title": "Remove Remote (via Terminal)", |
2939 | 2954 | "category": "GitLens" |
2940 | 2955 | }, |
2941 | | - { |
2942 | | - "command": "gitlens.views.terminalCreateTag", |
2943 | | - "title": "Create Tag (via Terminal)...", |
2944 | | - "category": "GitLens" |
2945 | | - }, |
2946 | | - { |
2947 | | - "command": "gitlens.views.terminalDeleteTag", |
2948 | | - "title": "Delete Tag (via Terminal)", |
2949 | | - "category": "GitLens" |
2950 | | - }, |
2951 | 2956 | { |
2952 | 2957 | "command": "gitlens.views.repositories.refresh", |
2953 | 2958 | "title": "Refresh", |
|
3850 | 3855 | "when": "false" |
3851 | 3856 | }, |
3852 | 3857 | { |
3853 | | - "command": "gitlens.views.terminalCreateBranch", |
| 3858 | + "command": "gitlens.views.createBranch", |
| 3859 | + "when": "false" |
| 3860 | + }, |
| 3861 | + { |
| 3862 | + "command": "gitlens.views.deleteBranch", |
3854 | 3863 | "when": "false" |
3855 | 3864 | }, |
3856 | 3865 | { |
3857 | | - "command": "gitlens.views.terminalDeleteBranch", |
| 3866 | + "command": "gitlens.views.renameBranch", |
3858 | 3867 | "when": "false" |
3859 | 3868 | }, |
3860 | 3869 | { |
|
3894 | 3903 | "when": "false" |
3895 | 3904 | }, |
3896 | 3905 | { |
3897 | | - "command": "gitlens.views.terminalCreateTag", |
| 3906 | + "command": "gitlens.views.createTag", |
3898 | 3907 | "when": "false" |
3899 | 3908 | }, |
3900 | 3909 | { |
3901 | | - "command": "gitlens.views.terminalDeleteTag", |
| 3910 | + "command": "gitlens.views.deleteTag", |
3902 | 3911 | "when": "false" |
3903 | 3912 | }, |
3904 | 3913 | { |
|
4678 | 4687 | "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+current\\b)(?=.*?\\b\\+tracking\\b)/", |
4679 | 4688 | "group": "1_gitlens_actions@4" |
4680 | 4689 | }, |
| 4690 | + { |
| 4691 | + "command": "gitlens.views.deleteBranch", |
| 4692 | + "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)/", |
| 4693 | + "group": "1_gitlens_actions@5" |
| 4694 | + }, |
| 4695 | + { |
| 4696 | + "command": "gitlens.views.renameBranch", |
| 4697 | + "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b/", |
| 4698 | + "group": "1_gitlens_actions@6" |
| 4699 | + }, |
| 4700 | + { |
| 4701 | + "command": "gitlens.views.createBranch", |
| 4702 | + "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b/", |
| 4703 | + "group": "1_gitlens_actions@7" |
| 4704 | + }, |
| 4705 | + { |
| 4706 | + "command": "gitlens.views.createTag", |
| 4707 | + "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b/", |
| 4708 | + "group": "1_gitlens_actions@8" |
| 4709 | + }, |
4681 | 4710 | { |
4682 | 4711 | "command": "gitlens.views.openDirectoryDiffWithWorking", |
4683 | 4712 | "when": "viewItem =~ /gitlens:(branch|tag)\\b/", |
|
4728 | 4757 | "when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+(tracking|remote)\\b)/", |
4729 | 4758 | "group": "5_gitlens_open@1" |
4730 | 4759 | }, |
4731 | | - { |
4732 | | - "command": "gitlens.views.terminalCreateBranch", |
4733 | | - "when": "!gitlens:readonly && viewItem =~ /gitlens:(branch|commit|tag)\\b/", |
4734 | | - "group": "6_gitlens_terminal@2" |
4735 | | - }, |
4736 | | - { |
4737 | | - "command": "gitlens.views.terminalDeleteBranch", |
4738 | | - "when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)/", |
4739 | | - "group": "6_gitlens_terminal@3" |
4740 | | - }, |
4741 | | - { |
4742 | | - "command": "gitlens.views.terminalCreateTag", |
4743 | | - "when": "!gitlens:readonly && viewItem =~ /gitlens:(branch|commit)\\b/", |
4744 | | - "group": "6_gitlens_terminal@4" |
4745 | | - }, |
4746 | 4760 | { |
4747 | 4761 | "command": "gitlens.views.star", |
4748 | 4762 | "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+starred\\b)/", |
|
4829 | 4843 | "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b/", |
4830 | 4844 | "group": "1_gitlens_actions@5" |
4831 | 4845 | }, |
| 4846 | + { |
| 4847 | + "command": "gitlens.views.createBranch", |
| 4848 | + "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b/", |
| 4849 | + "group": "1_gitlens_actions_1@1" |
| 4850 | + }, |
| 4851 | + { |
| 4852 | + "command": "gitlens.views.createTag", |
| 4853 | + "when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b/", |
| 4854 | + "group": "1_gitlens_actions_1@2" |
| 4855 | + }, |
4832 | 4856 | { |
4833 | 4857 | "command": "gitlens.views.openChangedFileDiffs", |
4834 | 4858 | "when": "viewItem =~ /gitlens:(commit|stash|results:files)\\b/", |
|
5366 | 5390 | "group": "1_gitlens_actions@1" |
5367 | 5391 | }, |
5368 | 5392 | { |
5369 | | - "command": "gitlens.views.terminalDeleteTag", |
| 5393 | + "command": "gitlens.views.deleteTag", |
5370 | 5394 | "when": "!gitlens:readonly && viewItem == gitlens:tag", |
5371 | | - "group": "6_gitlens_terminal@1" |
| 5395 | + "group": "1_gitlens_actions@2" |
| 5396 | + }, |
| 5397 | + { |
| 5398 | + "command": "gitlens.views.createBranch", |
| 5399 | + "when": "!gitlens:readonly && viewItem =~ /gitlens:tag\\b/", |
| 5400 | + "group": "1_gitlens_actions@3" |
5372 | 5401 | }, |
5373 | 5402 | { |
5374 | 5403 | "command": "gitlens.views.stageDirectory", |
|
0 commit comments