Set Up GitHub Copilot in Your IDE
30-second answer
To enable Copilot in VS Code, install the GitHub Copilot Chat extension, sign in with GitHub using an account that has Copilot access (Copilot Free, a paid plan or a seat from your organization), and check the Copilot icon in the status bar. The github.copilot.enable setting turns completions on or off per language. Visual Studio, JetBrains IDEs, Xcode, Eclipse and Vim/Neovim have their own Copilot extension with the same GitHub sign-in.
Exam objective: 2.1.1 Enable Copilot in the IDE. (Skills measured as of August 7, 2026)
Simulations
Feel it before you read it. No account needed, nothing leaves this page.
Open <strong>Extensions</strong> (Ctrl+Shift+X), search for <strong>GitHub Copilot</strong> and choose <strong>Install</strong>. In current VS Code one extension, <strong>GitHub Copilot Chat</strong>, brings chat, inline suggestions and agent mode.
👆 Click the glowing item on screen to continue
Read the steps as text
- Open Extensions (Ctrl+Shift+X), search for GitHub Copilot and choose Install. In current VS Code one extension, GitHub Copilot Chat, brings chat, inline suggestions and agent mode.
- VS Code asks you to sign in to GitHub. Your account needs Copilot access: Copilot Free, a paid plan, or a seat from your organization.
- The Copilot icon in the status bar shows it is ready. Click it to see your plan, snooze suggestions, or turn completions off for this language.
- In Settings, github.copilot.enable turns completions on or off per language. Other IDEs (Visual Studio, JetBrains, Xcode, Eclipse, Vim/Neovim) have their own Copilot plugin and the same sign-in.
🧪 Simulation for learning. Screens are simplified versions of Visual Studio Code and github.com with GitHub Copilot; names, files and suggestions are examples. Not affiliated with GitHub or Microsoft, and nothing here touches your real account.
🖱️ Drag to rotate · scroll or pinch to zoom
Seats light up Copilot
A developer gets Copilot once they have a seat. Remove the seat and Copilot stops at the end of the billing cycle.
🤔 What happens if…
Read this tour as text
- Plans and seats. Individuals use Copilot Free, Pro or Pro+. Organizations buy Copilot Business per seat; Copilot Enterprise adds features on GitHub Enterprise Cloud. Admins assign seats to users or teams.
- Policies flow down. An enterprise can enforce a Copilot policy for all its organizations or leave the choice to each organization. Policies cover features (chat in the IDE, on github.com, the CLI, code review, agents), models and MCP.
- Seats light up Copilot. A developer gets Copilot once they have a seat. Remove the seat and Copilot stops at the end of the billing cycle.
- Suggestions matching public code. A policy decides what happens when a suggestion matches public code: Block hides it; Allow shows it with a code reference (repository and licence) so you can decide.
- Content exclusions. Repository, organization and enterprise admins can exclude files and paths. Copilot won’t use them as context or suggest inside them in supported IDEs. Changes can take up to 30 minutes to reach editors.
- Audit log and metrics. Copilot settings changes, seat assignments and content exclusion changes appear in the audit log. Usage metrics and the REST API show adoption and activity.
- Responsible use. Policies reduce risk, but the developer still owns the output: review it, test it, scan it for vulnerabilities and check licences before it ships.
- Troubleshooting. No suggestions? Check the seat and sign-in, whether the file is excluded, whether the language is disabled in settings, the public code filter, network or proxy settings, and the Copilot logs in the IDE.
Get Copilot into your terminal. Check Node.js, install the CLI, trust the folder, sign in, pick a model and ask your first question about the code in front of you.
🎓 Education-only simulation. Your lab is saved in this browser, so you can leave and continue later.
😟 THE PROBLEM
A new developer can’t see any Copilot suggestions.
😊 THE SOLUTION
Install the extension, sign in with an account that has access, and check the status.
- Extension not installed✓ Install GitHub Copilot Chat
- Signed in to the wrong account✓ Sign in with the seat’s account
- Completions off for a language✓ github.copilot.enable
Start with a question
You installed Copilot, signed in, opened src/cart.js and started typing. Nothing happens. What did you miss?
Usually one of three things. The GitHub account you signed in with doesn’t have Copilot access. Copilot is turned off for that language. Or something between you and GitHub, like a company proxy, is blocking it.
Setting up Copilot is quick: install the extension, sign in, check the status bar. Knowing what each step does is what lets you fix it when it doesn’t work, and that’s what the exam asks about.
Explain it like I’m 10
The technical explanation
Step 1: install the extension
In VS Code, open Extensions (Ctrl+Shift+X), search for GitHub Copilot and install it. In current VS Code one extension, GitHub Copilot Chat, brings chat, inline suggestions and agent mode together.
Other editors have their own Copilot extension or plugin:
| IDE | How you get Copilot |
|---|---|
| Visual Studio Code | GitHub Copilot Chat extension from the Extensions view |
| Visual Studio | Built in to recent versions; sign in with GitHub |
| JetBrains IDEs (IntelliJ IDEA, PyCharm, Rider and others) | GitHub Copilot plugin from the JetBrains Marketplace |
| Xcode | GitHub Copilot for Xcode extension |
| Eclipse | GitHub Copilot plugin from the Eclipse Marketplace |
| Vim / Neovim | The copilot.vim plugin |
Step 2: sign in with an account that has access
VS Code asks you to sign in to GitHub. The account needs one of these: Copilot Free, a paid individual plan (Pro or Pro+), or a seat assigned by an organization on Copilot Business or Enterprise. Signing in with an account that has none of these won’t light Copilot up. If your seat comes from work, sign in with the account that’s a member of that organization.
Step 3: check the status bar
The Copilot icon in the status bar tells you it’s ready. Click it to see your plan, snooze suggestions for a while, or turn completions off for the current language. If something’s wrong, the icon shows it.
Turn suggestions on or off per language
The github.copilot.enable setting takes an object of languages:
{
"github.copilot.enable": {
"*": true,
"plaintext": false,
"markdown": true
}
}
"*" covers every language; the other keys override it. Next edit suggestions (NES), which predict your next edit, have their own setting.
The keys you’ll use from day one
| Action | VS Code (Windows/Linux) |
|---|---|
| Accept a suggestion | Tab |
| Dismiss it | Esc |
| Next / previous suggestion | Alt+] / Alt+[ (Option on macOS) |
| Accept the next word | Ctrl+→ |
| Open the completions panel | Ctrl+Enter |
| Inline chat in the editor | Ctrl+I |
| Open the Chat view | Ctrl+Alt+I |
When nothing appears
Work through it in order: does the account have a seat or plan, is the status bar icon showing an error, is the language disabled, is the file covered by a content exclusion, is a proxy or firewall blocking Copilot, is the extension out of date. The logs are in Output › GitHub Copilot, or run GitHub Copilot: Open Logs from the Command Palette.
Architect level Why an organization policy can hide a feature you expect
Even with a seat, an organization can turn features off by policy, for example Copilot Chat in the IDE, the CLI or certain models. If a teammate has a feature you don’t, compare which organization granted each of your seats and check its Copilot policies. An enterprise-enforced policy wins over the organization’s own choice.
Real-world business scenario
Contoso (fictional)
- The problem
- On rollout day, a third of the 45 developers reported that Copilot didn't work. Most had signed in with personal GitHub accounts, and a few were behind the office proxy.
- What they used
- A one-page setup guide: install GitHub Copilot Chat, sign in with the contoso member account, check the status bar icon, and open Output › GitHub Copilot if anything looks wrong. IT allowed Copilot's endpoints through the proxy.
- Why that choice
- Most failures came from the account or the network, not the extension. A short checklist let developers fix it themselves.
- The result
- Every developer had Copilot running by the end of the day, and setup questions dropped to almost none for later hires.
When to use it and when not to
✓ Use it when…
- Setting up Copilot on a new machine or a new editor.
- Turning completions off for languages where they get in the way, such as plain text or commit messages.
- Snoozing suggestions from the status bar while you focus or present.
✕ Think twice when…
- Uninstalling the extension just to stop suggestions in one language. Use github.copilot.enable.
- Signing in with a personal account for work code when your organization gives you a seat.
↔ Alternatives to consider
- Copilot CLI when you want Copilot in the terminal instead of an editor.
- Copilot on github.com for chat, pull request summaries and code review in the browser.
Test yourself with exercises
5 original practice questions in the GH-300 style. Pick your answers, then check them. You will see why each option is right or wrong. Score 75% or more and this topic is marked complete.
Interview preparation
Say your answer out loud first, then open the model answer. Interviewers care more about your reasoning than the exact words.
Beginner How do you get Copilot working in VS Code?
Model answer
Install the GitHub Copilot Chat extension from the Extensions view, sign in with my GitHub account, and check that the Copilot icon in the status bar looks ready. My account needs Copilot access, either Copilot Free, a paid plan or a seat from my organization.
Intermediate You want Copilot in JavaScript files but not in plain text files. How?
Model answer
With the github.copilot.enable setting. It takes an object of languages, so I set "*" to true and "plaintext" to false. I can also toggle it for the current language from the status bar icon.
Experienced developer A new hire installed the extension and signed in, but gets no suggestions. What do you check first?
Model answer
Whether their account actually has a Copilot seat in our organization, or a personal plan. Then the status bar icon for errors, whether the language is disabled, whether the file is covered by a content exclusion, and the Output panel for GitHub Copilot to see network or proxy errors.
Interviewer follows up
Where are the logs?
You
Output panel, GitHub Copilot channel, or the command "GitHub Copilot: Open Logs" from the Command Palette.
Scenario Half your team uses JetBrains IDEs, half uses VS Code. Do you need different Copilot plans?
Model answer
No. The plan or seat belongs to the GitHub account, not the editor. Each IDE has its own Copilot plugin, and people sign in with the same GitHub account. Organization policies apply in all of them.
Architecture & design How do you roll Copilot out to 100 developers smoothly?
Model answer
Assign seats to the right teams in the organization's Copilot access settings, set policies first, publish the extension name and the sign-in steps, make sure the proxy and firewall allow Copilot's endpoints, and give people a short troubleshooting list: seat, sign-in, status bar, language setting, exclusions, logs.
Quick revision
Key points
- VS Code: install the GitHub Copilot Chat extension, which brings chat, inline suggestions and agents.
- Sign in with a GitHub account that has Copilot Free, a paid plan or an organization seat.
- The status bar icon shows Copilot's state and opens quick settings.
- github.copilot.enable turns completions on or off per language.
- Keys: Tab accept, Esc dismiss, Alt+] / Alt+[ next or previous, Ctrl+I inline chat, Ctrl+Alt+I Chat view.
- Visual Studio, JetBrains, Xcode, Eclipse and Vim/Neovim have their own Copilot extensions.
Important terminology
- GitHub Copilot Chat extension
- The VS Code extension that provides Copilot chat, inline suggestions and agent mode.
- Copilot status bar icon
- The icon in the VS Code status bar that shows whether Copilot is ready and opens quick settings.
- github.copilot.enable
- A VS Code setting that turns Copilot completions on or off for all languages or specific ones.
- Inline suggestion
- Grey ghost text that Copilot shows as you type. Tab accepts it and Esc dismisses it.
- Next edit suggestions (NES)
- A Copilot feature that predicts where and what your next edit is likely to be.
- Seat
- A Copilot licence that an organization assigns to a user. Without one (or a personal plan), sign-in gives no access.
Common mistakes
- Signing in with a personal account when the seat belongs to the work account.
- Forgetting a language was disabled in github.copilot.enable.
- Blaming the extension when a proxy blocks Copilot's endpoints.
Exam tips
- "Turn off Copilot for Markdown files only" = github.copilot.enable with that language set to false.
- "Installed and signed in, still no Copilot" = check the seat (licence) first.
- "Where to see Copilot errors in VS Code" = Output › GitHub Copilot or GitHub Copilot: Open Logs.
Five quick revision questions
-
1.Which VS Code extension provides Copilot chat and inline suggestions?Show
GitHub Copilot Chat.
-
2.Which key accepts a ghost text suggestion?Show
Tab.
-
3.Which shortcut opens inline chat in VS Code?Show
Ctrl+I.
-
4.Which setting disables Copilot completions for one language?Show
github.copilot.enable.
-
5.Does the IDE decide which Copilot plan you have?Show
No. Your GitHub account's plan or seat does.
Official references
Finished this lesson? Tick it off. Your progress is saved in this browser.
Next up: Inline Suggestions, Chat, Edit and Agent Mode
Lesson done? Make it stick with a quick gameSort It, Match the Pairs, Lightning Round and Who Am I? Earn XP and badges.