Skip to content

Commit f2f4a61

Browse files
committed
Rename select commit files command to select files of commit and enhance commit file selection
- Code at cursor completion - rename 'select commit files' to 'select files of commit' - use separator titled 'context files' and place all files collected thorugh reading commit messages (ascii trees) below it - rename 'context files' separator to 'commited files' (all lowercase), add new separator on top: 'edited files' - add separator on top: 'commited files' (all lowercase), make 'context files' lowercase as well. make 'context files' appear only when there are some - in a scenario only 'context files' separator is shown, you should show 'commited files' separator instead - in `apps/editor/src/i18n/translations/commands/select-files-of-commit.ts` implement 'go to file' action - in `apps/editor/src/commands/select-files-of-commit-command.ts`, implement 'select parent folder' action - rename 'files modified in...' to 'Files of commit' (without hash) └── 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 │ ├── index.ts │ ├── restore-file-selection-command │ │ ├── index.ts │ │ └── restore-file-selection-command.ts │ ├── save-file-selection-command │ │ ├── index.ts │ │ └── save-file-selection-command.ts │ ├── select-clipboard-paths-command.ts │ ├── select-files-of-commit-command.ts │ ├── select-referencing-files-commands │ │ └── utils │ │ └── prompt-for-referencing-files.ts │ ├── select-unstaged-files-command.ts │ └── select-workspace-file-command.ts ├── extension.ts ├── features │ ├── commit-messages │ │ ├── index.ts │ │ └── utils │ │ ├── build-commit-message-prompt.ts │ │ ├── generate-commit-message-with-api.ts │ │ ├── get-commit-message-config.ts │ │ └── strip-wrapping-quotes.ts │ ├── context-restoration │ │ ├── index.ts │ │ └── utils │ │ ├── ask-for-new-context-name.ts │ │ ├── context-file-utils.ts │ │ ├── create-context-description.ts │ │ ├── file-contexts.ts │ │ ├── global-storage-utils.ts │ │ ├── path-utils.ts │ │ ├── resolve-context-paths.ts │ │ ├── resolve-glob-patterns.ts │ │ ├── resolve-paths.ts │ │ ├── select-context-paths.ts │ │ └── source-selector.ts │ ├── imported-files │ │ └── utils │ │ └── prompt-for-imported-files.ts │ └── search-files │ └── utils │ ├── prompt-for-intelligent-search-results.ts │ ├── prompt-for-provided-results.ts │ └── prompt-for-search-results.ts ├── i18n │ └── translations │ ├── commands │ │ ├── generate-commit-message.ts │ │ ├── index.ts │ │ ├── restore-file-selection.ts │ │ ├── save-file-selection.ts │ │ └── select-files-of-commit.ts │ ├── common.ts │ └── features │ ├── checkpoints.ts │ ├── commit-messages.ts │ ├── context-restoration.ts │ ├── imported-files.ts │ ├── index.ts │ ├── referencing-files.ts │ └── search-files.ts ├── utils │ ├── ascii-tree │ │ └── ascii-tree.ts │ └── git-repository-utils.ts └── views └── prompt └── backend ├── message-handlers │ └── handle-hash-sign-quick-pick │ └── symbols │ └── saved-context-symbol.ts └── utils └── symbols └── saved-context └── replace-saved-context-symbol.ts
1 parent 67e9cc8 commit f2f4a61

22 files changed

Lines changed: 250 additions & 110 deletions

‎apps/editor/package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -406,8 +406,8 @@
406406
"category": "Code Web Chat"
407407
},
408408
{
409-
"command": "codeWebChat.selectCommitFiles",
410-
"title": "%codeWebChat.selectCommitFiles.title%",
409+
"command": "codeWebChat.selectFilesOfCommit",
410+
"title": "%codeWebChat.selectFilesOfCommit.title%",
411411
"category": "Code Web Chat"
412412
},
413413
{
@@ -709,7 +709,7 @@
709709
"group": "3_more@3"
710710
},
711711
{
712-
"command": "codeWebChat.selectCommitFiles",
712+
"command": "codeWebChat.selectFilesOfCommit",
713713
"when": "view == codeWebChatViewWorkspace",
714714
"group": "3_more@4"
715715
},

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"codeWebChat.removeFolderFromWorkspace.title": "Премахни папката от работното пространство",
5353
"codeWebChat.openWebsitePreviewUrl.title": "Отвори URL в браузъра",
5454
"codeWebChat.selectUnstagedFiles.title": "Маркирай променените файлове...",
55-
"codeWebChat.selectCommitFiles.title": "Маркирай файлове от commit...",
55+
"codeWebChat.selectFilesOfCommit.title": "Маркирай файлове от commit...",
5656
"codeWebChat.selectClipboardPaths.title": "Маркирай пътищата от клипборда...",
5757
"codeWebChat.selectChangedFiles.title": "Избери променени файлове...",
5858
"codeWebChat.selectParentFolder.title": "Избери родителска папка...",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"codeWebChat.removeFolderFromWorkspace.title": "Odebrat složku z pracovního prostoru",
5353
"codeWebChat.openWebsitePreviewUrl.title": "Otevřít URL v prohlížeči",
5454
"codeWebChat.selectUnstagedFiles.title": "Vybrat upravené soubory...",
55-
"codeWebChat.selectCommitFiles.title": "Vybrat soubory z commitu...",
55+
"codeWebChat.selectFilesOfCommit.title": "Vybrat soubory z commitu...",
5656
"codeWebChat.selectClipboardPaths.title": "Vybrat cesty ze schránky...",
5757
"codeWebChat.selectChangedFiles.title": "Vybrat změněné soubory...",
5858
"codeWebChat.selectParentFolder.title": "Vybrat nadřazenou složku...",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"codeWebChat.removeFolderFromWorkspace.title": "Ordner aus Arbeitsbereich entfernen",
5353
"codeWebChat.openWebsitePreviewUrl.title": "URL im Browser öffnen",
5454
"codeWebChat.selectUnstagedFiles.title": "Geänderte Dateien auswählen...",
55-
"codeWebChat.selectCommitFiles.title": "Dateien aus Commit auswählen...",
55+
"codeWebChat.selectFilesOfCommit.title": "Dateien aus Commit auswählen...",
5656
"codeWebChat.selectClipboardPaths.title": "Zwischenablage-Pfade auswählen...",
5757
"codeWebChat.selectChangedFiles.title": "Geänderte Dateien auswählen...",
5858
"codeWebChat.selectParentFolder.title": "Übergeordneten Ordner auswählen...",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"codeWebChat.removeFolderFromWorkspace.title": "Eliminar carpeta del espacio de trabajo",
5353
"codeWebChat.openWebsitePreviewUrl.title": "Abrir URL en el navegador",
5454
"codeWebChat.selectUnstagedFiles.title": "Marcar archivos modificados...",
55-
"codeWebChat.selectCommitFiles.title": "Marcar archivos de un commit...",
55+
"codeWebChat.selectFilesOfCommit.title": "Marcar archivos de un commit...",
5656
"codeWebChat.selectClipboardPaths.title": "Seleccionar rutas del portapapeles...",
5757
"codeWebChat.selectChangedFiles.title": "Seleccionar archivos cambiados...",
5858
"codeWebChat.selectParentFolder.title": "Seleccionar carpeta principal...",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"codeWebChat.removeFolderFromWorkspace.title": "Retirer le dossier de l'espace de travail",
5353
"codeWebChat.openWebsitePreviewUrl.title": "Ouvrir l'URL dans le navigateur",
5454
"codeWebChat.selectUnstagedFiles.title": "Cocher les fichiers modifiés...",
55-
"codeWebChat.selectCommitFiles.title": "Cocher les fichiers d'un commit...",
55+
"codeWebChat.selectFilesOfCommit.title": "Cocher les fichiers d'un commit...",
5656
"codeWebChat.selectClipboardPaths.title": "Sélectionner les chemins du presse-papiers...",
5757
"codeWebChat.selectChangedFiles.title": "Sélectionner les fichiers modifiés...",
5858
"codeWebChat.selectParentFolder.title": "Sélectionner le dossier parent...",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"codeWebChat.removeFolderFromWorkspace.title": "Mappa eltávolítása a munkaterületről",
5353
"codeWebChat.openWebsitePreviewUrl.title": "URL megnyitása a böngészőben",
5454
"codeWebChat.selectUnstagedFiles.title": "Módosított fájlok kijelölése...",
55-
"codeWebChat.selectCommitFiles.title": "Commit fájljainak kijelölése...",
55+
"codeWebChat.selectFilesOfCommit.title": "Commit fájljainak kijelölése...",
5656
"codeWebChat.selectClipboardPaths.title": "Vágólap útvonalainak kijelölése...",
5757
"codeWebChat.selectChangedFiles.title": "Módosított fájlok kiválasztása...",
5858
"codeWebChat.selectParentFolder.title": "Szülő mappa kiválasztása...",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"codeWebChat.removeFolderFromWorkspace.title": "Rimuovi cartella dall'area di lavoro",
5353
"codeWebChat.openWebsitePreviewUrl.title": "Apri URL nel browser",
5454
"codeWebChat.selectUnstagedFiles.title": "Seleziona file modificati...",
55-
"codeWebChat.selectCommitFiles.title": "Seleziona i file da un commit...",
55+
"codeWebChat.selectFilesOfCommit.title": "Seleziona i file da un commit...",
5656
"codeWebChat.selectClipboardPaths.title": "Seleziona percorsi dagli appunti...",
5757
"codeWebChat.selectChangedFiles.title": "Seleziona i file modificati...",
5858
"codeWebChat.selectParentFolder.title": "Seleziona cartella superiore...",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"codeWebChat.removeFolderFromWorkspace.title": "ワークスペースからフォルダーを削除",
5353
"codeWebChat.openWebsitePreviewUrl.title": "ブラウザーでURLを開く",
5454
"codeWebChat.selectUnstagedFiles.title": "変更されたファイルを選択...",
55-
"codeWebChat.selectCommitFiles.title": "コミットからのファイルを選択...",
55+
"codeWebChat.selectFilesOfCommit.title": "コミットからのファイルを選択...",
5656
"codeWebChat.selectClipboardPaths.title": "クリップボードのパスを選択...",
5757
"codeWebChat.selectChangedFiles.title": "変更されたファイルを選択...",
5858
"codeWebChat.selectParentFolder.title": "親フォルダーを選択...",

‎apps/editor/package.nls.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"codeWebChat.removeFolderFromWorkspace.title": "Remove Folder from Workspace",
5353
"codeWebChat.openWebsitePreviewUrl.title": "Open URL in Browser",
5454
"codeWebChat.selectUnstagedFiles.title": "Select Unstaged Files...",
55-
"codeWebChat.selectCommitFiles.title": "Select Files of Commit...",
55+
"codeWebChat.selectFilesOfCommit.title": "Select Files of Commit...",
5656
"codeWebChat.selectClipboardPaths.title": "Select Clipboard Paths...",
5757
"codeWebChat.selectChangedFiles.title": "Select Changed Files...",
5858
"codeWebChat.selectParentFolder.title": "Select Parent Folder...",

0 commit comments

Comments
 (0)