|
3733 | 3733 | "fileInCommit",
|
3734 | 3734 | "fileInBranch",
|
3735 | 3735 | "fileLine",
|
3736 |
| - "fileRange" |
| 3736 | + "fileRange", |
| 3737 | + "tag" |
3737 | 3738 | ],
|
3738 | 3739 | "properties": {
|
3739 | 3740 | "repository": {
|
|
3771 | 3772 | "fileRange": {
|
3772 | 3773 | "type": "string",
|
3773 | 3774 | "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"
|
| 3775 | + }, |
| 3776 | + "tag": { |
| 3777 | + "type": "string", |
| 3778 | + "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" |
3774 | 3779 | }
|
3775 | 3780 | },
|
3776 | 3781 | "additionalProperties": false
|
|
4754 | 4759 | "default": {
|
4755 | 4760 | "suppressCommitHasNoPreviousCommitWarning": false,
|
4756 | 4761 | "suppressCommitNotFoundWarning": false,
|
| 4762 | + "suppressTagNotFoundWarning": false, |
4757 | 4763 | "suppressCreatePullRequestPrompt": false,
|
4758 | 4764 | "suppressDebugLoggingWarning": false,
|
4759 | 4765 | "suppressFileNotUnderSourceControlWarning": false,
|
|
4780 | 4786 | "default": false,
|
4781 | 4787 | "description": "Commit Not Found Warning"
|
4782 | 4788 | },
|
| 4789 | + "suppressTagNotFoundWarning": { |
| 4790 | + "type": "boolean", |
| 4791 | + "default": false, |
| 4792 | + "description": "Tag Not Found Warning" |
| 4793 | + }, |
4783 | 4794 | "suppressCreatePullRequestPrompt": {
|
4784 | 4795 | "type": "boolean",
|
4785 | 4796 | "default": false,
|
|
5986 | 5997 | "title": "Copy Remote Repository URL",
|
5987 | 5998 | "icon": "$(copy)"
|
5988 | 5999 | },
|
| 6000 | + { |
| 6001 | + "command": "gitlens.copyRemoteTagUrl", |
| 6002 | + "title": "Copy Remote Tag URL", |
| 6003 | + "category": "GitLens", |
| 6004 | + "icon": "$(copy)" |
| 6005 | + }, |
5989 | 6006 | {
|
5990 | 6007 | "command": "gitlens.copyShaToClipboard",
|
5991 | 6008 | "title": "Copy SHA",
|
|
7019 | 7036 | "icon": "$(gitlens-open-revision)",
|
7020 | 7037 | "enablement": "gitlens:enabled && resourceScheme =~ /^(gitlens|pr)$/ "
|
7021 | 7038 | },
|
| 7039 | + { |
| 7040 | + "command": "gitlens.openTagOnRemote", |
| 7041 | + "title": "Open Tag on Remote", |
| 7042 | + "category": "GitLens", |
| 7043 | + "icon": "$(globe)" |
| 7044 | + }, |
7022 | 7045 | {
|
7023 | 7046 | "command": "gitlens.openWorkingFile",
|
7024 | 7047 | "title": "Open File",
|
|
7960 | 7983 | "title": "Copy Remote Commit URLs",
|
7961 | 7984 | "icon": "$(copy)"
|
7962 | 7985 | },
|
| 7986 | + { |
| 7987 | + "command": "gitlens.views.copyRemoteTagUrl", |
| 7988 | + "title": "Copy Remote Tag URL", |
| 7989 | + "icon": "$(copy)" |
| 7990 | + }, |
7963 | 7991 | {
|
7964 | 7992 | "command": "gitlens.views.copyUrl",
|
7965 | 7993 | "title": "Copy URL",
|
|
8435 | 8463 | "title": "Compare Pull Request",
|
8436 | 8464 | "icon": "$(compare-changes)"
|
8437 | 8465 | },
|
| 8466 | + { |
| 8467 | + "command": "gitlens.views.openTagOnRemote", |
| 8468 | + "title": "Open Tag on Remote", |
| 8469 | + "icon": "$(globe)" |
| 8470 | + }, |
| 8471 | + { |
| 8472 | + "command": "gitlens.views.openTagOnRemote.multi", |
| 8473 | + "title": "Open Tags on Remote", |
| 8474 | + "icon": "$(globe)" |
| 8475 | + }, |
8438 | 8476 | {
|
8439 | 8477 | "command": "gitlens.views.openUrl",
|
8440 | 8478 | "title": "Open URL",
|
|
10081 | 10119 | "command": "gitlens.copyRemoteRepositoryUrl",
|
10082 | 10120 | "when": "false"
|
10083 | 10121 | },
|
| 10122 | + { |
| 10123 | + "command": "gitlens.copyRemoteTagUrl", |
| 10124 | + "when": "gitlens:repos:withRemotes" |
| 10125 | + }, |
10084 | 10126 | {
|
10085 | 10127 | "command": "gitlens.copyShaToClipboard",
|
10086 | 10128 | "when": "resource in gitlens:tabs:blameable"
|
|
10893 | 10935 | "command": "gitlens.openRevisionFileInDiffRight",
|
10894 | 10936 | "when": "false"
|
10895 | 10937 | },
|
| 10938 | + { |
| 10939 | + "command": "gitlens.openTagOnRemote", |
| 10940 | + "when": "gitlens:repos:withRemotes" |
| 10941 | + }, |
10896 | 10942 | {
|
10897 | 10943 | "command": "gitlens.openWorkingFile",
|
10898 | 10944 | "when": "gitlens:enabled && resourceScheme =~ /^(gitlens|git|pr)$/"
|
|
11621 | 11667 | "command": "gitlens.views.copyRemoteCommitUrl.multi",
|
11622 | 11668 | "when": "false"
|
11623 | 11669 | },
|
| 11670 | + { |
| 11671 | + "command": "gitlens.views.copyRemoteTagUrl", |
| 11672 | + "when": "false" |
| 11673 | + }, |
11624 | 11674 | {
|
11625 | 11675 | "command": "gitlens.views.copyUrl",
|
11626 | 11676 | "when": "false"
|
|
12017 | 12067 | "command": "gitlens.views.openPullRequestComparison",
|
12018 | 12068 | "when": "false"
|
12019 | 12069 | },
|
| 12070 | + { |
| 12071 | + "command": "gitlens.views.openTagOnRemote", |
| 12072 | + "when": "false" |
| 12073 | + }, |
| 12074 | + { |
| 12075 | + "command": "gitlens.views.openTagOnRemote.multi", |
| 12076 | + "when": "false" |
| 12077 | + }, |
12020 | 12078 | {
|
12021 | 12079 | "command": "gitlens.views.openUrl",
|
12022 | 12080 | "when": "false"
|
|
16884 | 16942 | "when": "viewItem =~ /gitlens:tag\\b/ && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
|
16885 | 16943 | "group": "inline@10"
|
16886 | 16944 | },
|
| 16945 | + { |
| 16946 | + "command": "gitlens.views.openTagOnRemote", |
| 16947 | + "when": "viewItem =~ /gitlens:tag\\b/ && gitlens:repos:withRemotes", |
| 16948 | + "group": "inline@100", |
| 16949 | + "alt": "gitlens.views.copyRemoteTagUrl" |
| 16950 | + }, |
16887 | 16951 | {
|
16888 | 16952 | "command": "gitlens.views.switchToTag",
|
16889 | 16953 | "when": "viewItem =~ /gitlens:tag\\b/ && !listMultiSelection && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
|
|
16904 | 16968 | "when": "viewItem =~ /gitlens:tag\\b/ && !listMultiSelection && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
|
16905 | 16969 | "group": "1_gitlens_actions@3"
|
16906 | 16970 | },
|
| 16971 | + { |
| 16972 | + "command": "gitlens.views.openTagOnRemote", |
| 16973 | + "when": "viewItem =~ /gitlens:tag\\b/ && !listMultiSelection && gitlens:repos:withRemotes", |
| 16974 | + "group": "3_gitlens_explore@3" |
| 16975 | + }, |
| 16976 | + { |
| 16977 | + "command": "gitlens.views.openTagOnRemote.multi", |
| 16978 | + "when": "viewItem =~ /gitlens:tag\\b/ && listMultiSelection && gitlens:repos:withRemotes", |
| 16979 | + "group": "3_gitlens_explore@3" |
| 16980 | + }, |
16907 | 16981 | {
|
16908 | 16982 | "command": "gitlens.views.createTag",
|
16909 | 16983 | "when": "viewItem =~ /gitlens:tags\\b/ && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
|
|
0 commit comments