January 28th, 2025

Iterate across multiple files more efficiently with GitHub Copilot Edits (Preview)

Aaron Yim
Product Manager

GitHub Copilot Edits (Preview) 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:

  • Preview with clarity: Review a clear summary that highlights affected files and proposed changes.
  • Review with flow: View code diffs inline, directly in your editor. Either the TAB key to accept and Alt+Del keys to reject individual changes, or apply/dismiss all at once.
  • Iterate with confidence: Use checkpoints to revisit earlier iterations of a code file or try an alternative approach anytime for novel ideas.

Available in Visual Studio 2022 Preview

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.

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
Product Manager

Aaron is a Product Manager on the Visual Studio IDE team, where he's been building developer tools for over 4 years. He currently looks after Visual Studio IntelliCode.