Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.
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

Closed

Description

@ZFYL

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?

Thanks for the response!

Activity

  1. added
    triage-neededIssues needing to be assigned to the prospective feature owner
    on Apr 2, 2024
  2. added
    feature-requestRequest for new features or functionality
    and removed
    triage-neededIssues needing to be assigned to the prospective feature owner
    on Apr 3, 2024
  3. maciekgajewski commented on Sep 10, 2024

    @maciekgajewski

    Yep. Changing both header and implementation in a C++ project would be nice

  4. AdrianLThomas commented on Oct 2, 2024

    @AdrianLThomas

    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.

  5. marian-toaderr commented on Oct 3, 2024

    @marian-toaderr

    no news on this?

  6. isidorn commented on Oct 31, 2024

    @isidorn

    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

  7. locked and limited conversation to collaborators on Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestRequest for new features or functionality

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions