If you’re a developer, you probably already know about GitHub Copilot—the AI-powered coding assistant that helps you write code faster. Until now, it had one major limitation: it could only work within a single file at a time. Making changes across multiple files meant a lot of manual editing and context switching.
GitHub Copilot Edits changed the game. It launched in November 2024 and takes AI-assisted coding to the next level. Instead of just autocomplete suggestions or chat answers, it directly edits multiple files based on natural language prompts. You tell Copilot what you want, and it makes the changes across the relevant files.
Think about it: instead of manually updating function names across multiple files or refactoring large chunks of code, you just describe what you want and it is done. That’s the productivity boost developers dream about.

What Is GitHub Copilot Edits?
Copilot Edits lets you define a working set of files and applies edits to all of them. You can:
- Select the files you want to touch.
- Give a prompt in plain English.
- Review and accept or tweak the suggestions.
- Undo if something looks off.
Why This Is a Big Deal
Before Copilot Edits, you could only interact with Copilot through a chat interface, and it could only look at one file at a time. Now you can define a working set, and Copilot will apply changes across all of it. Highlights:
- Multi-file editing: No more manual updates across different files.
- More control: Choose which files Copilot can modify.
- Natural language coding: Describe refactors and patterns instead of hand-writing them.
- Faster development: Less repetitive work, more problem-solving.
How It Works
- Select your files — create a working set Copilot will edit.
- Give a prompt — e.g. “Rename all instances of
oldFunctionNametonewFunctionName” or “Refactor this code to use async/await instead of callbacks.” - Review and accept — approve or tweak the suggested edits.
- Undo if necessary — roll back and try again.
What This Means for Developers
For large-scale apps, Copilot Edits is a lifesaver. Need to rename a function used in 20 places? Done in seconds. Want to update your codebase to follow a new pattern? No problem. Even if you’re starting out, Copilot Edits removes the tedious parts of refactoring so you can focus on the real problems.
The Future of AI-Powered Coding
This is just the beginning. AI-assisted coding is evolving fast, and tools like GitHub Copilot Edits are paving the way for more natural and intuitive programming. The ability to communicate with AI in plain language and have it edit your entire project is where things are headed.
If you haven’t tried GitHub Copilot Edits yet, give it a shot. It is available in VS Code and Visual Studio 2022, and it will change the way you write code.