Skip to content

Commit fe4689a

Browse files
committed
Rename applyResponse command to applyFromClipboard and extract core logic into a feature module
- 'apply response' should not be a command, but a feature in `apps/editor/src/features`. in its place should create 'apply from clipboard' command. ├── README.md ├── apps │ ├── browser │ │ └── README.md │ └── 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 │ │ ├── apply-from-clipboard-command │ │ │ ├── apply-from-clipboard-command.ts │ │ │ └── index.ts │ │ ├── apply-from-terminal-command │ │ │ └── apply-from-terminal-command.ts │ │ ├── generate-commit-message-commands │ │ │ └── actions │ │ │ └── run-generate-action.ts │ │ ├── history-command │ │ │ ├── actions │ │ │ │ └── restore-checkpoint.ts │ │ │ └── history-command.ts │ │ └── index.ts │ ├── extension.ts │ ├── features │ │ ├── apply-response │ │ │ ├── apply-response.ts │ │ │ ├── index.ts │ │ │ ├── response-processor │ │ │ │ ├── handlers │ │ │ │ │ ├── diff-handler.ts │ │ │ │ │ ├── fast-replace-handler.ts │ │ │ │ │ ├── patch-repair-handler.ts │ │ │ │ │ ├── restore-preview-handler.ts │ │ │ │ │ ├── search-replace-handler.ts │ │ │ │ │ └── truncated-handler.ts │ │ │ │ ├── index.ts │ │ │ │ └── response-processor.ts │ │ │ ├── types │ │ │ │ └── original-file-state.ts │ │ │ └── utils │ │ │ ├── file-checks.ts │ │ │ ├── file-operations │ │ │ │ ├── apply-file-content.ts │ │ │ │ ├── apply-file-relocations.ts │ │ │ │ ├── cleanup-rename-source.ts │ │ │ │ ├── close-file-tabs.ts │ │ │ │ ├── create-file-if-needed.ts │ │ │ │ ├── ensure-directory.ts │ │ │ │ ├── get-rename-source-info.ts │ │ │ │ ├── handle-deleted-file-item.ts │ │ │ │ ├── index.ts │ │ │ │ ├── prepare-rename-operation.ts │ │ │ │ ├── preserve-newline.ts │ │ │ │ ├── read-rename-source-file.ts │ │ │ │ ├── relocate-file.ts │ │ │ │ ├── remove-directory-if-empty.ts │ │ │ │ ├── undo-files.ts │ │ │ │ └── uri-exists.ts │ │ │ ├── preview │ │ │ │ ├── build-history-files.ts │ │ │ │ ├── diff-utils.ts │ │ │ │ ├── file-preparer.ts │ │ │ │ ├── index.ts │ │ │ │ ├── preview.ts │ │ │ │ ├── temp-file-manager.ts │ │ │ │ ├── types.ts │ │ │ │ ├── virtual-document-provider.ts │ │ │ │ ├── vscode-ui.ts │ │ │ │ └── workspace-listener.ts │ │ │ ├── preview-handler.ts │ │ │ ├── response-parser │ │ │ │ ├── index.ts │ │ │ │ ├── parsers │ │ │ │ │ ├── code-at-cursor-parser │ │ │ │ │ │ ├── code-at-cursor-parser.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── test │ │ │ │ │ │ └── code-at-cursor-parser.spec.ts │ │ │ │ │ ├── commit-message-parser │ │ │ │ │ │ ├── commit-message-parser.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── test │ │ │ │ │ │ └── commit-message-parser.spec.ts │ │ │ │ │ ├── diff-parser │ │ │ │ │ │ ├── diff-parser.ts │ │ │ │ │ │ ├── helpers │ │ │ │ │ │ │ ├── block-utils.ts │ │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ │ ├── patch-utils.ts │ │ │ │ │ │ │ └── path-utils.ts │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── test │ │ │ │ │ │ └── diff-parser.spec.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── intelligent-file-search-results-parser │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ └── intelligent-file-search-results-parser.ts │ │ │ │ │ ├── patch-repair-parser │ │ │ │ │ │ ├── index.ts │ │ │ │ │ │ ├── patch-repair-parser.ts │ │ │ │ │ │ └── test │ │ │ │ │ │ └── patch-repair-parser.spec.ts │ │ │ │ │ └── standard-parser │ │ │ │ │ ├── helpers │ │ │ │ │ │ ├── create-or-update-file-item.ts │ │ │ │ │ │ ├── extract-and-set-workspace-path.ts │ │ │ │ │ │ ├── flush-text-block.ts │ │ │ │ │ │ └── process-conflict-markers.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── standard-parser.ts │ │ │ │ │ └── test │ │ │ │ │ └── standard-parser.spec.ts │ │ │ │ └── response-parser.ts │ │ │ ├── state-manager.ts │ │ │ ├── tab-group-manager.ts │ │ │ └── workspace.ts │ │ └── checkpoints │ │ └── actions │ │ └── create-checkpoint.ts │ ├── i18n │ │ └── translations │ │ └── commands │ │ ├── apply-response-command.ts │ │ └── index.ts │ ├── services │ │ └── websocket-manager.ts │ └── views │ └── prompt │ ├── backend │ │ └── message-handlers │ │ ├── handle-apply-response-from-history.ts │ │ ├── handle-discard-user-changes-in-preview.ts │ │ ├── handle-focus-on-file-in-preview.ts │ │ ├── handle-invoke-agentic-cli.ts │ │ ├── handle-make-api-call.ts │ │ ├── handle-patch-repair.ts │ │ ├── handle-request-can-undo.ts │ │ ├── handle-response-preview.ts │ │ ├── handle-toggle-file-in-preview.ts │ │ └── handle-undo.ts │ └── frontend │ └── Prompt.tsx └── media └── README.md
1 parent 81a34d2 commit fe4689a

111 files changed

Lines changed: 617 additions & 561 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎apps/editor/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,8 @@
238238
"icon": "$(files)"
239239
},
240240
{
241-
"command": "codeWebChat.applyResponse",
242-
"title": "%codeWebChat.applyResponse.title%",
241+
"command": "codeWebChat.applyFromClipboard",
242+
"title": "%codeWebChat.applyFromClipboard.title%",
243243
"category": "%codeWebChat.category%"
244244
},
245245
{

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"codeWebChat.saveContext.title": "Запазване на контекста...",
33
"codeWebChat.restoreContext.title": "Възстановяване на контекста...",
4-
"codeWebChat.applyResponse.title": "Приложи от клипборда",
4+
"codeWebChat.applyFromClipboard.title": "Приложи от клипборда",
55
"codeWebChat.copyMarkdown.title": "Копирай Markdown",
66
"codeWebChat.history.title": "История",
77
"codeWebChat.undoSelection.title": "Отмени избора",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"codeWebChat.saveContext.title": "Uložit kontext...",
33
"codeWebChat.restoreContext.title": "Obnovit kontext...",
4-
"codeWebChat.applyResponse.title": "Použít ze schránky",
4+
"codeWebChat.applyFromClipboard.title": "Použít ze schránky",
55
"codeWebChat.copyMarkdown.title": "Kopírovat Markdown",
66
"codeWebChat.history.title": "Historie",
77
"codeWebChat.undoSelection.title": "Zpět výběr",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"codeWebChat.saveContext.title": "Kontext speichern...",
33
"codeWebChat.restoreContext.title": "Kontext wiederherstellen...",
4-
"codeWebChat.applyResponse.title": "Aus der Zwischenablage anwenden",
4+
"codeWebChat.applyFromClipboard.title": "Aus der Zwischenablage anwenden",
55
"codeWebChat.copyMarkdown.title": "Markdown kopieren",
66
"codeWebChat.history.title": "Verlauf",
77
"codeWebChat.undoSelection.title": "Auswahl rückgängig machen",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"codeWebChat.saveContext.title": "Guardar contexto...",
33
"codeWebChat.restoreContext.title": "Restaurar contexto...",
4-
"codeWebChat.applyResponse.title": "Aplicar desde el portapapeles",
4+
"codeWebChat.applyFromClipboard.title": "Aplicar desde el portapapeles",
55
"codeWebChat.copyMarkdown.title": "Copiar Markdown",
66
"codeWebChat.history.title": "Historial",
77
"codeWebChat.undoSelection.title": "Deshacer selección",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"codeWebChat.saveContext.title": "Enregistrer le contexte...",
33
"codeWebChat.restoreContext.title": "Restaurer le contexte...",
4-
"codeWebChat.applyResponse.title": "Appliquer depuis le presse-papiers",
4+
"codeWebChat.applyFromClipboard.title": "Appliquer depuis le presse-papiers",
55
"codeWebChat.copyMarkdown.title": "Copier le Markdown",
66
"codeWebChat.history.title": "Historique",
77
"codeWebChat.undoSelection.title": "Annuler la sélection",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"codeWebChat.saveContext.title": "Kontextus mentése...",
33
"codeWebChat.restoreContext.title": "Kontextus visszaállítása...",
4-
"codeWebChat.applyResponse.title": "Alkalmazás a vágólapról",
4+
"codeWebChat.applyFromClipboard.title": "Alkalmazás a vágólapról",
55
"codeWebChat.copyMarkdown.title": "Markdown másolása",
66
"codeWebChat.history.title": "Előzmények",
77
"codeWebChat.undoSelection.title": "Kiválasztás visszavonása",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"codeWebChat.saveContext.title": "Salva contesto...",
33
"codeWebChat.restoreContext.title": "Ripristina contesto...",
4-
"codeWebChat.applyResponse.title": "Applica dagli appunti",
4+
"codeWebChat.applyFromClipboard.title": "Applica dagli appunti",
55
"codeWebChat.copyMarkdown.title": "Copia Markdown",
66
"codeWebChat.history.title": "Cronologia",
77
"codeWebChat.undoSelection.title": "Annulla selezione",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"codeWebChat.saveContext.title": "コンテキストを保存...",
33
"codeWebChat.restoreContext.title": "コンテキストを復元...",
4-
"codeWebChat.applyResponse.title": "クリップボードから適用",
4+
"codeWebChat.applyFromClipboard.title": "クリップボードから適用",
55
"codeWebChat.copyMarkdown.title": "Markdownをコピー",
66
"codeWebChat.history.title": "履歴",
77
"codeWebChat.undoSelection.title": "選択を元に戻す",

‎apps/editor/package.nls.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"codeWebChat.saveContext.title": "Save Context...",
33
"codeWebChat.restoreContext.title": "Restore Context...",
4-
"codeWebChat.applyResponse.title": "Apply from Clipboard",
4+
"codeWebChat.applyFromClipboard.title": "Apply from Clipboard",
55
"codeWebChat.copyMarkdown.title": "Copy Markdown",
66
"codeWebChat.history.title": "History",
77
"codeWebChat.undoSelection.title": "Undo Selection",

0 commit comments

Comments
 (0)