Skip to content

Commit 88fc1f0

Browse files
committed
Replace separate file context management commands with a unified select workspace file command
- place 'add file to context' action to the right of 'clear checks' (workspace), use icon list-filter - rename 'add file to context' to 'go to file' (with translations) - rename translation file and keys 'add file to context' -> 'go to file' - rename 'go to file' command to 'files' (including translation file and keys), use 'files' icon. - clicking on an entry should add to context (or just close quick pick if already there), replace 'add' action with 'go to file' action. - rename command, etc.:'select file' -> 'select workspace file...', move to 'more actions' (below "select clipboard paths") - add 'select workspace file' to readme - remove command etc. 'remove file from context'
1 parent ff0678a commit 88fc1f0

25 files changed

Lines changed: 169 additions & 522 deletions

‎README.md‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ Make your chatbot quota last longer, lower input token costs by up to 90%, and r
170170

171171
- `Save File Selection...` - Save the current context.
172172
- `Restore File Selection...` - Restore a saved context.
173-
- `Remove File from Context` - Search and remove a file from the context.
174-
- `Search Files...` - Search and add files to the context.
173+
- `Select Workspace File...` - Select a file from the workspace.
174+
- `Search Files...` - Select files based on a search query.
175175
- `Select Clipboard Paths...` - Select files based on paths in your clipboard.
176176
- `Select Unstaged Files...` - Select files with unstaged changes.
177177
- `Select Files of Commit...` - Select files modified in a specific commit.
@@ -191,12 +191,11 @@ Make your chatbot quota last longer, lower input token costs by up to 90%, and r
191191
### History
192192

193193
- `History` - Manage saved states of the workspace.
194-
- `Create New Checkpoint` - Create a history entry of the current workspace state.
194+
- `Create New Checkpoint` - Create a history entry of the workspace state.
195195

196196
### Actions
197197

198198
- `Apply Chat Response` - Apply a chat response to the codebase.
199-
- `Open in Integrated Terminal` - Open an integrated terminal.
200199

201200
### Misc
202201

‎apps/editor/package.json‎

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -238,16 +238,10 @@
238238
"category": "Code Web Chat"
239239
},
240240
{
241-
"command": "codeWebChat.addFileToContext",
242-
"title": "%codeWebChat.addFileToContext.title%",
241+
"command": "codeWebChat.selectWorkspaceFile",
242+
"title": "%codeWebChat.selectWorkspaceFile.title%",
243243
"category": "Code Web Chat",
244-
"icon": "$(add)"
245-
},
246-
{
247-
"command": "codeWebChat.removeFileFromContext",
248-
"title": "%codeWebChat.removeFileFromContext.title%",
249-
"category": "Code Web Chat",
250-
"icon": "$(remove)"
244+
"icon": "$(files)"
251245
},
252246
{
253247
"command": "codeWebChat.applyResponse",
@@ -568,6 +562,10 @@
568562
"command": "codeWebChat.removeFolderFromWorkspace",
569563
"when": "false"
570564
},
565+
{
566+
"command": "codeWebChat.openInIntegratedTerminal",
567+
"when": "false"
568+
},
571569
{
572570
"command": "codeWebChat.openWebsitePreviewUrl",
573571
"when": "codeWebChat.websitePreviewActive"
@@ -650,20 +648,25 @@
650648
"group": "3_more@1"
651649
},
652650
{
653-
"command": "codeWebChat.selectUnstagedFiles",
651+
"command": "codeWebChat.selectWorkspaceFile",
654652
"when": "view == codeWebChatViewWorkspace",
655653
"group": "3_more@2"
656654
},
657655
{
658-
"command": "codeWebChat.selectCommitFiles",
656+
"command": "codeWebChat.selectUnstagedFiles",
659657
"when": "view == codeWebChatViewWorkspace",
660658
"group": "3_more@3"
661659
},
662660
{
663-
"command": "codeWebChat.selectChangedFiles",
661+
"command": "codeWebChat.selectCommitFiles",
664662
"when": "view == codeWebChatViewWorkspace",
665663
"group": "3_more@4"
666664
},
665+
{
666+
"command": "codeWebChat.selectChangedFiles",
667+
"when": "view == codeWebChatViewWorkspace",
668+
"group": "3_more@5"
669+
},
667670
{
668671
"command": "codeWebChat.duplicateWorkspace",
669672
"when": "view == codeWebChatViewWorkspace",

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
"codeWebChat.codeAtCursorUsing.title": "Генерирай код при курсора използвайки...",
2828
"codeWebChat.codeAtCursorWithInstructions.title": "Генерирай код при курсора с инструкции",
2929
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Генерирай код при курсора с инструкции използвайки...",
30-
"codeWebChat.addFileToContext.title": "Добави файл към контекста",
31-
"codeWebChat.removeFileFromContext.title": "Премахни файл от контекста",
30+
"codeWebChat.selectWorkspaceFile.title": "Избери файл от работното пространство...",
3231
"codeWebChat.newFolder.title": "Нова папка...",
3332
"codeWebChat.newFile.title": "Нов файл...",
3433
"codeWebChat.rename.title": "Преименувай...",

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
"codeWebChat.codeAtCursorUsing.title": "Kód na kurzoru pomocí...",
2828
"codeWebChat.codeAtCursorWithInstructions.title": "Kód na kurzoru s instrukcemi",
2929
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Kód na kurzoru s instrukcemi pomocí...",
30-
"codeWebChat.addFileToContext.title": "Přidat soubor do kontextu",
31-
"codeWebChat.removeFileFromContext.title": "Odebrat soubor z kontextu",
30+
"codeWebChat.selectWorkspaceFile.title": "Vybrat soubor pracovního prostoru...",
3231
"codeWebChat.newFolder.title": "Nová složka...",
3332
"codeWebChat.newFile.title": "Nový soubor...",
3433
"codeWebChat.rename.title": "Přejmenovat...",

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
"codeWebChat.codeAtCursorUsing.title": "Code an Cursorposition mit...",
2828
"codeWebChat.codeAtCursorWithInstructions.title": "Code an Cursorposition mit Anweisungen",
2929
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Code an Cursorposition mit Anweisungen mit...",
30-
"codeWebChat.addFileToContext.title": "Datei zum Kontext hinzufügen",
31-
"codeWebChat.removeFileFromContext.title": "Datei aus Kontext entfernen",
30+
"codeWebChat.selectWorkspaceFile.title": "Arbeitsbereich-Datei auswählen...",
3231
"codeWebChat.newFolder.title": "Neuer Ordner...",
3332
"codeWebChat.newFile.title": "Neue Datei...",
3433
"codeWebChat.rename.title": "Umbenennen...",

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
"codeWebChat.codeAtCursorUsing.title": "Código en el cursor usando...",
2828
"codeWebChat.codeAtCursorWithInstructions.title": "Código en el cursor con instrucciones",
2929
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Código en el cursor con instrucciones usando...",
30-
"codeWebChat.addFileToContext.title": "Añadir archivo al contexto",
31-
"codeWebChat.removeFileFromContext.title": "Eliminar archivo del contexto",
30+
"codeWebChat.selectWorkspaceFile.title": "Seleccionar archivo del espacio de trabajo...",
3231
"codeWebChat.newFolder.title": "Nueva carpeta...",
3332
"codeWebChat.newFile.title": "Nuevo archivo...",
3433
"codeWebChat.rename.title": "Renombrar...",

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
"codeWebChat.codeAtCursorUsing.title": "Générer du code au curseur avec...",
2828
"codeWebChat.codeAtCursorWithInstructions.title": "Générer du code au curseur avec des instructions",
2929
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Générer du code au curseur avec des instructions avec...",
30-
"codeWebChat.addFileToContext.title": "Ajouter le fichier au contexte",
31-
"codeWebChat.removeFileFromContext.title": "Retirer le fichier du contexte",
30+
"codeWebChat.selectWorkspaceFile.title": "Sélectionner un fichier de l'espace de travail...",
3231
"codeWebChat.newFolder.title": "Nouveau dossier...",
3332
"codeWebChat.newFile.title": "Nouveau fichier...",
3433
"codeWebChat.rename.title": "Renommer...",

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
"codeWebChat.codeAtCursorUsing.title": "Kód a kurzornál a következővel...",
2828
"codeWebChat.codeAtCursorWithInstructions.title": "Kód a kurzornál utasításokkal",
2929
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Kód a kurzornál utasításokkal a következővel...",
30-
"codeWebChat.addFileToContext.title": "Fájl hozzáadása a kontextushoz",
31-
"codeWebChat.removeFileFromContext.title": "Fájl eltávolítása a kontextusból",
30+
"codeWebChat.selectWorkspaceFile.title": "Munkaterület fájl kiválasztása...",
3231
"codeWebChat.newFolder.title": "Új mappa...",
3332
"codeWebChat.newFile.title": "Új fájl...",
3433
"codeWebChat.rename.title": "Átnevezés...",

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
"codeWebChat.codeAtCursorUsing.title": "Codice al cursore usando...",
2828
"codeWebChat.codeAtCursorWithInstructions.title": "Codice al cursore con istruzioni",
2929
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Codice al cursore con istruzioni usando...",
30-
"codeWebChat.addFileToContext.title": "Aggiungi file al contesto",
31-
"codeWebChat.removeFileFromContext.title": "Rimuovi file dal contesto",
30+
"codeWebChat.selectWorkspaceFile.title": "Seleziona file dell'area di lavoro...",
3231
"codeWebChat.newFolder.title": "Nuova cartella...",
3332
"codeWebChat.newFile.title": "Nuovo file...",
3433
"codeWebChat.rename.title": "Rinomina...",

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
"codeWebChat.codeAtCursorUsing.title": "次を使用してカーソル位置のコードを生成...",
2828
"codeWebChat.codeAtCursorWithInstructions.title": "指示付きでカーソル位置のコードを生成",
2929
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "次を使用して指示付きでカーソル位置のコードを生成...",
30-
"codeWebChat.addFileToContext.title": "コンテキストにファイルを追加",
31-
"codeWebChat.removeFileFromContext.title": "コンテキストからファイルを削除",
30+
"codeWebChat.selectWorkspaceFile.title": "ワークスペースファイルを選択...",
3231
"codeWebChat.newFolder.title": "新しいフォルダー...",
3332
"codeWebChat.newFile.title": "新しいファイル...",
3433
"codeWebChat.rename.title": "名前の変更...",

0 commit comments

Comments
 (0)