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
From the course: AI-Powered Development: GitHub Copilot in Visual Studio Code
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
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Understand cloud and background agents5m 12s
-
(Locked)
Plan mode in Copilot: Quick review2m 25s
-
(Locked)
Session panel2m 23s
-
(Locked)
Create a plan5m 15s
-
(Locked)
Save plan as markdown1m 42s
-
(Locked)
Run the plan on background agent1m 40s
-
(Locked)
Use terminal with background agent2m
-
(Locked)
The Git worktree2m
-
(Locked)
Review the changes1m
-
(Locked)
Merge the changes1m 28s
-
(Locked)
-
-
-