Real-world workflow scenarios
The real strength of GitHub Copilot’s IDE integrations shines when you use them together in daily tasks. This section brings together terminal assistance, GitHub Copilot CLI, debugging, local code review, and testing support into hands-on, practical flows, so you can see how these features combine to save time and reduce context-switching.
Scenario 1: From bug discovery to fix and review
Imagine that you’re running integration tests in your IDE’s terminal and see a failing test. What do you do?
Begin by investigating the bug. You can do either of the following:
- Highlight the error message or failing line and use the inline prompt
Explain this error and suggest a fix. This option provides an explanation and suggests updated code directly in context. - Click the Fix Test Failure icon next to the failing test. This option analyzes the failure automatically and proposes a direct fix without requiring a typed...