Skip to content

Commit 73a60ac

Browse files
committed
Add autofill and copy prompt options to code at cursor commands
- regarding code at cursor 'using...': user should be allowed to choose to make api call/autofil in chatbot/copy prompt - user-typed instructions should be placed in <missing_text>[user typed instructions]</missing_text>, not at the end - the code at cursor prompt should not end with '---' - 'back arrow' in a quick pick Make API call/Autofill chatbot/Copy prompt should only be shown if user typed instructions so they can edit them - the instructions input should have titlebar and close button - commands without 'using...', when there is no default configuraiton should always show configurations quick pick - in code at cursor commands, simplify 'using...' to '...' ├── README.md └── 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 │ ├── code-at-cursor-command │ │ ├── code-at-cursor-commands.ts │ │ ├── index.ts │ │ └── utils │ │ ├── get-code-at-cursor-config.ts │ │ ├── perform-code-at-cursor.ts │ │ └── show-ghost-text.ts │ └── search-files-commands │ ├── index.ts │ ├── search-files-commands.ts │ └── utils │ ├── get-target-folder-path.ts │ └── prompt-for-provided-results.ts ├── constants │ └── instructions.ts ├── extension.ts ├── features │ └── search-files │ ├── index.ts │ ├── search-files.ts │ ├── search-modes │ │ ├── perform-intelligent-search-mode.ts │ │ ├── perform-keywords-search-mode.ts │ │ └── perform-phrase-search-mode.ts │ └── utils │ ├── analyze-files.ts │ ├── check-matches-condition.ts │ ├── create-search-regex.ts │ ├── group-quick-pick-items.ts │ ├── handle-parent-folder-result.ts │ ├── map-files-to-quick-pick-items.ts │ ├── prompt-for-config.ts │ ├── prompt-for-intelligent-search-results.ts │ ├── prompt-for-keywords-match-mode.ts │ ├── prompt-for-keywords-target.ts │ ├── prompt-for-search-mode.ts │ ├── prompt-for-search-results.ts │ ├── prompt-for-search-term.ts │ ├── prompt-for-shrink-mode.ts │ ├── search-files-by-intelligent.ts │ ├── search-files-by-keywords.ts │ ├── search-files-by-phrase.ts │ └── show-search-results-quick-pick.ts ├── i18n │ └── translations │ ├── commands │ │ └── code-at-cursor.ts │ └── common.ts └── utils └── prompt-builder.ts
1 parent 14e7c71 commit 73a60ac

26 files changed

Lines changed: 536 additions & 266 deletions

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
"codeWebChat.closeAllEditors.title": "Затвори всички редактори",
2626
"codeWebChat.saveAll.title": "Запази всичко",
2727
"codeWebChat.codeAtCursor.title": "Генерирай код при курсора",
28-
"codeWebChat.codeAtCursorUsing.title": "Генерирай код при курсора използвайки...",
28+
"codeWebChat.codeAtCursorUsing.title": "Генерирай код при курсора...",
2929
"codeWebChat.codeAtCursorWithInstructions.title": "Генерирай код при курсора с инструкции",
30-
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Генерирай код при курсора с инструкции използвайки...",
30+
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Генерирай код при курсора с инструкции...",
3131
"codeWebChat.selectWorkspaceFile.title": "Избери файл от работното пространство...",
3232
"codeWebChat.newFolder.title": "Нова папка...",
3333
"codeWebChat.newFile.title": "Нов файл...",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
"codeWebChat.closeAllEditors.title": "Zavřít všechny editory",
2626
"codeWebChat.saveAll.title": "Uložit vše",
2727
"codeWebChat.codeAtCursor.title": "Kód na kurzoru",
28-
"codeWebChat.codeAtCursorUsing.title": "Kód na kurzoru pomocí...",
28+
"codeWebChat.codeAtCursorUsing.title": "Kód na kurzoru...",
2929
"codeWebChat.codeAtCursorWithInstructions.title": "Kód na kurzoru s instrukcemi",
30-
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Kód na kurzoru s instrukcemi pomocí...",
30+
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Kód na kurzoru s instrukcemi...",
3131
"codeWebChat.selectWorkspaceFile.title": "Vybrat soubor pracovního prostoru...",
3232
"codeWebChat.newFolder.title": "Nová složka...",
3333
"codeWebChat.newFile.title": "Nový soubor...",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
"codeWebChat.closeAllEditors.title": "Alle Editoren schließen",
2626
"codeWebChat.saveAll.title": "Alle speichern",
2727
"codeWebChat.codeAtCursor.title": "Code an Cursorposition",
28-
"codeWebChat.codeAtCursorUsing.title": "Code an Cursorposition mit...",
28+
"codeWebChat.codeAtCursorUsing.title": "Code an Cursorposition...",
2929
"codeWebChat.codeAtCursorWithInstructions.title": "Code an Cursorposition mit Anweisungen",
30-
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Code an Cursorposition mit Anweisungen mit...",
30+
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Code an Cursorposition mit Anweisungen...",
3131
"codeWebChat.selectWorkspaceFile.title": "Arbeitsbereich-Datei auswählen...",
3232
"codeWebChat.newFolder.title": "Neuer Ordner...",
3333
"codeWebChat.newFile.title": "Neue Datei...",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
"codeWebChat.closeAllEditors.title": "Cerrar todos los editores",
2626
"codeWebChat.saveAll.title": "Guardar todo",
2727
"codeWebChat.codeAtCursor.title": "Código en el cursor",
28-
"codeWebChat.codeAtCursorUsing.title": "Código en el cursor usando...",
28+
"codeWebChat.codeAtCursorUsing.title": "Código en el cursor...",
2929
"codeWebChat.codeAtCursorWithInstructions.title": "Código en el cursor con instrucciones",
30-
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Código en el cursor con instrucciones usando...",
30+
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Código en el cursor con instrucciones...",
3131
"codeWebChat.selectWorkspaceFile.title": "Seleccionar archivo del espacio de trabajo...",
3232
"codeWebChat.newFolder.title": "Nueva carpeta...",
3333
"codeWebChat.newFile.title": "Nuevo archivo...",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
"codeWebChat.closeAllEditors.title": "Fermer tous les éditeurs",
2626
"codeWebChat.saveAll.title": "Tout enregistrer",
2727
"codeWebChat.codeAtCursor.title": "Générer du code au curseur",
28-
"codeWebChat.codeAtCursorUsing.title": "Générer du code au curseur avec...",
28+
"codeWebChat.codeAtCursorUsing.title": "Générer du code au curseur...",
2929
"codeWebChat.codeAtCursorWithInstructions.title": "Générer du code au curseur avec des instructions",
30-
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Générer du code au curseur avec des instructions avec...",
30+
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Générer du code au curseur avec des instructions...",
3131
"codeWebChat.selectWorkspaceFile.title": "Sélectionner un fichier de l'espace de travail...",
3232
"codeWebChat.newFolder.title": "Nouveau dossier...",
3333
"codeWebChat.newFile.title": "Nouveau fichier...",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
"codeWebChat.closeAllEditors.title": "Összes szerkesztő bezárása",
2626
"codeWebChat.saveAll.title": "Összes mentése",
2727
"codeWebChat.codeAtCursor.title": "Kód a kurzornál",
28-
"codeWebChat.codeAtCursorUsing.title": "Kód a kurzornál a következővel...",
28+
"codeWebChat.codeAtCursorUsing.title": "Kód a kurzornál...",
2929
"codeWebChat.codeAtCursorWithInstructions.title": "Kód a kurzornál utasításokkal",
30-
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Kód a kurzornál utasításokkal a következővel...",
30+
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Kód a kurzornál utasításokkal...",
3131
"codeWebChat.selectWorkspaceFile.title": "Munkaterület fájl kiválasztása...",
3232
"codeWebChat.newFolder.title": "Új mappa...",
3333
"codeWebChat.newFile.title": "Új fájl...",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
"codeWebChat.closeAllEditors.title": "Chiudi tutti gli editor",
2626
"codeWebChat.saveAll.title": "Salva tutto",
2727
"codeWebChat.codeAtCursor.title": "Codice al cursore",
28-
"codeWebChat.codeAtCursorUsing.title": "Codice al cursore usando...",
28+
"codeWebChat.codeAtCursorUsing.title": "Codice al cursore...",
2929
"codeWebChat.codeAtCursorWithInstructions.title": "Codice al cursore con istruzioni",
30-
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Codice al cursore con istruzioni usando...",
30+
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Codice al cursore con istruzioni...",
3131
"codeWebChat.selectWorkspaceFile.title": "Seleziona file dell'area di lavoro...",
3232
"codeWebChat.newFolder.title": "Nuova cartella...",
3333
"codeWebChat.newFile.title": "Nuovo file...",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
"codeWebChat.closeAllEditors.title": "すべてのエディターを閉じる",
2626
"codeWebChat.saveAll.title": "すべて保存",
2727
"codeWebChat.codeAtCursor.title": "カーソル位置のコード",
28-
"codeWebChat.codeAtCursorUsing.title": "次を使用してカーソル位置のコードを生成...",
28+
"codeWebChat.codeAtCursorUsing.title": "カーソル位置のコード...",
2929
"codeWebChat.codeAtCursorWithInstructions.title": "指示付きでカーソル位置のコードを生成",
30-
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "次を使用して指示付きでカーソル位置のコードを生成...",
30+
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "指示付きでカーソル位置のコードを生成...",
3131
"codeWebChat.selectWorkspaceFile.title": "ワークスペースファイルを選択...",
3232
"codeWebChat.newFolder.title": "新しいフォルダー...",
3333
"codeWebChat.newFile.title": "新しいファイル...",

‎apps/editor/package.nls.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
"codeWebChat.closeAllEditors.title": "Close All Editors",
2626
"codeWebChat.saveAll.title": "Save All",
2727
"codeWebChat.codeAtCursor.title": "Code at Cursor",
28-
"codeWebChat.codeAtCursorUsing.title": "Code at Cursor using...",
28+
"codeWebChat.codeAtCursorUsing.title": "Code at Cursor...",
2929
"codeWebChat.codeAtCursorWithInstructions.title": "Code at Cursor with Instructions",
30-
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Code at Cursor with Instructions using...",
30+
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "Code at Cursor with Instructions...",
3131
"codeWebChat.selectWorkspaceFile.title": "Select Workspace File...",
3232
"codeWebChat.newFolder.title": "New Folder...",
3333
"codeWebChat.newFile.title": "New File...",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
"codeWebChat.closeAllEditors.title": "모든 편집기 닫기",
2626
"codeWebChat.saveAll.title": "모두 저장",
2727
"codeWebChat.codeAtCursor.title": "커서 위치에 코드 생성",
28-
"codeWebChat.codeAtCursorUsing.title": "다음을 사용하여 커서 위치에 코드 생성...",
28+
"codeWebChat.codeAtCursorUsing.title": "커서 위치에 코드 생성...",
2929
"codeWebChat.codeAtCursorWithInstructions.title": "지침과 함께 커서 위치에 코드 생성",
30-
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "다음을 사용하여 지침과 함께 커서 위치에 코드 생성...",
30+
"codeWebChat.codeAtCursorWithInstructionsUsing.title": "지침과 함께 커서 위치에 코드 생성...",
3131
"codeWebChat.selectWorkspaceFile.title": "작업 영역 파일 선택...",
3232
"codeWebChat.newFolder.title": "새 폴더...",
3333
"codeWebChat.newFile.title": "새 파일...",

0 commit comments

Comments
 (0)