|
6582 | 6582 | "icon": "$(gitlens-open-revision)", |
6583 | 6583 | "category": "GitLens" |
6584 | 6584 | }, |
6585 | | - { |
6586 | | - "command": "gitlens.openAutolinkUrl", |
6587 | | - "title": "Open Autolink URL", |
6588 | | - "category": "GitLens", |
6589 | | - "icon": "$(globe)" |
6590 | | - }, |
6591 | | - { |
6592 | | - "command": "gitlens.copyAutolinkUrl", |
6593 | | - "title": "Copy Autolink URL", |
6594 | | - "category": "GitLens", |
6595 | | - "icon": "$(copy)" |
6596 | | - }, |
6597 | | - { |
6598 | | - "command": "gitlens.openIssueOnRemote", |
6599 | | - "title": "Open Issue on Remote", |
6600 | | - "category": "GitLens", |
6601 | | - "icon": "$(globe)" |
6602 | | - }, |
6603 | | - { |
6604 | | - "command": "gitlens.copyRemoteIssueUrl", |
6605 | | - "title": "Copy Issue URL", |
6606 | | - "category": "GitLens", |
6607 | | - "icon": "$(copy)" |
6608 | | - }, |
6609 | 6585 | { |
6610 | 6586 | "command": "gitlens.openPullRequestOnRemote", |
6611 | 6587 | "title": "Open Pull Request on Remote", |
|
6885 | 6861 | "category": "GitLens", |
6886 | 6862 | "icon": "$(copy)" |
6887 | 6863 | }, |
| 6864 | + { |
| 6865 | + "command": "gitlens.views.copyAsMarkdown", |
| 6866 | + "title": "Copy as Markdown", |
| 6867 | + "category": "GitLens", |
| 6868 | + "icon": "$(copy)" |
| 6869 | + }, |
| 6870 | + { |
| 6871 | + "command": "gitlens.views.copyUrl", |
| 6872 | + "title": "Copy URL", |
| 6873 | + "category": "GitLens", |
| 6874 | + "icon": "$(copy)" |
| 6875 | + }, |
| 6876 | + { |
| 6877 | + "command": "gitlens.views.copyUrl.multi", |
| 6878 | + "title": "Copy URLs", |
| 6879 | + "category": "GitLens", |
| 6880 | + "icon": "$(copy)" |
| 6881 | + }, |
| 6882 | + { |
| 6883 | + "command": "gitlens.views.openUrl", |
| 6884 | + "title": "Open URL", |
| 6885 | + "category": "GitLens", |
| 6886 | + "icon": "$(globe)" |
| 6887 | + }, |
| 6888 | + { |
| 6889 | + "command": "gitlens.views.openUrl.multi", |
| 6890 | + "title": "Open URLs", |
| 6891 | + "category": "GitLens", |
| 6892 | + "icon": "$(globe)" |
| 6893 | + }, |
6888 | 6894 | { |
6889 | 6895 | "command": "gitlens.views.pruneRemote", |
6890 | 6896 | "title": "Prune", |
|
10283 | 10289 | "command": "gitlens.copyRemoteComparisonUrl", |
10284 | 10290 | "when": "false" |
10285 | 10291 | }, |
10286 | | - { |
10287 | | - "command": "gitlens.openAutolinkUrl", |
10288 | | - "when": "false" |
10289 | | - }, |
10290 | | - { |
10291 | | - "command": "gitlens.copyAutolinkUrl", |
10292 | | - "when": "false" |
10293 | | - }, |
10294 | | - { |
10295 | | - "command": "gitlens.openIssueOnRemote", |
10296 | | - "when": "false" |
10297 | | - }, |
10298 | | - { |
10299 | | - "command": "gitlens.copyRemoteIssueUrl", |
10300 | | - "when": "false" |
10301 | | - }, |
10302 | 10292 | { |
10303 | 10293 | "command": "gitlens.openPullRequestOnRemote", |
10304 | 10294 | "when": "false" |
|
10503 | 10493 | "command": "gitlens.views.copy", |
10504 | 10494 | "when": "false" |
10505 | 10495 | }, |
| 10496 | + { |
| 10497 | + "command": "gitlens.views.copyAsMarkdown", |
| 10498 | + "when": "false" |
| 10499 | + }, |
| 10500 | + { |
| 10501 | + "command": "gitlens.views.copyUrl", |
| 10502 | + "when": "false" |
| 10503 | + }, |
| 10504 | + { |
| 10505 | + "command": "gitlens.views.copyUrl.multi", |
| 10506 | + "when": "false" |
| 10507 | + }, |
| 10508 | + { |
| 10509 | + "command": "gitlens.views.openUrl", |
| 10510 | + "when": "false" |
| 10511 | + }, |
| 10512 | + { |
| 10513 | + "command": "gitlens.views.openUrl.multi", |
| 10514 | + "when": "false" |
| 10515 | + }, |
10506 | 10516 | { |
10507 | 10517 | "command": "gitlens.views.pruneRemote", |
10508 | 10518 | "when": "false" |
|
13854 | 13864 | "when": "listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && viewItem =~ /gitlens:contributor\\b(?!.*?\\b\\+current\\b)/", |
13855 | 13865 | "group": "1_gitlens_actions@2" |
13856 | 13866 | }, |
| 13867 | + { |
| 13868 | + "command": "gitlens.views.copyAsMarkdown", |
| 13869 | + "when": "viewItem =~ /gitlens:contributor\\b/", |
| 13870 | + "group": "7_gitlens_cutcopypaste@2" |
| 13871 | + }, |
13857 | 13872 | { |
13858 | 13873 | "command": "gitlens.copyShaToClipboard", |
13859 | 13874 | "when": "viewItem =~ /gitlens:commit\\b/", |
@@ -14186,40 +14201,39 @@ |
14186 | 14201 | { |
14187 | 14202 | "command": "gitlens.showSettingsPage!autolinks", |
14188 | 14203 | "when": "!listMultiSelection && viewItem =~ /gitlens:autolinked:items\\b/", |
14189 | | - "group": "1_gitlens_actions@99" |
| 14204 | + "group": "8_gitlens_actions@99" |
14190 | 14205 | }, |
14191 | 14206 | { |
14192 | | - "command": "gitlens.openIssueOnRemote", |
14193 | | - "when": "viewItem =~ /gitlens:autolinked:issue\\b/", |
| 14207 | + "command": "gitlens.views.openUrl", |
| 14208 | + "when": "viewItem =~ /gitlens:autolinked:item\\b/", |
14194 | 14209 | "group": "inline@99", |
14195 | | - "alt": "gitlens.copyRemoteIssueUrl" |
| 14210 | + "alt": "gitlens.views.copyUrl" |
14196 | 14211 | }, |
14197 | 14212 | { |
14198 | | - "command": "gitlens.openIssueOnRemote", |
14199 | | - "when": "!listMultiSelection && viewItem =~ /gitlens:autolinked:issue\\b/", |
| 14213 | + "command": "gitlens.views.openUrl", |
| 14214 | + "when": "!listMultiSelection && viewItem =~ /gitlens:autolinked:item\\b/", |
14200 | 14215 | "group": "1_gitlens_actions@99" |
14201 | 14216 | }, |
14202 | 14217 | { |
14203 | | - "command": "gitlens.copyRemoteIssueUrl", |
14204 | | - "when": "!listMultiSelection && viewItem =~ /gitlens:autolinked:issue\\b/", |
14205 | | - "group": "7_gitlens_cutcopypaste@1" |
14206 | | - }, |
14207 | | - { |
14208 | | - "command": "gitlens.openAutolinkUrl", |
14209 | | - "when": "viewItem =~ /gitlens:autolinked:item\\b/", |
14210 | | - "group": "inline@99", |
14211 | | - "alt": "gitlens.copyAutolinkUrl" |
| 14218 | + "command": "gitlens.views.openUrl.multi", |
| 14219 | + "when": "listMultiSelection && viewItem =~ /gitlens:autolinked:item\\b/", |
| 14220 | + "group": "1_gitlens_actions@99" |
14212 | 14221 | }, |
14213 | 14222 | { |
14214 | | - "command": "gitlens.openAutolinkUrl", |
| 14223 | + "command": "gitlens.views.copyUrl", |
14215 | 14224 | "when": "!listMultiSelection && viewItem =~ /gitlens:autolinked:item\\b/", |
14216 | | - "group": "1_gitlens_actions@99" |
| 14225 | + "group": "7_gitlens_cutcopypaste@1" |
14217 | 14226 | }, |
14218 | 14227 | { |
14219 | | - "command": "gitlens.copyAutolinkUrl", |
14220 | | - "when": "!listMultiSelection && viewItem =~ /gitlens:autolinked:item\\b/", |
| 14228 | + "command": "gitlens.views.copyUrl.multi", |
| 14229 | + "when": "listMultiSelection && viewItem =~ /gitlens:autolinked:item\\b/", |
14221 | 14230 | "group": "7_gitlens_cutcopypaste@1" |
14222 | 14231 | }, |
| 14232 | + { |
| 14233 | + "command": "gitlens.views.copyAsMarkdown", |
| 14234 | + "when": "viewItem =~ /gitlens:autolinked:item\\b/", |
| 14235 | + "group": "7_gitlens_cutcopypaste@2" |
| 14236 | + }, |
14223 | 14237 | { |
14224 | 14238 | "command": "gitlens.views.openPullRequest", |
14225 | 14239 | "when": "gitlens:action:openPullRequest > 1 && viewItem =~ /gitlens:pullrequest\\b/", |
|
15097 | 15111 | }, |
15098 | 15112 | { |
15099 | 15113 | "command": "gitlens.views.copy", |
15100 | | - "when": "viewItem =~ /gitlens:(?=(autolinked:issue|branch|commit|contributor|file(?!.*?\\b\\+(staged|unstaged))\\b|folder|history:line|pullrequest|remote|repository|repo-folder|search:results|stash|tag|workspace|worktree)\\b)/", |
| 15114 | + "when": "viewItem =~ /gitlens:(?=(autolinked:item\\b|branch|commit|contributor|file(?!.*?\\b\\+(staged|unstaged))\\b|folder|history:line|pullrequest|remote|repository|repo-folder|search:results|stash|tag|workspace|worktree)\\b)/", |
15101 | 15115 | "group": "7_gitlens_cutcopypaste@1" |
15102 | 15116 | }, |
15103 | 15117 | { |
|
0 commit comments