Skip to content

Commit 757408d

Browse files
committed
Implement command to find relevant files within a directory
1 parent c8c48a1 commit 757408d

9 files changed

Lines changed: 548 additions & 43 deletions

File tree

‎apps/editor/package.json‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,11 @@
331331
"title": "%codeWebChat.searchFilesForContext.title%",
332332
"category": "Code Web Chat"
333333
},
334+
{
335+
"command": "codeWebChat.findRelevantFilesInDirectory",
336+
"title": "Find relevant files",
337+
"category": "Code Web Chat"
338+
},
334339
{
335340
"command": "codeWebChat.checkReferencingFilesForContext",
336341
"title": "%codeWebChat.checkReferencingFilesForContext.title%",
@@ -511,6 +516,10 @@
511516
"command": "codeWebChat.searchFilesForContextFromDirectory",
512517
"when": "false"
513518
},
519+
{
520+
"command": "codeWebChat.findRelevantFilesInDirectory",
521+
"when": "false"
522+
},
514523
{
515524
"command": "codeWebChat.searchFilesForContextFromFile",
516525
"when": "false"
@@ -738,6 +747,11 @@
738747
"when": "(view == codeWebChatViewWorkspace || view == codeWebChatViewContext) && (viewItem == directory || viewItem == workspaceRoot || viewItem == contextDirectory || viewItem == contextWorkspaceRoot)",
739748
"group": "1_modification@5"
740749
},
750+
{
751+
"command": "codeWebChat.findRelevantFilesInDirectory",
752+
"when": "(view == codeWebChatViewWorkspace || view == codeWebChatViewContext) && (viewItem == directory || viewItem == workspaceRoot || viewItem == contextDirectory || viewItem == contextWorkspaceRoot)",
753+
"group": "1_modification@5.1"
754+
},
741755
{
742756
"command": "codeWebChat.findInFolder",
743757
"when": "(view == codeWebChatViewWorkspace || view == codeWebChatViewContext) && (viewItem == directory || viewItem == workspaceRoot || viewItem == contextDirectory || viewItem == contextWorkspaceRoot)",

0 commit comments

Comments
 (0)