|
5986 | 5986 | "category": "GitLens", |
5987 | 5987 | "icon": "$(person-add)" |
5988 | 5988 | }, |
| 5989 | + { |
| 5990 | + "command": "gitlens.ai.generateCommitMessage", |
| 5991 | + "title": "Generate Commit Message...", |
| 5992 | + "category": "GitLens" |
| 5993 | + }, |
5989 | 5994 | { |
5990 | 5995 | "command": "gitlens.annotations.nextChange", |
5991 | 5996 | "title": "Next Change", |
|
6357 | 6362 | "icon": "$(repo-fetch)", |
6358 | 6363 | "enablement": "!operationInProgress" |
6359 | 6364 | }, |
6360 | | - { |
6361 | | - "command": "gitlens.generateCommitMessage", |
6362 | | - "title": "Generate Commit Message...", |
6363 | | - "category": "GitLens" |
6364 | | - }, |
6365 | 6365 | { |
6366 | 6366 | "command": "gitlens.getStarted", |
6367 | 6367 | "title": "Get Started", |
|
6547 | 6547 | "title": "Add as Co-author", |
6548 | 6548 | "icon": "$(person-add)" |
6549 | 6549 | }, |
| 6550 | + { |
| 6551 | + "command": "gitlens.graph.ai.generateCommitMessage", |
| 6552 | + "title": "Generate Commit Message..." |
| 6553 | + }, |
6550 | 6554 | { |
6551 | 6555 | "command": "gitlens.graph.associateIssueWithBranch", |
6552 | 6556 | "title": "Associate Issue with Branch...", |
|
6772 | 6776 | "icon": "$(repo-fetch)", |
6773 | 6777 | "enablement": "!operationInProgress" |
6774 | 6778 | }, |
6775 | | - { |
6776 | | - "command": "gitlens.graph.generateCommitMessage", |
6777 | | - "title": "Generate Commit Message..." |
6778 | | - }, |
6779 | 6779 | { |
6780 | 6780 | "command": "gitlens.graph.hideLocalBranch", |
6781 | 6781 | "title": "Hide Local Branch" |
|
7354 | 7354 | "category": "GitLens" |
7355 | 7355 | }, |
7356 | 7356 | { |
7357 | | - "command": "gitlens.scm.generateCommitMessage", |
| 7357 | + "command": "gitlens.scm.ai.generateCommitMessage", |
7358 | 7358 | "title": "Generate Commit Message with GitLens..." |
7359 | 7359 | }, |
7360 | 7360 | { |
|
7831 | 7831 | "icon": "$(add)", |
7832 | 7832 | "enablement": "!operationInProgress" |
7833 | 7833 | }, |
| 7834 | + { |
| 7835 | + "command": "gitlens.views.ai.generateChangelog", |
| 7836 | + "title": "Generate Changelog", |
| 7837 | + "icon": "$(sparkle)" |
| 7838 | + }, |
7834 | 7839 | { |
7835 | 7840 | "command": "gitlens.views.applyChanges", |
7836 | 7841 | "title": "Apply Changes", |
|
8386 | 8391 | "command": "gitlens.views.fileHistory.setShowMergeCommitsOn", |
8387 | 8392 | "title": "Show Merge Commits" |
8388 | 8393 | }, |
8389 | | - { |
8390 | | - "command": "gitlens.views.generateChangelog", |
8391 | | - "title": "Generate Changelog", |
8392 | | - "icon": "$(sparkle)" |
8393 | | - }, |
8394 | 8394 | { |
8395 | 8395 | "command": "gitlens.views.graph.openInTab", |
8396 | 8396 | "title": "Open in Editor", |
|
10298 | 10298 | "command": "gitlens.addAuthors", |
10299 | 10299 | "when": "gitlens:enabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" |
10300 | 10300 | }, |
| 10301 | + { |
| 10302 | + "command": "gitlens.ai.generateCommitMessage", |
| 10303 | + "when": "gitlens:enabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && gitlens:gk:organization:ai:enabled && config.gitlens.ai.generateCommitMessage.enabled" |
| 10304 | + }, |
10301 | 10305 | { |
10302 | 10306 | "command": "gitlens.annotations.nextChange", |
10303 | 10307 | "when": "false" |
|
10566 | 10570 | "command": "gitlens.fetchRepositories", |
10567 | 10571 | "when": "gitlens:repos:withRemotes && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" |
10568 | 10572 | }, |
10569 | | - { |
10570 | | - "command": "gitlens.generateCommitMessage", |
10571 | | - "when": "gitlens:enabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && gitlens:gk:organization:ai:enabled && config.gitlens.ai.generateCommitMessage.enabled" |
10572 | | - }, |
10573 | 10573 | { |
10574 | 10574 | "command": "gitlens.ghpr.views.openOrCreateWorktree", |
10575 | 10575 | "when": "false" |
|
10714 | 10714 | "command": "gitlens.graph.addAuthor", |
10715 | 10715 | "when": "false" |
10716 | 10716 | }, |
| 10717 | + { |
| 10718 | + "command": "gitlens.graph.ai.generateCommitMessage", |
| 10719 | + "when": "false" |
| 10720 | + }, |
10717 | 10721 | { |
10718 | 10722 | "command": "gitlens.graph.associateIssueWithBranch", |
10719 | 10723 | "when": "false" |
|
10902 | 10906 | "command": "gitlens.graph.fetch", |
10903 | 10907 | "when": "false" |
10904 | 10908 | }, |
10905 | | - { |
10906 | | - "command": "gitlens.graph.generateCommitMessage", |
10907 | | - "when": "false" |
10908 | | - }, |
10909 | 10909 | { |
10910 | 10910 | "command": "gitlens.graph.hideLocalBranch", |
10911 | 10911 | "when": "false" |
|
11343 | 11343 | "when": "resource in gitlens:tabs:blameable" |
11344 | 11344 | }, |
11345 | 11345 | { |
11346 | | - "command": "gitlens.scm.generateCommitMessage", |
| 11346 | + "command": "gitlens.scm.ai.generateCommitMessage", |
11347 | 11347 | "when": "false" |
11348 | 11348 | }, |
11349 | 11349 | { |
|
11686 | 11686 | "command": "gitlens.views.addRemote", |
11687 | 11687 | "when": "false" |
11688 | 11688 | }, |
| 11689 | + { |
| 11690 | + "command": "gitlens.views.ai.generateChangelog", |
| 11691 | + "when": "false" |
| 11692 | + }, |
11689 | 11693 | { |
11690 | 11694 | "command": "gitlens.views.applyChanges", |
11691 | 11695 | "when": "false" |
|
12162 | 12166 | "command": "gitlens.views.fileHistory.setShowMergeCommitsOn", |
12163 | 12167 | "when": "false" |
12164 | 12168 | }, |
12165 | | - { |
12166 | | - "command": "gitlens.views.generateChangelog", |
12167 | | - "when": "false" |
12168 | | - }, |
12169 | 12169 | { |
12170 | 12170 | "command": "gitlens.views.graph.openInTab", |
12171 | 12171 | "when": "false" |
|
13758 | 13758 | "group": "4_gitlens@3" |
13759 | 13759 | }, |
13760 | 13760 | { |
13761 | | - "command": "gitlens.scm.generateCommitMessage", |
| 13761 | + "command": "gitlens.scm.ai.generateCommitMessage", |
13762 | 13762 | "when": "gitlens:enabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && gitlens:gk:organization:ai:enabled && config.gitlens.ai.generateCommitMessage.enabled && config.gitlens.menus.scmRepository.generateCommitMessage", |
13763 | 13763 | "group": "4_gitlens@4" |
13764 | 13764 | } |
|
15939 | 15939 | "group": "2_z_gitlens@3" |
15940 | 15940 | }, |
15941 | 15941 | { |
15942 | | - "command": "gitlens.scm.generateCommitMessage", |
| 15942 | + "command": "gitlens.scm.ai.generateCommitMessage", |
15943 | 15943 | "when": "scmProvider == git && gitlens:enabled && config.gitlens.ai.generateCommitMessage.enabled && config.gitlens.menus.scmRepository.generateCommitMessage && gitlens:gk:organization:ai:enabled && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted", |
15944 | 15944 | "group": "2_z_gitlens@4" |
15945 | 15945 | }, |
|
16650 | 16650 | "group": "2_gitlens_quickopen@2" |
16651 | 16651 | }, |
16652 | 16652 | { |
16653 | | - "command": "gitlens.views.generateChangelog", |
16654 | | - "when": "viewItem =~ /gitlens:compare:results:commits\\b/", |
| 16653 | + "command": "gitlens.views.ai.generateChangelog", |
| 16654 | + "when": "viewItem =~ /gitlens:compare:results:commits\\b/ && gitlens:gk:organization:ai:enabled", |
16655 | 16655 | "group": "inline@98" |
16656 | 16656 | }, |
16657 | 16657 | { |
|
16666 | 16666 | "group": "3_gitlens_explore@0" |
16667 | 16667 | }, |
16668 | 16668 | { |
16669 | | - "command": "gitlens.views.generateChangelog", |
16670 | | - "when": "viewItem =~ /gitlens:compare:results:commits\\b/ && !listMultiSelection", |
| 16669 | + "command": "gitlens.views.ai.generateChangelog", |
| 16670 | + "when": "viewItem =~ /gitlens:compare:results:commits\\b/ && !listMultiSelection && gitlens:gk:organization:ai:enabled", |
16671 | 16671 | "group": "4_gitlens_actions@2" |
16672 | 16672 | }, |
16673 | 16673 | { |
|
20140 | 20140 | "group": "1_gitlens@1" |
20141 | 20141 | }, |
20142 | 20142 | { |
20143 | | - "command": "gitlens.graph.generateCommitMessage", |
| 20143 | + "command": "gitlens.graph.ai.generateCommitMessage", |
20144 | 20144 | "when": "webviewItem == gitlens:wip && config.gitlens.ai.generateCommitMessage.enabled && !listMultiSelection && gitlens:gk:organization:ai:enabled && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted", |
20145 | 20145 | "group": "1_gitlens@2" |
20146 | 20146 | }, |
|
0 commit comments