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.

Plan mode in Copilot: Quick review

Plan mode in Copilot: Quick review

Up to this point, we've mostly worked with ask mode and agent mode. Now, we're going to look at a third mode that fills a very different role in your workflow, the plan mode. The plan agent or plan mode is designed for the discovery, exploration, and design phase of development. When we have a task like refactoring a service, or adding a feature, or implementing a new API, The plan agent helps us think through how to approach it before any code is written or changed. It is a space for brainstorming approaches, breaking work into steps, reviewing trade-offs, exploring alternatives, troubleshooting ideas, and clarifying intent. Plan mode is intentionally non-destructive. It won't modify files or run actions. It's It's about shaping the work, not performing it. The multi-step agent, on the other hand, is the execution engine. It acts as an autonomous pair programmer to perform multiple step coding tasks. To be clear, when you ask the agent to do something, it always generates a plan…

Contents