From the course: AI-Powered Development: GitHub Copilot in Visual Studio Code

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Review the changes

Review the changes

Overall, I think the background agent took about 15 minutes to run. I'm not completely sure because I stepped away for a bit and when I came back it was waiting on the PowerShell approval prompt. Before we look at the results, I want to clarify something about the original plan. When I created it, I scoped the context to a single Python file, something I don't think I made clear earlier in the chapter. As a result, when the plan executed, the agent only modified that file and created the corresponding test file. So we can see that over here it created this refactoring summary, the changes to payment date and this test file. If I had scoped a plan to the entire project I'm sure the background agent would have taken much longer to run and we'd be looking at a lot more changes in the final result. So now what do we do? Let's go to the bottom of the chat panel. Now I can choose to keep or undo the changes. We've seen this behavior in the other modes so you're familiar with how it works.…

Contents