You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 23, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 23, 2026. It is now read-only.
Edit multiple files in one request with Copilot #1098
I am using Copilot in a Django project which i try to keep really vanilla. Thus it's using all the basic building blocks and Copilot easily applies the best practices. But i find myself in long sessions of copy paste into different linked files urls.py, models.py, views.py, serializers.py and tests.py etc. So these are simple changes that need to be made in 8+ files every time.
Would be nice to have a @workspace /edit Add a new field to the Requests model and change all the subsequent related files in the project that shows a similar UI like /new and when pressing an Apply changes button it adds the changes.
The changes could be reviewed during a commit. If the commit contains breaking changes we could rollback the changes.
Is there in plans to add such a feature? Is there a similar plugin or a command combination that does this or similar?
This would be great for scenarios where you want to do a larger "find and replace" but where you can't do it with a simple regex. For example changing multiple test files to meet a new convention / meet best practice. I can envisage a prompt to explain the problem and Copilot could go ahead and make the change to all those files.
Reacted by Kovács Gergely, Toader Marian, Balázs Simó, Alexey Murz Korepov and vox-koracz
Activity
maciekgajewski commentedon Sep 10, 2024
Yep. Changing both header and implementation in a C++ project would be nice
AdrianLThomas commentedon Oct 2, 2024
This would be great for scenarios where you want to do a larger "find and replace" but where you can't do it with a simple regex. For example changing multiple test files to meet a new convention / meet best practice. I can envisage a prompt to explain the problem and Copilot could go ahead and make the change to all those files.
marian-toaderr commentedon Oct 3, 2024
no news on this?
isidorn commentedon Oct 31, 2024
This is now done, please try out the Copilot Edits view and let us know what you think
https://code.visualstudio.com/docs/copilot/copilot-edits