Skip to content

Commit 6654ee1

Browse files
committed
Add command to select all workspace files
- in workspace's more actions, place 'Select All Workspace Files' (above 'select workspace file') └── 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 ├── context │ ├── context-initialization.ts │ ├── helpers │ │ ├── get-all-workspace-files.ts │ │ └── get-selected-files.ts │ ├── providers │ │ ├── open-editors │ │ │ └── open-editors-provider.ts │ │ ├── selected-files │ │ │ └── selected-files-provider.ts │ │ └── workspace │ │ ├── modules │ │ │ ├── index.ts │ │ │ └── token-calculator.ts │ │ └── workspace-provider.ts │ ├── shared-context-state.ts │ └── utils │ └── shrink-file │ ├── index.ts │ ├── languages │ │ ├── c-style.ts │ │ ├── css.ts │ │ ├── html.ts │ │ ├── jsx.ts │ │ ├── python.ts │ │ ├── ruby.ts │ │ └── sql.ts │ ├── shrink-file.spec.ts │ ├── shrink-file.ts │ └── test-cases │ ├── c-style │ │ ├── input.txt │ │ └── output.txt │ ├── css │ │ ├── input.txt │ │ └── output.txt │ ├── html │ │ ├── input.txt │ │ └── output.txt │ ├── jsx │ │ ├── input.txt │ │ └── output.txt │ ├── python │ │ ├── input.txt │ │ └── output.txt │ ├── ruby │ │ ├── input.txt │ │ └── output.txt │ ├── scss │ │ ├── input.txt │ │ └── output.txt │ └── sql │ ├── input.txt │ └── output.txt └── extension.ts
1 parent 0e69c57 commit 6654ee1

18 files changed

Lines changed: 41 additions & 0 deletions

‎apps/editor/package.json‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,11 @@
246246
"title": "%codeWebChat.codeAtCursorWithInstructionsUsing.title%",
247247
"category": "Code Web Chat"
248248
},
249+
{
250+
"command": "codeWebChat.selectAllWorkspaceFiles",
251+
"title": "%codeWebChat.selectAllWorkspaceFiles.title%",
252+
"category": "Code Web Chat"
253+
},
249254
{
250255
"command": "codeWebChat.selectWorkspaceFile",
251256
"title": "%codeWebChat.selectWorkspaceFile.title%",
@@ -574,6 +579,10 @@
574579
"command": "codeWebChat.searchSelectedFilesFromDirectory",
575580
"when": "false"
576581
},
582+
{
583+
"command": "codeWebChat.selectAllWorkspaceFiles",
584+
"when": "false"
585+
},
577586
{
578587
"command": "codeWebChat.selectDefinitionFile",
579588
"when": "false"
@@ -684,6 +693,11 @@
684693
"when": "view == codeWebChatViewWorkspace",
685694
"group": "navigation@5"
686695
},
696+
{
697+
"command": "codeWebChat.selectAllWorkspaceFiles",
698+
"when": "view == codeWebChatViewWorkspace",
699+
"group": "2_more@0"
700+
},
687701
{
688702
"command": "codeWebChat.selectWorkspaceFile",
689703
"when": "view == codeWebChatViewWorkspace",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"codeWebChat.codeAtCursorUsing.title": "Генерирай код при курсора...",
2727
"codeWebChat.codeAtCursorWithInstructions.title": "Генерирай код при курсора с инструкции",
2828
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Генерирай код при курсора с инструкции...",
29+
"codeWebChat.selectAllWorkspaceFiles.title": "Избери всички файлове от работното пространство",
2930
"codeWebChat.selectWorkspaceFile.title": "Избери файл от работното пространство...",
3031
"codeWebChat.newFolder.title": "Нова папка...",
3132
"codeWebChat.newFile.title": "Нов файл...",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"codeWebChat.codeAtCursorUsing.title": "Kód na kurzoru...",
2727
"codeWebChat.codeAtCursorWithInstructions.title": "Kód na kurzoru s instrukcemi",
2828
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Kód na kurzoru s instrukcemi...",
29+
"codeWebChat.selectAllWorkspaceFiles.title": "Vybrat všechny soubory pracovního prostoru",
2930
"codeWebChat.selectWorkspaceFile.title": "Vybrat soubor pracovního prostoru...",
3031
"codeWebChat.newFolder.title": "Nová složka...",
3132
"codeWebChat.newFile.title": "Nový soubor...",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"codeWebChat.codeAtCursorUsing.title": "Code an Cursorposition...",
2727
"codeWebChat.codeAtCursorWithInstructions.title": "Code an Cursorposition mit Anweisungen",
2828
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Code an Cursorposition mit Anweisungen...",
29+
"codeWebChat.selectAllWorkspaceFiles.title": "Alle Arbeitsbereich-Dateien auswählen",
2930
"codeWebChat.selectWorkspaceFile.title": "Arbeitsbereich-Datei auswählen...",
3031
"codeWebChat.newFolder.title": "Neuer Ordner...",
3132
"codeWebChat.newFile.title": "Neue Datei...",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"codeWebChat.codeAtCursorUsing.title": "Código en el cursor...",
2727
"codeWebChat.codeAtCursorWithInstructions.title": "Código en el cursor con instrucciones",
2828
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Código en el cursor con instrucciones...",
29+
"codeWebChat.selectAllWorkspaceFiles.title": "Seleccionar todos los archivos del espacio de trabajo",
2930
"codeWebChat.selectWorkspaceFile.title": "Seleccionar archivo del espacio de trabajo...",
3031
"codeWebChat.newFolder.title": "Nueva carpeta...",
3132
"codeWebChat.newFile.title": "Nuevo archivo...",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"codeWebChat.codeAtCursorUsing.title": "Générer du code au curseur...",
2727
"codeWebChat.codeAtCursorWithInstructions.title": "Générer du code au curseur avec des instructions",
2828
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Générer du code au curseur avec des instructions...",
29+
"codeWebChat.selectAllWorkspaceFiles.title": "Sélectionner tous les fichiers de l'espace de travail",
2930
"codeWebChat.selectWorkspaceFile.title": "Sélectionner un fichier de l'espace de travail...",
3031
"codeWebChat.newFolder.title": "Nouveau dossier...",
3132
"codeWebChat.newFile.title": "Nouveau fichier...",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"codeWebChat.codeAtCursorUsing.title": "Kód a kurzornál...",
2727
"codeWebChat.codeAtCursorWithInstructions.title": "Kód a kurzornál utasításokkal",
2828
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Kód a kurzornál utasításokkal...",
29+
"codeWebChat.selectAllWorkspaceFiles.title": "Munkaterület összes fájljának kiválasztása",
2930
"codeWebChat.selectWorkspaceFile.title": "Munkaterület fájl kiválasztása...",
3031
"codeWebChat.newFolder.title": "Új mappa...",
3132
"codeWebChat.newFile.title": "Új fájl...",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"codeWebChat.codeAtCursorUsing.title": "Codice al cursore...",
2727
"codeWebChat.codeAtCursorWithInstructions.title": "Codice al cursore con istruzioni",
2828
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Codice al cursore con istruzioni...",
29+
"codeWebChat.selectAllWorkspaceFiles.title": "Seleziona tutti i file dell'area di lavoro",
2930
"codeWebChat.selectWorkspaceFile.title": "Seleziona file dell'area di lavoro...",
3031
"codeWebChat.newFolder.title": "Nuova cartella...",
3132
"codeWebChat.newFile.title": "Nuovo file...",

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"codeWebChat.codeAtCursorUsing.title": "カーソル位置のコード...",
2727
"codeWebChat.codeAtCursorWithInstructions.title": "指示付きでカーソル位置のコードを生成",
2828
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "指示付きでカーソル位置のコードを生成...",
29+
"codeWebChat.selectAllWorkspaceFiles.title": "すべてのワークスペースファイルを選択",
2930
"codeWebChat.selectWorkspaceFile.title": "ワークスペースファイルを選択...",
3031
"codeWebChat.newFolder.title": "新しいフォルダー...",
3132
"codeWebChat.newFile.title": "新しいファイル...",

‎apps/editor/package.nls.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"codeWebChat.codeAtCursorUsing.title": "Code at Cursor...",
2727
"codeWebChat.codeAtCursorWithInstructions.title": "Code at Cursor with Instructions",
2828
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Code at Cursor with Instructions...",
29+
"codeWebChat.selectAllWorkspaceFiles.title": "Select All Workspace Files",
2930
"codeWebChat.selectWorkspaceFile.title": "Select Workspace File...",
3031
"codeWebChat.newFolder.title": "New Folder...",
3132
"codeWebChat.newFile.title": "New File...",

0 commit comments

Comments
 (0)