Technical requirementsA copilot, not an autopilotCode completions: the core experienceAccepting, cycling, and rejecting suggestionsBest practices for completionsCommon pitfalls to avoidComments to code: turning natural language into working codeWriting natural language promptsCommon pitfalls to avoidInline suggestions and context awareness: real-time predictions as you typeHow inline suggestions differ from comments to codeBest practicesCommon pitfalls to avoidGitHub Copilot Ask Mode: conversational assistance in the IDEHow Copilot gathers contextUsing GitHub Copilot Ask ModeGetting the most out of GitHub Copilot Ask ModeUsing slash commands and @participantsAdding context with #keywordsCommon pitfalls to avoidGitHub Copilot Edit Mode: instantly refactoring and improving codeScenarios for editsUsing GitHub Copilot Edit ModeBest practicesCommon pitfalls to avoidGitHub Copilot Agent Mode: automating multi-step tasksWhat is Agent Mode?When and how to use Agent ModeReviewing and accepting changes in Agent ModeBest practicesCommon pitfalls to avoidCombining features for real workflowsWorkflow example 1: from comment to complete solution (JavaScript)Workflow example 2: infrastructure and CI/CD (Terraform, YAML, PowerShell)Best practices for combining Copilot featuresCommon pitfalls to avoidGitHub Copilot in different IDEs: what’s the same, what’s uniqueDifferences and unique featuresBest practicesCommon pitfalls to avoidSummaryGet This Book’s PDF Version and Exclusive Extras