{"id":252165,"date":"2025-01-28T05:00:58","date_gmt":"2025-01-28T13:00:58","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=252165"},"modified":"2025-02-25T07:27:43","modified_gmt":"2025-02-25T15:27:43","slug":"iterate-across-multiple-files-more-efficiently-with-github-copilot-edits-preview","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/iterate-across-multiple-files-more-efficiently-with-github-copilot-edits-preview\/","title":{"rendered":"Iterate across multiple files more efficiently with GitHub Copilot Edits"},"content":{"rendered":"<p>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.<\/p>\n<p>\ud83d\udca1 Here\u2019s how Copilot Edits helps with iterating across multiple files:<\/p>\n<ul>\n<li><strong>Preview with clarity<\/strong>: Review a clear summary that highlights affected files and proposed changes.<\/li>\n<li><strong>Review with flow<\/strong>: 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.<\/li>\n<li><strong>Iterate with confidence<\/strong>: Use checkpoints to revisit earlier iterations of a code file or try an alternative approach anytime for novel ideas.<\/li>\n<\/ul>\n<p><div style=\"width: 1920px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-252165-1\" width=\"1920\" height=\"1080\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/01\/edits-final-_-jan-16-_-captions.mp4?_=1\" \/><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/01\/edits-final-_-jan-16-_-captions.mp4\">https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/01\/edits-final-_-jan-16-_-captions.mp4<\/a><\/video><\/div><\/p>\n<h3>Available in Visual Studio 2022 17.13, released February 11th.<\/h3>\n<ul>\n<li>Copilot Edits is available in versions 17.13 and later of Visual Studio 2022, released February 11th, 2025*.<\/li>\n<li>To use Copilot Edits, <a href=\"https:\/\/learn.microsoft.com\/en-us\/visualstudio\/subscriptions\/sign-in-github\">sign in to Visual Studio 2022 with a GitHub account<\/a> that has access to Copilot, now available to all users with <a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/github-copilot-free-is-here-in-visual-studio\/\">Copilot Free<\/a>.<\/li>\n<\/ul>\n<p><div  class=\"d-flex justify-content-left\"><a class=\"cta_button_link btn-primary mb-24\" href=\"#\" target=\"_blank\">Get Visual Studio 2022 17.13<\/a><\/div><\/p>\n<p>*Preview versions of this feature were released in 17.13 Preview, released December 18th, 2024.<\/p>\n<h3>Get started with GitHub Copilot Edits in Visual Studio<\/h3>\n<ol>\n<li><strong>Start an Edits thread: <\/strong>In the Copilot Chat window, click the Edits thread button (a &#8220;+&#8221; symbol with a pencil icon).<\/li>\n<li><strong>Describe your changes: <\/strong>Use natural language to describe your edits, just as you would in Copilot Chat.<\/li>\n<li><strong>Specify context or let Copilot discover:\u00a0<\/strong>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.<\/li>\n<\/ol>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/01\/eshop_copilotedits_gettingstarted.png\"><img decoding=\"async\" class=\"alignnone wp-image-252191 size-full\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/01\/eshop_copilotedits_gettingstarted.png\" alt=\"Image eshop copilotedits gettingstarted\" width=\"2102\" height=\"1430\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/01\/eshop_copilotedits_gettingstarted.png 2102w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/01\/eshop_copilotedits_gettingstarted-300x204.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/01\/eshop_copilotedits_gettingstarted-1024x697.png 1024w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/01\/eshop_copilotedits_gettingstarted-768x522.png 768w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/01\/eshop_copilotedits_gettingstarted-1536x1045.png 1536w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/01\/eshop_copilotedits_gettingstarted-2048x1393.png 2048w\" sizes=\"(max-width: 2102px) 100vw, 2102px\" \/><\/a><\/p>\n<p>For more details on how to use Copilot Edits, visit our <a href=\"https:\/\/learn.microsoft.com\/en-us\/visualstudio\/ide\/copilot-edits?view=vs-2022\">documentation<\/a>.<\/p>\n<h3>Watch Copilot Edits in Action<\/h3>\n<p data-pm-slice=\"1 3 []\">Want to see Copilot Edits in action? Check out our deep-dive walkthrough where we demonstrate how to:<\/p>\n<ul data-spread=\"false\">\n<li>Use Copilot Edits to make simple and complex edits with the power of natural language.<\/li>\n<li>Use Copilot Edits to check your work and fix an issue.<\/li>\n<\/ul>\n<p><iframe title=\"Multi-file Editing for GitHub Copilot in Visual Studio\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/FdqxwrVSb3w?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<h3>We appreciate your feedback<\/h3>\n<p>Your feedback is invaluable for helping us improve Copilot Edits &#8211; please share with us on the <a href=\"https:\/\/developercommunity.visualstudio.com\/t\/GitHub-Copilot-Edits-now-available-in-17\/10824251\">Developer Community ticket<\/a> for Copilot Edits or the <a href=\"https:\/\/learn.microsoft.com\/en-us\/visualstudio\/ide\/how-to-report-a-problem-with-visual-studio?view=vs-2022\">Send Feedback<\/a> button in Visual Studio.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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. \ud83d\udca1 Here\u2019s how Copilot Edits helps with iterating across multiple files: Preview with clarity: Review a clear summary that highlights affected files and proposed changes. [&hellip;]<\/p>\n","protected":false},"author":70931,"featured_media":252213,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[6888,6967,155],"tags":[6937,6968,6883,6924,6969,12,6815],"class_list":["post-252165","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-copilot","category-github-copilot","category-visual-studio","tag-githubcopilot","tag-conversational-ai","tag-copilot","tag-github-copilot","tag-github-copilot-chat","tag-visual-studio","tag-visual-studio-2022"],"acf":[],"blog_post_summary":"<p>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. \ud83d\udca1 Here\u2019s how Copilot Edits helps with iterating across multiple files: Preview with clarity: Review a clear summary that highlights affected files and proposed changes. [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/252165","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/users\/70931"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=252165"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/252165\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/252213"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=252165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=252165"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=252165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}