Skip to content

Commit 6178419

Browse files
committed
Add agentic search action with icon and ellipsis to workspace view title
- place agentic search to the left of 'Search Files...' in the workspace pane, as 'Agentic Search...' └── 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 │ └── index.ts └── extension.ts
1 parent 6f3b9d2 commit 6178419

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

‎apps/editor/package.json‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,8 @@
358358
{
359359
"command": "codeWebChat.agenticSearch",
360360
"title": "%codeWebChat.agenticSearch.title%",
361-
"category": "Code Web Chat"
361+
"category": "Code Web Chat",
362+
"icon": "$(search-sparkle)"
362363
},
363364
{
364365
"command": "codeWebChat.selectReferencingFiles",
@@ -698,6 +699,11 @@
698699
"when": "view == codeWebChatViewWorkspace",
699700
"group": "navigation@6"
700701
},
702+
{
703+
"command": "codeWebChat.agenticSearch",
704+
"when": "view == codeWebChatViewWorkspace",
705+
"group": "navigation@1"
706+
},
701707
{
702708
"command": "codeWebChat.searchFilesWorkspaceAction",
703709
"when": "view == codeWebChatViewWorkspace",

‎apps/editor/package.nls.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"codeWebChat.searchSelectedFiles.title": "Search Files...",
4747
"codeWebChat.searchFilesFromDirectory.title": "Search Files...",
4848
"codeWebChat.searchSelectedFilesFromDirectory.title": "Search Files...",
49-
"codeWebChat.agenticSearch.title": "Agentic Search",
49+
"codeWebChat.agenticSearch.title": "Agentic Search...",
5050
"codeWebChat.selectReferencingFilesForSelected.title": "Select Referencing Files...",
5151
"codeWebChat.selectReferencingFiles.title": "Select Referencing Files...",
5252
"codeWebChat.selectImportedFilesForSelected.title": "Select Imported Files...",

0 commit comments

Comments
 (0)