|
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
|
|
4742 | 4747 | "default": {
|
4743 | 4748 | "suppressCommitHasNoPreviousCommitWarning": false,
|
4744 | 4749 | "suppressCommitNotFoundWarning": false,
|
| 4750 | + "suppressTagNotFoundWarning": false, |
4745 | 4751 | "suppressCreatePullRequestPrompt": false,
|
4746 | 4752 | "suppressDebugLoggingWarning": false,
|
4747 | 4753 | "suppressFileNotUnderSourceControlWarning": false,
|
|
4768 | 4774 | "default": false,
|
4769 | 4775 | "description": "Commit Not Found Warning"
|
4770 | 4776 | },
|
| 4777 | + "suppressTagNotFoundWarning": { |
| 4778 | + "type": "boolean", |
| 4779 | + "default": false, |
| 4780 | + "description": "Tag Not Found Warning" |
| 4781 | + }, |
4771 | 4782 | "suppressCreatePullRequestPrompt": {
|
4772 | 4783 | "type": "boolean",
|
4773 | 4784 | "default": false,
|
|
5974 | 5985 | "title": "Copy Remote Repository URL",
|
5975 | 5986 | "icon": "$(copy)"
|
5976 | 5987 | },
|
| 5988 | + { |
| 5989 | + "command": "gitlens.copyRemoteTagUrl", |
| 5990 | + "title": "Copy Remote Tag URL", |
| 5991 | + "category": "GitLens", |
| 5992 | + "icon": "$(copy)" |
| 5993 | + }, |
5977 | 5994 | {
|
5978 | 5995 | "command": "gitlens.copyShaToClipboard",
|
5979 | 5996 | "title": "Copy SHA",
|
|
7007 | 7024 | "icon": "$(gitlens-open-revision)",
|
7008 | 7025 | "enablement": "gitlens:enabled && resourceScheme =~ /^(gitlens|pr)$/ "
|
7009 | 7026 | },
|
| 7027 | + { |
| 7028 | + "command": "gitlens.openTagOnRemote", |
| 7029 | + "title": "Open Tag on Remote", |
| 7030 | + "category": "GitLens", |
| 7031 | + "icon": "$(globe)" |
| 7032 | + }, |
7010 | 7033 | {
|
7011 | 7034 | "command": "gitlens.openWorkingFile",
|
7012 | 7035 | "title": "Open File",
|
|
7948 | 7971 | "title": "Copy Remote Commit URLs",
|
7949 | 7972 | "icon": "$(copy)"
|
7950 | 7973 | },
|
| 7974 | + { |
| 7975 | + "command": "gitlens.views.copyRemoteTagUrl", |
| 7976 | + "title": "Copy Remote Tag URL", |
| 7977 | + "icon": "$(copy)" |
| 7978 | + }, |
7951 | 7979 | {
|
7952 | 7980 | "command": "gitlens.views.copyUrl",
|
7953 | 7981 | "title": "Copy URL",
|
|
8423 | 8451 | "title": "Compare Pull Request",
|
8424 | 8452 | "icon": "$(compare-changes)"
|
8425 | 8453 | },
|
| 8454 | + { |
| 8455 | + "command": "gitlens.views.openTagOnRemote", |
| 8456 | + "title": "Open Tag on Remote", |
| 8457 | + "icon": "$(globe)" |
| 8458 | + }, |
| 8459 | + { |
| 8460 | + "command": "gitlens.views.openTagOnRemote.multi", |
| 8461 | + "title": "Open Tags on Remote", |
| 8462 | + "icon": "$(globe)" |
| 8463 | + }, |
8426 | 8464 | {
|
8427 | 8465 | "command": "gitlens.views.openUrl",
|
8428 | 8466 | "title": "Open URL",
|
|
10069 | 10107 | "command": "gitlens.copyRemoteRepositoryUrl",
|
10070 | 10108 | "when": "false"
|
10071 | 10109 | },
|
| 10110 | + { |
| 10111 | + "command": "gitlens.copyRemoteTagUrl", |
| 10112 | + "when": "gitlens:repos:withRemotes" |
| 10113 | + }, |
10072 | 10114 | {
|
10073 | 10115 | "command": "gitlens.copyShaToClipboard",
|
10074 | 10116 | "when": "resource in gitlens:tabs:blameable"
|
|
10881 | 10923 | "command": "gitlens.openRevisionFileInDiffRight",
|
10882 | 10924 | "when": "false"
|
10883 | 10925 | },
|
| 10926 | + { |
| 10927 | + "command": "gitlens.openTagOnRemote", |
| 10928 | + "when": "gitlens:repos:withRemotes" |
| 10929 | + }, |
10884 | 10930 | {
|
10885 | 10931 | "command": "gitlens.openWorkingFile",
|
10886 | 10932 | "when": "gitlens:enabled && resourceScheme =~ /^(gitlens|git|pr)$/"
|
|
11609 | 11655 | "command": "gitlens.views.copyRemoteCommitUrl.multi",
|
11610 | 11656 | "when": "false"
|
11611 | 11657 | },
|
| 11658 | + { |
| 11659 | + "command": "gitlens.views.copyRemoteTagUrl", |
| 11660 | + "when": "false" |
| 11661 | + }, |
11612 | 11662 | {
|
11613 | 11663 | "command": "gitlens.views.copyUrl",
|
11614 | 11664 | "when": "false"
|
|
12005 | 12055 | "command": "gitlens.views.openPullRequestComparison",
|
12006 | 12056 | "when": "false"
|
12007 | 12057 | },
|
| 12058 | + { |
| 12059 | + "command": "gitlens.views.openTagOnRemote", |
| 12060 | + "when": "false" |
| 12061 | + }, |
| 12062 | + { |
| 12063 | + "command": "gitlens.views.openTagOnRemote.multi", |
| 12064 | + "when": "false" |
| 12065 | + }, |
12008 | 12066 | {
|
12009 | 12067 | "command": "gitlens.views.openUrl",
|
12010 | 12068 | "when": "false"
|
|
16840 | 16898 | "when": "viewItem =~ /gitlens:tag\\b/ && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
|
16841 | 16899 | "group": "inline@10"
|
16842 | 16900 | },
|
| 16901 | + { |
| 16902 | + "command": "gitlens.views.openTagOnRemote", |
| 16903 | + "when": "viewItem =~ /gitlens:tag\\b/ && gitlens:repos:withRemotes", |
| 16904 | + "group": "inline@100", |
| 16905 | + "alt": "gitlens.views.copyRemoteTagUrl" |
| 16906 | + }, |
16843 | 16907 | {
|
16844 | 16908 | "command": "gitlens.views.switchToTag",
|
16845 | 16909 | "when": "viewItem =~ /gitlens:tag\\b/ && !listMultiSelection && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
|
|
16860 | 16924 | "when": "viewItem =~ /gitlens:tag\\b/ && !listMultiSelection && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
|
16861 | 16925 | "group": "1_gitlens_actions@3"
|
16862 | 16926 | },
|
| 16927 | + { |
| 16928 | + "command": "gitlens.views.openTagOnRemote", |
| 16929 | + "when": "viewItem =~ /gitlens:tag\\b/ && !listMultiSelection && gitlens:repos:withRemotes", |
| 16930 | + "group": "3_gitlens_explore@3" |
| 16931 | + }, |
| 16932 | + { |
| 16933 | + "command": "gitlens.views.openTagOnRemote.multi", |
| 16934 | + "when": "viewItem =~ /gitlens:tag\\b/ && listMultiSelection && gitlens:repos:withRemotes", |
| 16935 | + "group": "3_gitlens_explore@3" |
| 16936 | + }, |
16863 | 16937 | {
|
16864 | 16938 | "command": "gitlens.views.createTag",
|
16865 | 16939 | "when": "viewItem =~ /gitlens:tags\\b/ && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted",
|
|
0 commit comments