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.

Create a plan

Create a plan

The plan agent is just as easy to use as any other agent. You go to your chat pane, choose plan from this dropdown list, and then select your model. The difference is in the conversation. Plan mode is goal-focused. You're not asking it to start changing files right away. You're explaining what you want to accomplish and seeing what steps will get you there. Now you can ask general questions, but the plan agent will typically try to turn those into concrete step-by-step approach that you can review and refine before handing the work off to an execution agent. Or you could prompt it with a comprehensive list of requirements. So that's what I've done. I have this list here. This is my prompt. But before we look at the prompt, let's talk about my project. I am in the plan simple branch and we're looking at my brokerage lib module. So I have the account, the commission calculator, constants module, financial module, on a payment date module. Here's my prompt. Create a detailed step-by-step…

Contents