|
3668 | 3668 | "fileInCommit", |
3669 | 3669 | "fileInBranch", |
3670 | 3670 | "fileLine", |
3671 | | - "fileRange" |
| 3671 | + "fileRange", |
| 3672 | + "tag" |
3672 | 3673 | ], |
3673 | 3674 | "properties": { |
3674 | 3675 | "repository": { |
|
3706 | 3707 | "fileRange": { |
3707 | 3708 | "type": "string", |
3708 | 3709 | "markdownDescription": "Specifies the format of a range in a file URL for the custom remote service\n\nAvailable tokens\\\n`${start}` — starting line\\\n`${end}` — ending line" |
| 3710 | + }, |
| 3711 | + "tag": { |
| 3712 | + "type": "string", |
| 3713 | + "markdownDescription": "Specifies the format of a tag URL for the custom remote service\n\nAvailable tokens\\\n`${repo}` — repository path\\\n`${tagName}` — name of the tag" |
3709 | 3714 | } |
3710 | 3715 | }, |
3711 | 3716 | "additionalProperties": false |
|
6757 | 6762 | "title": "Open Commits on Remote", |
6758 | 6763 | "icon": "$(globe)" |
6759 | 6764 | }, |
| 6765 | + { |
| 6766 | + "command": "gitlens.openTagOnRemote", |
| 6767 | + "title": "Open Tag on Remote", |
| 6768 | + "category": "GitLens", |
| 6769 | + "icon": "$(globe)" |
| 6770 | + }, |
| 6771 | + { |
| 6772 | + "command": "gitlens.views.openTagOnRemote", |
| 6773 | + "title": "Open Tag on Remote", |
| 6774 | + "icon": "$(globe)" |
| 6775 | + }, |
| 6776 | + { |
| 6777 | + "command": "gitlens.views.openTagOnRemote.multi", |
| 6778 | + "title": "Open Tags on Remote", |
| 6779 | + "icon": "$(globe)" |
| 6780 | + }, |
6760 | 6781 | { |
6761 | 6782 | "command": "gitlens.copyRemoteCommitUrl", |
6762 | 6783 | "title": "Copy Remote Commit URL", |
|
6773 | 6794 | "title": "Copy Remote Commit URLs", |
6774 | 6795 | "icon": "$(copy)" |
6775 | 6796 | }, |
| 6797 | + { |
| 6798 | + "command": "gitlens.copyRemoteTagUrl", |
| 6799 | + "title": "Copy Remote Tag URL", |
| 6800 | + "category": "GitLens", |
| 6801 | + "icon": "$(copy)" |
| 6802 | + }, |
| 6803 | + { |
| 6804 | + "command": "gitlens.views.copyRemoteTagUrl", |
| 6805 | + "title": "Copy Remote Tag URL", |
| 6806 | + "icon": "$(copy)" |
| 6807 | + }, |
| 6808 | + { |
| 6809 | + "command": "gitlens.views.copyRemoteTagUrl.multi", |
| 6810 | + "title": "Copy Remote Tag URLs", |
| 6811 | + "icon": "$(copy)" |
| 6812 | + }, |
6776 | 6813 | { |
6777 | 6814 | "command": "gitlens.openComparisonOnRemote", |
6778 | 6815 | "title": "Open Comparison on Remote", |
|
10560 | 10597 | "command": "gitlens.views.openCommitOnRemote.multi", |
10561 | 10598 | "when": "false" |
10562 | 10599 | }, |
| 10600 | + { |
| 10601 | + "command": "gitlens.openTagOnRemote", |
| 10602 | + "when": "gitlens:repos:withRemotes" |
| 10603 | + }, |
| 10604 | + { |
| 10605 | + "command": "gitlens.views.openTagOnRemote", |
| 10606 | + "when": "false" |
| 10607 | + }, |
| 10608 | + { |
| 10609 | + "command": "gitlens.views.openTagOnRemote.multi", |
| 10610 | + "when": "false" |
| 10611 | + }, |
10563 | 10612 | { |
10564 | 10613 | "command": "gitlens.copyRemoteCommitUrl", |
10565 | 10614 | "when": "gitlens:repos:withRemotes" |
|
10572 | 10621 | "command": "gitlens.views.copyRemoteCommitUrl.multi", |
10573 | 10622 | "when": "false" |
10574 | 10623 | }, |
| 10624 | + { |
| 10625 | + "command": "gitlens.views.copyRemoteTagUrl", |
| 10626 | + "when": "false" |
| 10627 | + }, |
| 10628 | + { |
| 10629 | + "command": "gitlens.views.copyRemoteTagUrl.multi", |
| 10630 | + "when": "false" |
| 10631 | + }, |
10575 | 10632 | { |
10576 | 10633 | "command": "gitlens.openComparisonOnRemote", |
10577 | 10634 | "when": "false" |
|
14868 | 14925 | "group": "inline@99", |
14869 | 14926 | "alt": "gitlens.views.copyRemoteCommitUrl" |
14870 | 14927 | }, |
| 14928 | + { |
| 14929 | + "command": "gitlens.views.openTagOnRemote", |
| 14930 | + "when": "gitlens:repos:withRemotes && viewItem =~ /gitlens:tag\\b(.*?\\b\\+remote\\b)/", |
| 14931 | + "group": "inline@99", |
| 14932 | + "alt": "gitlens.views.copyRemoteTagUrl" |
| 14933 | + }, |
14871 | 14934 | { |
14872 | 14935 | "command": "gitlens.views.cherryPick", |
14873 | 14936 | "when": "!listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && viewItem =~ /gitlens:commit\\b(?!.*?\\b\\+(current|rebase)\\b)/", |
|
14984 | 15047 | "when": "listMultiSelection && gitlens:repos:withRemotes && viewItem =~ /gitlens:commit\\b/", |
14985 | 15048 | "group": "3_gitlens_explore@2" |
14986 | 15049 | }, |
| 15050 | + { |
| 15051 | + "command": "gitlens.views.openTagOnRemote", |
| 15052 | + "when": "!listMultiSelection && gitlens:repos:withRemotes && viewItem =~ /gitlens:tag\\b(.*?\\b\\+remote\\b)/", |
| 15053 | + "group": "3_gitlens_explore@2" |
| 15054 | + }, |
| 15055 | + { |
| 15056 | + "command": "gitlens.views.openTagOnRemote.multi", |
| 15057 | + "when": "listMultiSelection && gitlens:repos:withRemotes && viewItem =~ /gitlens:tag\\b(.*?\\b\\+remote\\b)/", |
| 15058 | + "group": "3_gitlens_explore@2" |
| 15059 | + }, |
14987 | 15060 | { |
14988 | 15061 | "submenu": "gitlens/share", |
14989 | 15062 | "when": "viewItem =~ /gitlens:(branch|commit|compare:(branch(?=.*?\\b\\+comparing\\b)|results(:commits(?!:)|(?!:)))|remote|repo-folder|repository|stash|status:upstream|tag|workspace|file\\b(?=.*?\\b\\+committed\\b))\\b/", |
|
0 commit comments