Skip to content

Commit 810dace

Browse files
committed
Replace parent folder check commands with a new command to check imported files
1 parent b5820f4 commit 810dace

25 files changed

Lines changed: 361 additions & 358 deletions

‎apps/editor/package.json‎

Lines changed: 13 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -258,12 +258,8 @@
258258
"icon": "$(trash)"
259259
},
260260
{
261-
"command": "codeWebChat.checkParentFolder",
262-
"title": "%codeWebChat.checkParentFolder.title%"
263-
},
264-
{
265-
"command": "codeWebChat.uncheckParentFolder",
266-
"title": "%codeWebChat.uncheckParentFolder.title%"
261+
"command": "codeWebChat.checkImportedFiles",
262+
"title": "%codeWebChat.checkImportedFiles.title%"
267263
},
268264
{
269265
"command": "codeWebChat.referenceInPrompt",
@@ -467,14 +463,6 @@
467463
"command": "codeWebChat.delete",
468464
"when": "false"
469465
},
470-
{
471-
"command": "codeWebChat.checkParentFolder",
472-
"when": "false"
473-
},
474-
{
475-
"command": "codeWebChat.uncheckParentFolder",
476-
"when": "false"
477-
},
478466
{
479467
"command": "codeWebChat.referenceInPrompt",
480468
"when": "false"
@@ -535,6 +523,10 @@
535523
"command": "codeWebChat.checkReferencingFilesForContext",
536524
"when": "false"
537525
},
526+
{
527+
"command": "codeWebChat.checkImportedFiles",
528+
"when": "false"
529+
},
538530
{
539531
"command": "codeWebChat.removeFolderFromWorkspace",
540532
"when": "false"
@@ -682,14 +674,9 @@
682674
"group": "1_modification@2"
683675
},
684676
{
685-
"command": "codeWebChat.checkParentFolder",
686-
"when": "view == codeWebChatViewOpenEditors && viewItem == openEditor",
687-
"group": "2_modification@1"
688-
},
689-
{
690-
"command": "codeWebChat.uncheckParentFolder",
677+
"command": "codeWebChat.checkImportedFiles",
691678
"when": "view == codeWebChatViewOpenEditors && viewItem == openEditor",
692-
"group": "2_modification@1.5"
679+
"group": "2_modification@0.5"
693680
},
694681
{
695682
"command": "codeWebChat.referenceInPrompt",
@@ -736,6 +723,11 @@
736723
"when": "view == codeWebChatViewWorkspace",
737724
"group": "1_creation@4"
738725
},
726+
{
727+
"command": "codeWebChat.checkImportedFiles",
728+
"when": "(view == codeWebChatViewWorkspace || view == codeWebChatViewContext) && viewItem == file",
729+
"group": "1_modification@2.5"
730+
},
739731
{
740732
"command": "codeWebChat.referenceInPrompt",
741733
"when": "view == codeWebChatViewWorkspace || view == codeWebChatViewContext",

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
"codeWebChat.newFile.title": "Нов файл...",
3030
"codeWebChat.rename.title": "Преименувай...",
3131
"codeWebChat.delete.title": "Изтрий",
32-
"codeWebChat.checkParentFolder.title": "Маркирай родителската папка",
33-
"codeWebChat.uncheckParentFolder.title": "Размаркирай родителската папка",
32+
"codeWebChat.checkImportedFiles.title": "Маркирай импортираните файлове...",
3433
"codeWebChat.referenceInPrompt.title": "Използвай в промпта",
3534
"codeWebChat.revealInExplorer.title": "Покажи в Explorer",
3635
"codeWebChat.findInFolder.title": "Намери в папката...",
@@ -39,7 +38,7 @@
3938
"codeWebChat.generateCommitMessage.title": "Генерирай commit съобщение с CWC",
4039
"codeWebChat.copyCommitMessagePrompt.title": "Копирай промпт за commit",
4140
"codeWebChat.generateCommitMessageAndCommit.title": "Потвърди промените",
42-
"codeWebChat.setRanges.title": "Задай диапазони",
41+
"codeWebChat.setRanges.title": "Задай диапазони...",
4342
"codeWebChat.searchFilesForContext.title": "Търси файлове за контекста...",
4443
"codeWebChat.searchFilesForContextFromDirectory.title": "Търси файлове за контекста...",
4544
"codeWebChat.checkReferencingFilesForContext.title": "Маркирай рефериращите файлове за контекста",

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
"codeWebChat.newFile.title": "Nový soubor...",
3030
"codeWebChat.rename.title": "Přejmenovat...",
3131
"codeWebChat.delete.title": "Odstranit",
32-
"codeWebChat.checkParentFolder.title": "Vybrat nadřazenou složku",
33-
"codeWebChat.uncheckParentFolder.title": "Zrušit výběr nadřazené složky",
32+
"codeWebChat.checkImportedFiles.title": "Vybrat importované soubory...",
3433
"codeWebChat.referenceInPrompt.title": "Odkázat v promptu",
3534
"codeWebChat.revealInExplorer.title": "Odkrýt v Průzkumníkovi",
3635
"codeWebChat.findInFolder.title": "Najít ve složce...",
@@ -39,7 +38,7 @@
3938
"codeWebChat.generateCommitMessage.title": "Generovat zprávu commitu pomocí CWC",
4039
"codeWebChat.copyCommitMessagePrompt.title": "Kopírovat prompt zprávy commitu",
4140
"codeWebChat.generateCommitMessageAndCommit.title": "Potvrdit změny",
42-
"codeWebChat.setRanges.title": "Nastavit rozsahy",
41+
"codeWebChat.setRanges.title": "Nastavit rozsahy...",
4342
"codeWebChat.searchFilesForContext.title": "Hledat soubory pro kontext...",
4443
"codeWebChat.searchFilesForContextFromDirectory.title": "Hledat soubory pro kontext...",
4544
"codeWebChat.checkReferencingFilesForContext.title": "Vybrat odkazující soubory pro kontext",

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
"codeWebChat.newFile.title": "Neue Datei...",
3030
"codeWebChat.rename.title": "Umbenennen...",
3131
"codeWebChat.delete.title": "Löschen",
32-
"codeWebChat.checkParentFolder.title": "Übergeordneten Ordner auswählen",
33-
"codeWebChat.uncheckParentFolder.title": "Auswahl des übergeordneten Ordners aufheben",
32+
"codeWebChat.checkImportedFiles.title": "Importierte Dateien auswählen...",
3433
"codeWebChat.referenceInPrompt.title": "In Prompt referenzieren",
3534
"codeWebChat.revealInExplorer.title": "Im Explorer anzeigen",
3635
"codeWebChat.findInFolder.title": "In Ordner suchen...",
@@ -39,7 +38,7 @@
3938
"codeWebChat.generateCommitMessage.title": "Commit-Nachricht mit CWC generieren",
4039
"codeWebChat.copyCommitMessagePrompt.title": "Commit-Nachricht-Prompt kopieren",
4140
"codeWebChat.generateCommitMessageAndCommit.title": "Änderungen committen",
42-
"codeWebChat.setRanges.title": "Bereiche festlegen",
41+
"codeWebChat.setRanges.title": "Bereiche festlegen...",
4342
"codeWebChat.searchFilesForContext.title": "Dateien für Kontext suchen...",
4443
"codeWebChat.searchFilesForContextFromDirectory.title": "Dateien für Kontext suchen...",
4544
"codeWebChat.checkReferencingFilesForContext.title": "Referenzierende Dateien für Kontext auswählen",

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
"codeWebChat.newFile.title": "Nuevo archivo...",
3030
"codeWebChat.rename.title": "Renombrar...",
3131
"codeWebChat.delete.title": "Eliminar",
32-
"codeWebChat.checkParentFolder.title": "Marcar carpeta principal",
33-
"codeWebChat.uncheckParentFolder.title": "Desmarcar carpeta principal",
32+
"codeWebChat.checkImportedFiles.title": "Marcar archivos importados...",
3433
"codeWebChat.referenceInPrompt.title": "Referenciar en el prompt",
3534
"codeWebChat.revealInExplorer.title": "Mostrar en el Explorador",
3635
"codeWebChat.findInFolder.title": "Buscar en carpeta...",
@@ -39,7 +38,7 @@
3938
"codeWebChat.generateCommitMessage.title": "Generar mensaje de commit con CWC",
4039
"codeWebChat.copyCommitMessagePrompt.title": "Copiar prompt del mensaje de commit",
4140
"codeWebChat.generateCommitMessageAndCommit.title": "Hacer commit de los cambios",
42-
"codeWebChat.setRanges.title": "Establecer rangos",
41+
"codeWebChat.setRanges.title": "Establecer rangos...",
4342
"codeWebChat.searchFilesForContext.title": "Buscar archivos para el contexto...",
4443
"codeWebChat.searchFilesForContextFromDirectory.title": "Buscar archivos para el contexto...",
4544
"codeWebChat.checkReferencingFilesForContext.title": "Marcar archivos que referencian para el contexto",

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,16 @@
2929
"codeWebChat.newFile.title": "Nouveau fichier...",
3030
"codeWebChat.rename.title": "Renommer...",
3131
"codeWebChat.delete.title": "Supprimer",
32-
"codeWebChat.checkParentFolder.title": "Cocher le dossier parent",
33-
"codeWebChat.uncheckParentFolder.title": "Décocher le dossier parent",
32+
"codeWebChat.checkImportedFiles.title": "Cocher les fichiers importés...",
3433
"codeWebChat.referenceInPrompt.title": "Référencer dans le prompt",
3534
"codeWebChat.revealInExplorer.title": "Révéler dans l'explorateur",
3635
"codeWebChat.findInFolder.title": "Rechercher dans le dossier...",
3736
"codeWebChat.createNewCheckpoint.title": "Créer un nouveau point de contrôle",
3837
"codeWebChat.settings.title": "Paramètres",
3938
"codeWebChat.generateCommitMessage.title": "Générer un message de commit avec CWC",
40-
"codeWebChat.copyCommitMessagePrompt.title": "Copier le prompt du message de commit",
39+
"codeWebChat.copyCommitMessagePrompt.title": "Copiar le prompt du message de commit",
4140
"codeWebChat.generateCommitMessageAndCommit.title": "Valider les modifications",
42-
"codeWebChat.setRanges.title": "Définir les plages",
41+
"codeWebChat.setRanges.title": "Définir les plages...",
4342
"codeWebChat.searchFilesForContext.title": "Rechercher des fichiers pour le contexte...",
4443
"codeWebChat.searchFilesForContextFromDirectory.title": "Rechercher des fichiers pour le contexte...",
4544
"codeWebChat.checkReferencingFilesForContext.title": "Cocher les fichiers faisant référence au contexte",

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
"codeWebChat.newFile.title": "Új fájl...",
3030
"codeWebChat.rename.title": "Átnevezés...",
3131
"codeWebChat.delete.title": "Törlés",
32-
"codeWebChat.checkParentFolder.title": "Szülőmappa kijelölése",
33-
"codeWebChat.uncheckParentFolder.title": "Szülőmappa kijelölésének megszüntetése",
32+
"codeWebChat.checkImportedFiles.title": "Importált fájlok kijelölése...",
3433
"codeWebChat.referenceInPrompt.title": "Hivatkozás a promptban",
3534
"codeWebChat.revealInExplorer.title": "Megjelenítés az Intézőben",
3635
"codeWebChat.findInFolder.title": "Keresés a mappában...",
@@ -39,7 +38,7 @@
3938
"codeWebChat.generateCommitMessage.title": "Commit üzenet generálása CWC-vel",
4039
"codeWebChat.copyCommitMessagePrompt.title": "Commit üzenet prompt másolása",
4140
"codeWebChat.generateCommitMessageAndCommit.title": "Változások commitálása",
42-
"codeWebChat.setRanges.title": "Tartományok beállítása",
41+
"codeWebChat.setRanges.title": "Tartományok beállítása...",
4342
"codeWebChat.searchFilesForContext.title": "Fájlok keresése a kontextushoz...",
4443
"codeWebChat.searchFilesForContextFromDirectory.title": "Fájlok keresése a kontextushoz...",
4544
"codeWebChat.checkReferencingFilesForContext.title": "A kontextusra hivatkozó fájlok kijelölése",

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
"codeWebChat.newFile.title": "Nuovo file...",
3030
"codeWebChat.rename.title": "Rinomina...",
3131
"codeWebChat.delete.title": "Elimina",
32-
"codeWebChat.checkParentFolder.title": "Seleziona cartella superiore",
33-
"codeWebChat.uncheckParentFolder.title": "Deseleziona cartella superiore",
32+
"codeWebChat.checkImportedFiles.title": "Seleziona i file importati...",
3433
"codeWebChat.referenceInPrompt.title": "Riferimento nel prompt",
3534
"codeWebChat.revealInExplorer.title": "Mostra in Esplora risorse",
3635
"codeWebChat.findInFolder.title": "Trova nella cartella...",
@@ -39,7 +38,7 @@
3938
"codeWebChat.generateCommitMessage.title": "Genera messaggio di commit con CWC",
4039
"codeWebChat.copyCommitMessagePrompt.title": "Copia prompt del messaggio di commit",
4140
"codeWebChat.generateCommitMessageAndCommit.title": "Esegui commit delle modifiche",
42-
"codeWebChat.setRanges.title": "Imposta intervalli",
41+
"codeWebChat.setRanges.title": "Imposta intervalli...",
4342
"codeWebChat.searchFilesForContext.title": "Cerca file per il contesto...",
4443
"codeWebChat.searchFilesForContextFromDirectory.title": "Cerca file per il contesto...",
4544
"codeWebChat.checkReferencingFilesForContext.title": "Seleziona i file che fanno riferimento al contesto",

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
"codeWebChat.newFile.title": "新しいファイル...",
3030
"codeWebChat.rename.title": "名前の変更...",
3131
"codeWebChat.delete.title": "削除",
32-
"codeWebChat.checkParentFolder.title": "親フォルダーを選択",
33-
"codeWebChat.uncheckParentFolder.title": "親フォルダーの選択を解除",
32+
"codeWebChat.checkImportedFiles.title": "インポートされたファイルを選択...",
3433
"codeWebChat.referenceInPrompt.title": "プロンプトで参照",
3534
"codeWebChat.revealInExplorer.title": "エクスプローラーで表示",
3635
"codeWebChat.findInFolder.title": "フォルダー内を検索...",
@@ -39,7 +38,7 @@
3938
"codeWebChat.generateCommitMessage.title": "CWCでコミットメッセージを生成",
4039
"codeWebChat.copyCommitMessagePrompt.title": "コミットメッセージのプロンプトをコピー",
4140
"codeWebChat.generateCommitMessageAndCommit.title": "変更をコミット",
42-
"codeWebChat.setRanges.title": "範囲を設定",
41+
"codeWebChat.setRanges.title": "範囲を設定...",
4342
"codeWebChat.searchFilesForContext.title": "コンテキストのファイルを検索...",
4443
"codeWebChat.searchFilesForContextFromDirectory.title": "コンテキストのファイルを検索...",
4544
"codeWebChat.checkReferencingFilesForContext.title": "コンテキストを参照しているファイルを選択",

‎apps/editor/package.nls.json‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
"codeWebChat.newFile.title": "New File...",
3030
"codeWebChat.rename.title": "Rename...",
3131
"codeWebChat.delete.title": "Delete",
32-
"codeWebChat.checkParentFolder.title": "Check Parent Folder",
33-
"codeWebChat.uncheckParentFolder.title": "Uncheck Parent Folder",
32+
"codeWebChat.checkImportedFiles.title": "Check Imported Files...",
3433
"codeWebChat.referenceInPrompt.title": "Reference in Prompt",
3534
"codeWebChat.revealInExplorer.title": "Reveal in Explorer View",
3635
"codeWebChat.findInFolder.title": "Find in Folder...",
@@ -39,7 +38,7 @@
3938
"codeWebChat.generateCommitMessage.title": "Generate Commit Message with CWC",
4039
"codeWebChat.copyCommitMessagePrompt.title": "Copy Commit Message Prompt",
4140
"codeWebChat.generateCommitMessageAndCommit.title": "Commit Changes",
42-
"codeWebChat.setRanges.title": "Set Ranges",
41+
"codeWebChat.setRanges.title": "Set Ranges...",
4342
"codeWebChat.searchFilesForContext.title": "Search Files for Context...",
4443
"codeWebChat.searchFilesForContextFromDirectory.title": "Search Files for Context...",
4544
"codeWebChat.checkReferencingFilesForContext.title": "Check Referencing Files for Context",

0 commit comments

Comments
 (0)