Skip to content

Commit d6f1791

Browse files
committed
Extract agentic search from search files feature into a standalone command and update translations accordingly
- place 'search in selected files' immediately above 'select referencing files' - simplify 'search in selected files...' to 'search files...' - keep 'intelligent search' option for the whole workspace (now it's hidden) - create 'Agentic Search...' command - move there 'Agent' search mode so that it functions as independent mode now. Make sure this new command doesn't depend on 'search files' command in any way. - don't utilize featres/agentic-search folder, but `apps/editor/src/commands/agentic-search-command` - implement agentic search command - move 'search files' to more actions, place above 'select all workspace files' ├── 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 │ ├── agentic-search-command │ │ ├── agentic-search-command.ts │ │ ├── agentic-search.ts │ │ ├── agents │ │ │ ├── antigravity.ts │ │ │ ├── claude.ts │ │ │ ├── codex.ts │ │ │ ├── cursor.ts │ │ │ ├── grok.ts │ │ │ ├── muse.ts │ │ │ └── opencode.ts │ │ ├── index.ts │ │ ├── types.ts │ │ └── utils.ts │ ├── index.ts │ └── search-files-commands │ ├── index.ts │ ├── search-files-commands.ts │ └── utils │ ├── get-target-folder-path.ts │ └── prompt-for-provided-results.ts ├── extension.ts └── features └── search-files ├── index.ts ├── search-files.ts ├── search-modes │ ├── perform-agent-search-mode │ │ └── index.ts │ ├── 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
1 parent 6de3756 commit d6f1791

35 files changed

Lines changed: 165 additions & 147 deletions

‎apps/editor/package.json‎

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -330,23 +330,26 @@
330330
"title": "%codeWebChat.setRanges.title%",
331331
"category": "Code Web Chat"
332332
},
333+
{
334+
"command": "codeWebChat.agenticSearch",
335+
"title": "%codeWebChat.agenticSearch.title%",
336+
"category": "Code Web Chat",
337+
"icon": "$(search-sparkle)"
338+
},
333339
{
334340
"command": "codeWebChat.searchFiles",
335341
"title": "%codeWebChat.searchFiles.title%",
336-
"category": "Code Web Chat",
337-
"icon": "$(search)"
342+
"category": "Code Web Chat"
338343
},
339344
{
340345
"command": "codeWebChat.searchFilesWorkspaceAction",
341346
"title": "%codeWebChat.searchFilesWorkspaceAction.title%",
342-
"category": "Code Web Chat",
343-
"icon": "$(search)"
347+
"category": "Code Web Chat"
344348
},
345349
{
346350
"command": "codeWebChat.searchSelectedFiles",
347351
"title": "%codeWebChat.searchSelectedFiles.title%",
348-
"category": "Code Web Chat",
349-
"icon": "$(search)"
352+
"category": "Code Web Chat"
350353
},
351354
{
352355
"command": "codeWebChat.searchFilesFromDirectory",
@@ -646,7 +649,7 @@
646649
{
647650
"command": "codeWebChat.searchSelectedFiles",
648651
"when": "view == codeWebChatViewSelectedFiles",
649-
"group": "1_more@1"
652+
"group": "2_more@0"
650653
},
651654
{
652655
"command": "codeWebChat.selectReferencingFilesForSelected",
@@ -669,55 +672,60 @@
669672
"group": "3_more@2"
670673
},
671674
{
672-
"command": "codeWebChat.searchFilesWorkspaceAction",
675+
"command": "codeWebChat.agenticSearch",
673676
"when": "view == codeWebChatViewWorkspace",
674677
"group": "navigation@1"
675678
},
676679
{
677680
"command": "codeWebChat.clearChecks",
678681
"when": "view == codeWebChatViewWorkspace",
679-
"group": "navigation@2"
682+
"group": "navigation@3"
680683
},
681684
{
682685
"command": "codeWebChat.newFile",
683686
"when": "view == codeWebChatViewWorkspace",
684-
"group": "navigation@3"
687+
"group": "navigation@4"
685688
},
686689
{
687690
"command": "codeWebChat.newFolder",
688691
"when": "view == codeWebChatViewWorkspace",
689-
"group": "navigation@4"
692+
"group": "navigation@5"
690693
},
691694
{
692695
"command": "codeWebChat.collapseWorkspaceFolders",
693696
"when": "view == codeWebChatViewWorkspace",
694-
"group": "navigation@5"
697+
"group": "navigation@6"
695698
},
696699
{
697-
"command": "codeWebChat.selectAllWorkspaceFiles",
700+
"command": "codeWebChat.searchFilesWorkspaceAction",
698701
"when": "view == codeWebChatViewWorkspace",
699702
"group": "2_more@0"
700703
},
701704
{
702-
"command": "codeWebChat.selectWorkspaceFile",
705+
"command": "codeWebChat.selectAllWorkspaceFiles",
703706
"when": "view == codeWebChatViewWorkspace",
704707
"group": "2_more@1"
705708
},
706709
{
707-
"command": "codeWebChat.selectClipboardPaths",
710+
"command": "codeWebChat.selectWorkspaceFile",
708711
"when": "view == codeWebChatViewWorkspace",
709712
"group": "2_more@2"
710713
},
711714
{
712-
"command": "codeWebChat.selectModifiedFiles",
715+
"command": "codeWebChat.selectClipboardPaths",
713716
"when": "view == codeWebChatViewWorkspace",
714717
"group": "2_more@3"
715718
},
716719
{
717-
"command": "codeWebChat.selectFilesOfCommit",
720+
"command": "codeWebChat.selectModifiedFiles",
718721
"when": "view == codeWebChatViewWorkspace",
719722
"group": "2_more@4"
720723
},
724+
{
725+
"command": "codeWebChat.selectFilesOfCommit",
726+
"when": "view == codeWebChatViewWorkspace",
727+
"group": "2_more@5"
728+
},
721729
{
722730
"command": "codeWebChat.duplicateWorkspace",
723731
"when": "view == codeWebChatViewWorkspace",

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,13 @@
4040
"codeWebChat.settings.title": "Настройки",
4141
"codeWebChat.generateCommitMessage.title": "CWC: Генерирай commit съобщение",
4242
"codeWebChat.generateCommitMessageAndCommit.title": "Потвърди промените",
43+
"codeWebChat.agenticSearch.title": "Търсене с агент...",
4344
"codeWebChat.setRanges.title": "Задай диапазони...",
4445
"codeWebChat.searchFiles.title": "Търсене на файлове...",
4546
"codeWebChat.searchFilesWorkspaceAction.title": "Търсене на файлове...",
46-
"codeWebChat.searchSelectedFiles.title": "Търсене в избраните файлове...",
47+
"codeWebChat.searchSelectedFiles.title": "Търсене на файлове...",
4748
"codeWebChat.searchFilesFromDirectory.title": "Търсене на файлове...",
48-
"codeWebChat.searchSelectedFilesFromDirectory.title": "Търсене в избраните файлове...",
49+
"codeWebChat.searchSelectedFilesFromDirectory.title": "Търсене на файлове...",
4950
"codeWebChat.selectReferencingFilesForSelected.title": "Избери рефериращите файлове...",
5051
"codeWebChat.selectReferencingFiles.title": "Избери рефериращите файлове...",
5152
"codeWebChat.selectImportedFilesForSelected.title": "Избери импортираните файлове...",

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,13 @@
4040
"codeWebChat.settings.title": "Nastavení",
4141
"codeWebChat.generateCommitMessage.title": "CWC: Generovat zprávu commitu",
4242
"codeWebChat.generateCommitMessageAndCommit.title": "Potvrdit změny",
43+
"codeWebChat.agenticSearch.title": "Hledání pomocí agenta...",
4344
"codeWebChat.setRanges.title": "Nastavit rozsahy...",
4445
"codeWebChat.searchFiles.title": "Hledat soubory...",
4546
"codeWebChat.searchFilesWorkspaceAction.title": "Hledat soubory...",
46-
"codeWebChat.searchSelectedFiles.title": "Hledat ve vybraných souborech...",
47+
"codeWebChat.searchSelectedFiles.title": "Hledat soubory...",
4748
"codeWebChat.searchFilesFromDirectory.title": "Hledat soubory...",
48-
"codeWebChat.searchSelectedFilesFromDirectory.title": "Hledat ve vybraných souborech...",
49+
"codeWebChat.searchSelectedFilesFromDirectory.title": "Hledat soubory...",
4950
"codeWebChat.selectReferencingFilesForSelected.title": "Vybrat odkazující soubory...",
5051
"codeWebChat.selectReferencingFiles.title": "Vybrat odkazující soubory...",
5152
"codeWebChat.selectImportedFilesForSelected.title": "Vybrat importované soubory...",

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,13 @@
4040
"codeWebChat.settings.title": "Einstellungen",
4141
"codeWebChat.generateCommitMessage.title": "CWC: Commit-Nachricht generieren",
4242
"codeWebChat.generateCommitMessageAndCommit.title": "Änderungen committen",
43+
"codeWebChat.agenticSearch.title": "Agentenbasierte Suche...",
4344
"codeWebChat.setRanges.title": "Bereiche festlegen...",
4445
"codeWebChat.searchFiles.title": "Dateien suchen...",
4546
"codeWebChat.searchFilesWorkspaceAction.title": "Dateien suchen...",
46-
"codeWebChat.searchSelectedFiles.title": "In ausgewählten Dateien suchen...",
47+
"codeWebChat.searchSelectedFiles.title": "Dateien suchen...",
4748
"codeWebChat.searchFilesFromDirectory.title": "Dateien suchen...",
48-
"codeWebChat.searchSelectedFilesFromDirectory.title": "In ausgewählten Dateien suchen...",
49+
"codeWebChat.searchSelectedFilesFromDirectory.title": "Dateien suchen...",
4950
"codeWebChat.selectReferencingFilesForSelected.title": "Referenzierende Dateien auswählen...",
5051
"codeWebChat.selectReferencingFiles.title": "Referenzierende Dateien auswählen...",
5152
"codeWebChat.selectImportedFilesForSelected.title": "Importierte Dateien auswählen...",

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,13 @@
4040
"codeWebChat.settings.title": "Configuración",
4141
"codeWebChat.generateCommitMessage.title": "CWC: Generar mensaje de commit",
4242
"codeWebChat.generateCommitMessageAndCommit.title": "Hacer commit de los cambios",
43+
"codeWebChat.agenticSearch.title": "Búsqueda con agente...",
4344
"codeWebChat.setRanges.title": "Establecer rangos...",
4445
"codeWebChat.searchFiles.title": "Buscar archivos...",
4546
"codeWebChat.searchFilesWorkspaceAction.title": "Buscar archivos...",
46-
"codeWebChat.searchSelectedFiles.title": "Buscar en los archivos seleccionados...",
47+
"codeWebChat.searchSelectedFiles.title": "Buscar archivos...",
4748
"codeWebChat.searchFilesFromDirectory.title": "Buscar archivos...",
48-
"codeWebChat.searchSelectedFilesFromDirectory.title": "Buscar en los archivos seleccionados...",
49+
"codeWebChat.searchSelectedFilesFromDirectory.title": "Buscar archivos...",
4950
"codeWebChat.selectReferencingFilesForSelected.title": "Seleccionar archivos que referencian...",
5051
"codeWebChat.selectReferencingFiles.title": "Seleccionar archivos que referencian...",
5152
"codeWebChat.selectImportedFilesForSelected.title": "Seleccionar archivos importados...",

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,13 @@
4040
"codeWebChat.settings.title": "Paramètres",
4141
"codeWebChat.generateCommitMessage.title": "CWC: Générer un message de commit",
4242
"codeWebChat.generateCommitMessageAndCommit.title": "Valider les modifications",
43+
"codeWebChat.agenticSearch.title": "Recherche par agent...",
4344
"codeWebChat.setRanges.title": "Définir les plages...",
4445
"codeWebChat.searchFiles.title": "Rechercher des fichiers...",
4546
"codeWebChat.searchFilesWorkspaceAction.title": "Rechercher des fichiers...",
46-
"codeWebChat.searchSelectedFiles.title": "Rechercher dans les fichiers sélectionnés...",
47+
"codeWebChat.searchSelectedFiles.title": "Rechercher des fichiers...",
4748
"codeWebChat.searchFilesFromDirectory.title": "Rechercher des fichiers...",
48-
"codeWebChat.searchSelectedFilesFromDirectory.title": "Rechercher dans les fichiers sélectionnés...",
49+
"codeWebChat.searchSelectedFilesFromDirectory.title": "Rechercher des fichiers...",
4950
"codeWebChat.selectReferencingFilesForSelected.title": "Sélectionner les fichiers de référence...",
5051
"codeWebChat.selectReferencingFiles.title": "Sélectionner les fichiers de référence...",
5152
"codeWebChat.selectImportedFilesForSelected.title": "Sélectionner les fichiers importés...",

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,13 @@
4040
"codeWebChat.settings.title": "Beállítások",
4141
"codeWebChat.generateCommitMessage.title": "CWC: Commit üzenet generálása",
4242
"codeWebChat.generateCommitMessageAndCommit.title": "Változások commitálása",
43+
"codeWebChat.agenticSearch.title": "Keresés ügynökkel...",
4344
"codeWebChat.setRanges.title": "Tartományok beállítása...",
4445
"codeWebChat.searchFiles.title": "Fájlok keresése...",
4546
"codeWebChat.searchFilesWorkspaceAction.title": "Fájlok keresése...",
46-
"codeWebChat.searchSelectedFiles.title": "Keresés a kiválasztott fájlokban...",
47+
"codeWebChat.searchSelectedFiles.title": "Fájlok keresése...",
4748
"codeWebChat.searchFilesFromDirectory.title": "Fájlok keresése...",
48-
"codeWebChat.searchSelectedFilesFromDirectory.title": "Keresés a kiválasztott fájlokban...",
49+
"codeWebChat.searchSelectedFilesFromDirectory.title": "Fájlok keresése...",
4950
"codeWebChat.selectReferencingFilesForSelected.title": "Hivatkozó fájlok kiválasztása...",
5051
"codeWebChat.selectReferencingFiles.title": "Hivatkozó fájlok kiválasztása...",
5152
"codeWebChat.selectImportedFilesForSelected.title": "Importált fájlok kiválasztása...",

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,13 @@
4040
"codeWebChat.settings.title": "Impostazioni",
4141
"codeWebChat.generateCommitMessage.title": "CWC: Genera messaggio di commit",
4242
"codeWebChat.generateCommitMessageAndCommit.title": "Esegui commit delle modifiche",
43+
"codeWebChat.agenticSearch.title": "Ricerca con agente...",
4344
"codeWebChat.setRanges.title": "Imposta intervalli...",
4445
"codeWebChat.searchFiles.title": "Cerca file...",
4546
"codeWebChat.searchFilesWorkspaceAction.title": "Cerca file...",
46-
"codeWebChat.searchSelectedFiles.title": "Cerca nei file selezionati...",
47+
"codeWebChat.searchSelectedFiles.title": "Cerca file...",
4748
"codeWebChat.searchFilesFromDirectory.title": "Cerca file...",
48-
"codeWebChat.searchSelectedFilesFromDirectory.title": "Cerca nei file selezionati...",
49+
"codeWebChat.searchSelectedFilesFromDirectory.title": "Cerca file...",
4950
"codeWebChat.selectReferencingFilesForSelected.title": "Seleziona i file di riferimento...",
5051
"codeWebChat.selectReferencingFiles.title": "Seleziona i file di riferimento...",
5152
"codeWebChat.selectImportedFilesForSelected.title": "Seleziona i file importati...",

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,13 @@
4040
"codeWebChat.settings.title": "設定",
4141
"codeWebChat.generateCommitMessage.title": "CWC: コミットメッセージを生成",
4242
"codeWebChat.generateCommitMessageAndCommit.title": "変更をコミット",
43+
"codeWebChat.agenticSearch.title": "エージェント検索...",
4344
"codeWebChat.setRanges.title": "範囲を設定...",
4445
"codeWebChat.searchFiles.title": "ファイルを検索...",
4546
"codeWebChat.searchFilesWorkspaceAction.title": "ファイルを検索...",
46-
"codeWebChat.searchSelectedFiles.title": "選択したファイル内を検索...",
47+
"codeWebChat.searchSelectedFiles.title": "ファイルを検索...",
4748
"codeWebChat.searchFilesFromDirectory.title": "ファイルを検索...",
48-
"codeWebChat.searchSelectedFilesFromDirectory.title": "選択したファイル内を検索...",
49+
"codeWebChat.searchSelectedFilesFromDirectory.title": "ファイルを検索...",
4950
"codeWebChat.selectReferencingFilesForSelected.title": "参照しているファイルを選択...",
5051
"codeWebChat.selectReferencingFiles.title": "参照しているファイルを選択...",
5152
"codeWebChat.selectImportedFilesForSelected.title": "インポートされたファイルを選択...",

‎apps/editor/package.nls.json‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,13 @@
4040
"codeWebChat.settings.title": "Settings",
4141
"codeWebChat.generateCommitMessage.title": "CWC: Generate Commit Message",
4242
"codeWebChat.generateCommitMessageAndCommit.title": "Commit Changes",
43+
"codeWebChat.agenticSearch.title": "Agentic Search...",
4344
"codeWebChat.setRanges.title": "Set Ranges...",
4445
"codeWebChat.searchFiles.title": "Search Files...",
4546
"codeWebChat.searchFilesWorkspaceAction.title": "Search Files...",
46-
"codeWebChat.searchSelectedFiles.title": "Search in Selected Files...",
47+
"codeWebChat.searchSelectedFiles.title": "Search Files...",
4748
"codeWebChat.searchFilesFromDirectory.title": "Search Files...",
48-
"codeWebChat.searchSelectedFilesFromDirectory.title": "Search in Selected Files...",
49+
"codeWebChat.searchSelectedFilesFromDirectory.title": "Search Files...",
4950
"codeWebChat.selectReferencingFilesForSelected.title": "Select Referencing Files...",
5051
"codeWebChat.selectReferencingFiles.title": "Select Referencing Files...",
5152
"codeWebChat.selectImportedFilesForSelected.title": "Select Imported Files...",

0 commit comments

Comments
 (0)