Feature Request - Add search result files in batch as chat context for better AI assisted refactoring

Sometime I want to refactor my codebase for a specific function call. Maybe changing a signature or tweak the parameter types. The easiest way is to search for that function call in all files, and then ask the chat/composer to batch update these files.

It would be great to have a button in the search result to add all listed files into the search context in one click.

1 Like

Agreed. I Something find the agent or compose to make duplicate files and file names and I want to consolidate them. But I’m only able to see results for the file one at a time. The search panel is too broad sometimes and searches the code but not necessarily the file names. And even if I do get the right result, the drag to chat/composer doesn’t work well if I have to do them one at a time instead of in a batch or select all. That would make certain tasks much easier.