Skip to content

Commit 2b726c1

Browse files
committed
Add command to copy commit message prompt to clipboard
- restore 'copy commit message' command [Commit] └── 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 d490ab1 commit 2b726c1

18 files changed

Lines changed: 66 additions & 1 deletion

‎apps/editor/package.json‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,12 @@
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+
},
325331
{
326332
"command": "codeWebChat.generateCommitMessageAndCommit",
327333
"title": "%codeWebChat.generateCommitMessageAndCommit.title%",
@@ -548,6 +554,10 @@
548554
"command": "codeWebChat.generateCommitMessage",
549555
"when": "false"
550556
},
557+
{
558+
"command": "codeWebChat.copyCommitMessagePrompt",
559+
"when": "false"
560+
},
551561
{
552562
"command": "codeWebChat.visitWebsite",
553563
"when": "false"
@@ -764,6 +774,11 @@
764774
"command": "codeWebChat.generateCommitMessage",
765775
"group": "navigation",
766776
"when": "scmProvider == git"
777+
},
778+
{
779+
"command": "codeWebChat.copyCommitMessagePrompt",
780+
"group": "navigation",
781+
"when": "scmProvider == git"
767782
}
768783
],
769784
"editor/title": [

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

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

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
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",
4243
"codeWebChat.generateCommitMessageAndCommit.title": "Potvrdit změny",
4344
"codeWebChat.setRanges.title": "Nastavit rozsahy...",
4445
"codeWebChat.searchFiles.title": "Hledat soubory...",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
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",
4243
"codeWebChat.generateCommitMessageAndCommit.title": "Änderungen committen",
4344
"codeWebChat.setRanges.title": "Bereiche festlegen...",
4445
"codeWebChat.searchFiles.title": "Dateien suchen...",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
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",
4243
"codeWebChat.generateCommitMessageAndCommit.title": "Hacer commit de los cambios",
4344
"codeWebChat.setRanges.title": "Establecer rangos...",
4445
"codeWebChat.searchFiles.title": "Buscar archivos...",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
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",
4243
"codeWebChat.generateCommitMessageAndCommit.title": "Valider les modifications",
4344
"codeWebChat.setRanges.title": "Définir les plages...",
4445
"codeWebChat.searchFiles.title": "Rechercher des fichiers...",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
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",
4243
"codeWebChat.generateCommitMessageAndCommit.title": "Változások commitálása",
4344
"codeWebChat.setRanges.title": "Tartományok beállítása...",
4445
"codeWebChat.searchFiles.title": "Fájlok keresése...",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
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",
4243
"codeWebChat.generateCommitMessageAndCommit.title": "Esegui commit delle modifiche",
4344
"codeWebChat.setRanges.title": "Imposta intervalli...",
4445
"codeWebChat.searchFiles.title": "Cerca file...",

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

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

‎apps/editor/package.nls.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
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",
4243
"codeWebChat.generateCommitMessageAndCommit.title": "Commit Changes",
4344
"codeWebChat.setRanges.title": "Set Ranges...",
4445
"codeWebChat.searchFiles.title": "Search Files...",

0 commit comments

Comments
 (0)