Skip to content

Commit 459b326

Browse files
committed
Add command to select imported files for selected items
- regarding 'select imported files': move core logic to `apps/editor/src/features/imported-files`, translations to `apps/editor/src/i18n/translations/features/imported-files` - integrate 'get all files' as part of `apps/editor/src/context/providers/workspace/workspace-provider.ts` - in 'selected files' > 'more actions', implement 'select imported files' - translations used directly by *-command files should be placed in `apps/editor/src/i18n/translations/commands`
1 parent 8994b8c commit 459b326

33 files changed

Lines changed: 850 additions & 833 deletions

‎apps/editor/package.json‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,11 @@
368368
"title": "%codeWebChat.selectReferencingFilesForSelected.title%",
369369
"category": "Code Web Chat"
370370
},
371+
{
372+
"command": "codeWebChat.selectImportedFilesForSelected",
373+
"title": "%codeWebChat.selectImportedFilesForSelected.title%",
374+
"category": "Code Web Chat"
375+
},
371376
{
372377
"command": "codeWebChat.selectDefinitionFile",
373378
"title": "%codeWebChat.selectDefinitionFile.title%",
@@ -580,6 +585,10 @@
580585
"command": "codeWebChat.selectReferencingFiles",
581586
"when": "false"
582587
},
588+
{
589+
"command": "codeWebChat.selectImportedFilesForSelected",
590+
"when": "false"
591+
},
583592
{
584593
"command": "codeWebChat.selectImportedFiles",
585594
"when": "false"
@@ -623,6 +632,11 @@
623632
"when": "view == codeWebChatViewSelectedFiles",
624633
"group": "1_more@1"
625634
},
635+
{
636+
"command": "codeWebChat.selectImportedFilesForSelected",
637+
"when": "view == codeWebChatViewSelectedFiles",
638+
"group": "1_more@2"
639+
},
626640
{
627641
"command": "codeWebChat.checkAll",
628642
"when": "view == codeWebChatViewWorkspace",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"codeWebChat.searchFilesFromDirectory.title": "Търсене на файлове...",
4747
"codeWebChat.selectReferencingFilesForSelected.title": "Избери рефериращите файлове...",
4848
"codeWebChat.selectReferencingFiles.title": "Избери рефериращите файлове...",
49+
"codeWebChat.selectImportedFilesForSelected.title": "Избери импортираните файлове...",
4950
"codeWebChat.selectDefinitionFile.title": "Изберете файл с дефиниция",
5051
"codeWebChat.openInIntegratedTerminal.title": "Отвори във вградения терминал",
5152
"codeWebChat.removeFolderFromWorkspace.title": "Премахни папката от работното пространство",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"codeWebChat.searchFilesFromDirectory.title": "Hledat soubory...",
4747
"codeWebChat.selectReferencingFilesForSelected.title": "Vybrat odkazující soubory...",
4848
"codeWebChat.selectReferencingFiles.title": "Vybrat odkazující soubory...",
49+
"codeWebChat.selectImportedFilesForSelected.title": "Vybrat importované soubory...",
4950
"codeWebChat.selectDefinitionFile.title": "Vybrat soubor definice",
5051
"codeWebChat.openInIntegratedTerminal.title": "Otevřít v integrovaném terminálu",
5152
"codeWebChat.removeFolderFromWorkspace.title": "Odebrat složku z pracovního prostoru",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"codeWebChat.searchFilesFromDirectory.title": "Dateien suchen...",
4747
"codeWebChat.selectReferencingFilesForSelected.title": "Referenzierende Dateien auswählen...",
4848
"codeWebChat.selectReferencingFiles.title": "Referenzierende Dateien auswählen...",
49+
"codeWebChat.selectImportedFilesForSelected.title": "Importierte Dateien auswählen...",
4950
"codeWebChat.selectDefinitionFile.title": "Definitionsdatei auswählen",
5051
"codeWebChat.openInIntegratedTerminal.title": "In integriertem Terminal öffnen",
5152
"codeWebChat.removeFolderFromWorkspace.title": "Ordner aus Arbeitsbereich entfernen",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"codeWebChat.searchFilesFromDirectory.title": "Buscar archivos...",
4747
"codeWebChat.selectReferencingFilesForSelected.title": "Seleccionar archivos que referencian...",
4848
"codeWebChat.selectReferencingFiles.title": "Seleccionar archivos que referencian...",
49+
"codeWebChat.selectImportedFilesForSelected.title": "Seleccionar archivos importados...",
4950
"codeWebChat.selectDefinitionFile.title": "Seleccionar archivo de definición",
5051
"codeWebChat.openInIntegratedTerminal.title": "Abrir en terminal integrado",
5152
"codeWebChat.removeFolderFromWorkspace.title": "Eliminar carpeta del espacio de trabajo",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"codeWebChat.searchFilesFromDirectory.title": "Rechercher des fichiers...",
4747
"codeWebChat.selectReferencingFilesForSelected.title": "Sélectionner les fichiers de référence...",
4848
"codeWebChat.selectReferencingFiles.title": "Sélectionner les fichiers de référence...",
49+
"codeWebChat.selectImportedFilesForSelected.title": "Sélectionner les fichiers importés...",
4950
"codeWebChat.selectDefinitionFile.title": "Sélectionner le fichier de définition",
5051
"codeWebChat.openInIntegratedTerminal.title": "Ouvrir dans le terminal intégré",
5152
"codeWebChat.removeFolderFromWorkspace.title": "Retirer le dossier de l'espace de travail",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"codeWebChat.searchFilesFromDirectory.title": "Fájlok keresése...",
4747
"codeWebChat.selectReferencingFilesForSelected.title": "Hivatkozó fájlok kiválasztása...",
4848
"codeWebChat.selectReferencingFiles.title": "Hivatkozó fájlok kiválasztása...",
49+
"codeWebChat.selectImportedFilesForSelected.title": "Importált fájlok kiválasztása...",
4950
"codeWebChat.selectDefinitionFile.title": "Definíciós fájl kiválasztása",
5051
"codeWebChat.openInIntegratedTerminal.title": "Megnyitás az integrált terminálban",
5152
"codeWebChat.removeFolderFromWorkspace.title": "Mappa eltávolítása a munkaterületről",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"codeWebChat.searchFilesFromDirectory.title": "Cerca file...",
4747
"codeWebChat.selectReferencingFilesForSelected.title": "Seleziona i file di riferimento...",
4848
"codeWebChat.selectReferencingFiles.title": "Seleziona i file di riferimento...",
49+
"codeWebChat.selectImportedFilesForSelected.title": "Seleziona i file importati...",
4950
"codeWebChat.selectDefinitionFile.title": "Seleziona file di definizione",
5051
"codeWebChat.openInIntegratedTerminal.title": "Apri nel terminale integrato",
5152
"codeWebChat.removeFolderFromWorkspace.title": "Rimuovi cartella dall'area di lavoro",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"codeWebChat.searchFilesFromDirectory.title": "ファイルを検索...",
4747
"codeWebChat.selectReferencingFilesForSelected.title": "参照しているファイルを選択...",
4848
"codeWebChat.selectReferencingFiles.title": "参照しているファイルを選択...",
49+
"codeWebChat.selectImportedFilesForSelected.title": "インポートされたファイルを選択...",
4950
"codeWebChat.selectDefinitionFile.title": "定義ファイルを選択",
5051
"codeWebChat.openInIntegratedTerminal.title": "統合ターミナルで開く",
5152
"codeWebChat.removeFolderFromWorkspace.title": "ワークスペースからフォルダーを削除",

‎apps/editor/package.nls.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"codeWebChat.searchFilesFromDirectory.title": "Search Files...",
4747
"codeWebChat.selectReferencingFilesForSelected.title": "Select Referencing Files...",
4848
"codeWebChat.selectReferencingFiles.title": "Select Referencing Files...",
49+
"codeWebChat.selectImportedFilesForSelected.title": "Select Imported Files...",
4950
"codeWebChat.selectDefinitionFile.title": "Select Definition File",
5051
"codeWebChat.openInIntegratedTerminal.title": "Open in Integrated Terminal",
5152
"codeWebChat.removeFolderFromWorkspace.title": "Remove Folder from Workspace",

0 commit comments

Comments
 (0)