Use GitHub Copilot in the IDE
Unlock the complete study guide.
Bundled into the existing GitHub Copilot premium course — no separate purchase.
14-day money-back guarantee — no questions asked.
Included in this chapter:
- Copilot in the IDE: one access chain, two surface families
- Enabling Copilot: integration, sign-in, and Copilot access
- Organization policy: why an entitled user can miss a feature
- Ghost text: completions at the cursor
- Next edit suggestions: predicting where and what
- Ask mode and Inline Chat: conversation without autonomy
- Chat context: prompt prefixes and response references
- Agent mode: handing Copilot a task from the chat view
- Content exclusion: who configures it and what it withholds
- Propagating and testing an exclusion change
- Choosing and troubleshooting Copilot in the IDE
Copilot surfaces in the IDE: how each is triggered and what reaches your files
| Surface behavior | Ghost text | Next edit suggestions | Ask mode | Inline Chat | Agent mode |
|---|---|---|---|---|---|
| Surface family | Completion surface | Completion surface | Chat surface | Chat surface | Chat surface |
| How you trigger it | Type code or a descriptive comment | Make an edit; Copilot predicts the follow-on edit | Select Ask in the chat view and submit a question | Open inline chat in the editor on selected code | Select Agent in the chat view and submit a task |
| Where the result appears | At the current cursor | At a predicted location, which can be away from the cursor | In the chat view | On the selected or nearby code | Across the files Copilot chooses, plus terminal commands |
| What reaches your files | Only the part you accept | Only the edit you accept | Nothing unless you insert proposed code | A proposed change to the focused code | Edits Copilot streams in, for you to review |
| On/off control | Editor setting (`github.copilot.enable` in Visual Studio Code), adjustable per language | Separate next edit setting, with IDE-specific defaults | Organization Chat policy, for organization seats | Organization Chat policy, for organization seats | Organization agent mode policy, for organization seats |
Decision tree
Cheat sheet
Unlock with Premium — includes all practice exams and the complete study guide.
References
- https://learn.microsoft.com/en-us/credentials/certifications/resources/study-guides/gh-300
- https://docs.github.com/en/copilot/concepts/agents/copilot-cli/about-copilot-cli
- https://docs.github.com/en/copilot/how-tos/configure-content-exclusion/exclude-content-from-copilot
- https://docs.github.com/en/copilot/how-tos/set-up/install-copilot-extension
- https://docs.github.com/en/copilot/concepts/billing/organizations-and-enterprises
- https://docs.github.com/en/copilot/get-started/plans
- https://docs.github.com/en/copilot/concepts/completions/code-suggestions
- https://docs.github.com/en/copilot/how-tos/chat-with-copilot/chat-in-ide
- https://code.visualstudio.com/updates/v1_126
- https://code.visualstudio.com/docs/setup/copilot
- https://docs.github.com/en/copilot/how-tos/get-code-suggestions/get-ide-code-suggestions
- https://docs.github.com/en/copilot/how-tos/configure-personal-settings/configure-in-ide
- https://docs.github.com/en/copilot/reference/supported-surfaces-for-policies
- https://docs.github.com/en/copilot/reference/keyboard-shortcuts
- https://docs.github.com/en/copilot/concepts/completions/code-referencing
- https://code.visualstudio.com/docs/copilot/ai-powered-suggestions
- https://docs.github.com/en/copilot/reference/chat-cheat-sheet
- https://docs.github.com/en/copilot/concepts/prompting/response-customization
- https://docs.github.com/en/copilot/concepts/agents/cloud-agent/about-cloud-agent
- https://docs.github.com/en/copilot/concepts/context/mcp
- https://docs.github.com/en/copilot/concepts/security-governance-and-network-settings/content-exclusion