Skip to content

Commit 165cd1d

Browse files
committed
Remove copy commit message prompt command and modularize commit generation logic
- remove 'copyCommitMessagePrompt' command - for better coder organization, `apps/editor/src/commands/generate-commit-message-command/generate-commit-message-command.ts` should `apps/editor/src/commands/generate-commit-message-command/actions` folder └── apps └── editor ├── package.json ├── package.nls.bg.json ├── package.nls.cs.json ├── package.nls.de.json ├── package.nls.es.json ├── package.nls.fr.json ├── package.nls.hu.json ├── package.nls.it.json ├── package.nls.ja.json ├── package.nls.json ├── package.nls.ko.json ├── package.nls.pl.json ├── package.nls.pt-br.json ├── package.nls.ru.json ├── package.nls.tr.json ├── package.nls.zh-cn.json ├── package.nls.zh-tw.json └── src ├── commands │ └── generate-commit-message-command │ ├── actions │ │ ├── get-prompt-data.ts │ │ └── run-generate-action.ts │ ├── generate-commit-message-command.ts │ └── index.ts ├── extension.ts └── features └── checkpoints ├── actions │ ├── clear-all-checkpoints.ts │ ├── create-checkpoint.ts │ ├── create-temporary-checkpoint.ts │ ├── delete-checkpoint.ts │ ├── get-checkpoints.ts │ ├── index.ts │ ├── restore-checkpoint.ts │ ├── sync-workspace-from-dir.ts │ ├── toggle-checkpoint-star.ts │ └── update-checkpoint-description.ts ├── types │ ├── checkpoint.ts │ └── index.ts └── utils ├── copy-optimised-recursively.ts ├── get-checkpoint-path.ts ├── get-incremented-description.ts ├── git-utils.ts ├── index.ts └── sync-directory.ts
1 parent bf9ed5d commit 165cd1d

20 files changed

Lines changed: 551 additions & 600 deletions

‎apps/editor/package.json‎

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -322,12 +322,6 @@
322322
"category": "Code Web Chat",
323323
"icon": "$(sparkle)"
324324
},
325-
{
326-
"command": "codeWebChat.copyCommitMessagePrompt",
327-
"title": "%codeWebChat.copyCommitMessagePrompt.title%",
328-
"category": "Code Web Chat",
329-
"icon": "$(copy)"
330-
},
331325
{
332326
"command": "codeWebChat.generateCommitMessageAndCommit",
333327
"title": "%codeWebChat.generateCommitMessageAndCommit.title%",
@@ -566,10 +560,6 @@
566560
"command": "codeWebChat.generateCommitMessage",
567561
"when": "false"
568562
},
569-
{
570-
"command": "codeWebChat.copyCommitMessagePrompt",
571-
"when": "false"
572-
},
573563
{
574564
"command": "codeWebChat.searchFilesFromDirectory",
575565
"when": "false"
@@ -774,11 +764,6 @@
774764
"command": "codeWebChat.generateCommitMessage",
775765
"group": "navigation",
776766
"when": "scmProvider == git"
777-
},
778-
{
779-
"command": "codeWebChat.copyCommitMessagePrompt",
780-
"group": "navigation",
781-
"when": "scmProvider == git"
782767
}
783768
],
784769
"editor/title": [

‎apps/editor/package.nls.bg.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
"codeWebChat.createNewCheckpoint.title": "Създай нова контролна точка",
4040
"codeWebChat.settings.title": "Настройки",
4141
"codeWebChat.generateCommitMessage.title": "Генерирай commit съобщение с CWC",
42-
"codeWebChat.copyCommitMessagePrompt.title": "Копирай промпт за commit",
4342
"codeWebChat.generateCommitMessageAndCommit.title": "Потвърди промените",
4443
"codeWebChat.setRanges.title": "Задай диапазони...",
4544
"codeWebChat.searchFiles.title": "Търсене на файлове...",

‎apps/editor/package.nls.cs.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
"codeWebChat.createNewCheckpoint.title": "Vytvořit nový kontrolní bod",
4040
"codeWebChat.settings.title": "Nastavení",
4141
"codeWebChat.generateCommitMessage.title": "Generovat zprávu commitu pomocí CWC",
42-
"codeWebChat.copyCommitMessagePrompt.title": "Kopírovat prompt zprávy commitu",
4342
"codeWebChat.generateCommitMessageAndCommit.title": "Potvrdit změny",
4443
"codeWebChat.setRanges.title": "Nastavit rozsahy...",
4544
"codeWebChat.searchFiles.title": "Hledat soubory...",

‎apps/editor/package.nls.de.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
"codeWebChat.createNewCheckpoint.title": "Neuen Checkpoint erstellen",
4040
"codeWebChat.settings.title": "Einstellungen",
4141
"codeWebChat.generateCommitMessage.title": "Commit-Nachricht mit CWC generieren",
42-
"codeWebChat.copyCommitMessagePrompt.title": "Commit-Nachricht-Prompt kopieren",
4342
"codeWebChat.generateCommitMessageAndCommit.title": "Änderungen committen",
4443
"codeWebChat.setRanges.title": "Bereiche festlegen...",
4544
"codeWebChat.searchFiles.title": "Dateien suchen...",

‎apps/editor/package.nls.es.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
"codeWebChat.createNewCheckpoint.title": "Crear nuevo punto de control",
4040
"codeWebChat.settings.title": "Configuración",
4141
"codeWebChat.generateCommitMessage.title": "Generar mensaje de commit con CWC",
42-
"codeWebChat.copyCommitMessagePrompt.title": "Copiar prompt del mensaje de commit",
4342
"codeWebChat.generateCommitMessageAndCommit.title": "Hacer commit de los cambios",
4443
"codeWebChat.setRanges.title": "Establecer rangos...",
4544
"codeWebChat.searchFiles.title": "Buscar archivos...",

‎apps/editor/package.nls.fr.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
"codeWebChat.createNewCheckpoint.title": "Créer un nouveau point de contrôle",
4040
"codeWebChat.settings.title": "Paramètres",
4141
"codeWebChat.generateCommitMessage.title": "Générer un message de commit avec CWC",
42-
"codeWebChat.copyCommitMessagePrompt.title": "Copiar le prompt du message de commit",
4342
"codeWebChat.generateCommitMessageAndCommit.title": "Valider les modifications",
4443
"codeWebChat.setRanges.title": "Définir les plages...",
4544
"codeWebChat.searchFiles.title": "Rechercher des fichiers...",

‎apps/editor/package.nls.hu.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
"codeWebChat.createNewCheckpoint.title": "Új ellenőrzőpont létrehozása",
4040
"codeWebChat.settings.title": "Beállítások",
4141
"codeWebChat.generateCommitMessage.title": "Commit üzenet generálása CWC-vel",
42-
"codeWebChat.copyCommitMessagePrompt.title": "Commit üzenet prompt másolása",
4342
"codeWebChat.generateCommitMessageAndCommit.title": "Változások commitálása",
4443
"codeWebChat.setRanges.title": "Tartományok beállítása...",
4544
"codeWebChat.searchFiles.title": "Fájlok keresése...",

‎apps/editor/package.nls.it.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
"codeWebChat.createNewCheckpoint.title": "Crea nuovo punto di controllo",
4040
"codeWebChat.settings.title": "Impostazioni",
4141
"codeWebChat.generateCommitMessage.title": "Genera messaggio di commit con CWC",
42-
"codeWebChat.copyCommitMessagePrompt.title": "Copia prompt del messaggio di commit",
4342
"codeWebChat.generateCommitMessageAndCommit.title": "Esegui commit delle modifiche",
4443
"codeWebChat.setRanges.title": "Imposta intervalli...",
4544
"codeWebChat.searchFiles.title": "Cerca file...",

‎apps/editor/package.nls.ja.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
"codeWebChat.createNewCheckpoint.title": "新しいチェックポイントを作成",
4040
"codeWebChat.settings.title": "設定",
4141
"codeWebChat.generateCommitMessage.title": "CWCでコミットメッセージを生成",
42-
"codeWebChat.copyCommitMessagePrompt.title": "コミットメッセージのプロンプトをコピー",
4342
"codeWebChat.generateCommitMessageAndCommit.title": "変更をコミット",
4443
"codeWebChat.setRanges.title": "範囲を設定...",
4544
"codeWebChat.searchFiles.title": "ファイルを検索...",

‎apps/editor/package.nls.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
"codeWebChat.createNewCheckpoint.title": "Create New Checkpoint",
4040
"codeWebChat.settings.title": "Settings",
4141
"codeWebChat.generateCommitMessage.title": "Generate Commit Message with CWC",
42-
"codeWebChat.copyCommitMessagePrompt.title": "Copy Commit Message Prompt",
4342
"codeWebChat.generateCommitMessageAndCommit.title": "Commit Changes",
4443
"codeWebChat.setRanges.title": "Set Ranges...",
4544
"codeWebChat.searchFiles.title": "Search Files...",

0 commit comments

Comments
 (0)