Iterate across multiple files more efficiently with GitHub Copilot Edits - Visual Studio Blog (original) (raw)

GitHub Copilot Edits in Visual Studio 2022 combines the conversational flow of chat and an inline review experience to help you iterate across your codebase with more control and efficiency.

💡 Here’s how Copilot Edits helps with iterating across multiple files:

https://devblogs.microsoft.com/visualstudio/wp-content/uploads/sites/4/2025/01/edits-final-_-jan-16-_-captions.mp4

Available in Visual Studio 2022 17.13, released February 11th.

*Preview versions of this feature were released in 17.13 Preview, released December 18th, 2024.

Get started with GitHub Copilot Edits in Visual Studio

  1. Start an Edits thread: In the Copilot Chat window, click the Edits thread button (a “+” symbol with a pencil icon).
  2. Describe your changes: Use natural language to describe your edits, just as you would in Copilot Chat.
  3. Specify context or let Copilot discover: Copilot Edits will automatically consider your current file, open files, or search for related files across your codebase. You can also specify context using # commands like #errors, #file, #solution.

Image eshop copilotedits gettingstarted

For more details on how to use Copilot Edits, visit our documentation.

Watch Copilot Edits in Action

Want to see Copilot Edits in action? Check out our deep-dive walkthrough where we demonstrate how to:

We appreciate your feedback

Your feedback is invaluable for helping us improve Copilot Edits – please share with us on the Developer Community ticket for Copilot Edits or the Send Feedback button in Visual Studio.

Author

Aaron Yim

Aaron is a Product Manager on the Visual Studio IDE team, where he’s been working on AI assisted developer tools like GitHub Copilot Chat and IntelliCode. He’s pioneered interfaces that are now industry standard, such as the inline-diff view, copy-paste-update automation, and most recently, Agentic Coding through Copilot Edits