Your profile

One profile for every MSDEVBUILD site. Only you can see it, and the site owner if you write in.

Lesson 5 of 30
❮Prev Next❯

Set Up GitHub Copilot in Your IDE

Module 2: Copilot Features ⏱ 9 min read Updated

Your note

My notes for this lesson

Select any text in the lesson to highlight it or add a note. Saved in this browser.

    No highlights yet. Select a sentence in the lesson, then pick a colour or add a note.

    All my bookmarks and notes

    Reading settings

    For every lesson, saved in this browser.

    Text size
    Line spacing
    Font

    With IaaS you rent the virtual machine. Microsoft looks after the building, power and hardware; you patch the operating system.

    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.

    Simulate it » No Azure account needed

    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.

    VS Code & GitHub: Set up GitHub Copilot in VS Code Install the extension, sign in and check the status bar.
    </> Embed

    Embed this simulation

    Free for trainers, teachers and bloggers. Paste this into your page:

    Loading…

    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
    1. 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.
    2. 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.
    3. 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.
    4. 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.

    😟 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
    🛠️ Solved with: Copilot in the IDE

    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:

    IDEHow you get Copilot
    Visual Studio CodeGitHub Copilot Chat extension from the Extensions view
    Visual StudioBuilt in to recent versions; sign in with GitHub
    JetBrains IDEs (IntelliJ IDEA, PyCharm, Rider and others)GitHub Copilot plugin from the JetBrains Marketplace
    XcodeGitHub Copilot for Xcode extension
    EclipseGitHub Copilot plugin from the Eclipse Marketplace
    Vim / NeovimThe 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

    ActionVS Code (Windows/Linux)
    Accept a suggestionTab
    Dismiss itEsc
    Next / previous suggestionAlt+] / Alt+[ (Option on macOS)
    Accept the next wordCtrl+→
    Open the completions panelCtrl+Enter
    Inline chat in the editorCtrl+I
    Open the Chat viewCtrl+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

    Retail software

    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.
    Ready for more?The full lesson adds the technical explanation, when to use it, interview questions and revision notes.

    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.

    Question 1

    Question 1 of 5

    You need to use GitHub Copilot chat, inline suggestions, and agent mode in Visual Studio Code. What should you install?

    Question 2

    Question 2 of 5

    A developer installs the Copilot extension in VS Code and signs in to GitHub, but receives no suggestions in any file. Other developers in the same organization have no issues. What should you check first?

    Question 3

    Question 3 of 5

    A developer wants GitHub Copilot completions in all languages except plain text files in VS Code. Which configuration should the developer use?

    Question 4

    Question 4 of 5 · Select 2

    Which TWO actions can a developer use to troubleshoot GitHub Copilot when it stops providing suggestions in VS Code?

    Question 5

    Question 5 of 5

    A team uses VS Code, Visual Studio, and JetBrains IDEs. Each developer has a Copilot Business seat. What is required for each developer to use Copilot in their preferred IDE?

    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. 1.Which VS Code extension provides Copilot chat and inline suggestions?Show

      GitHub Copilot Chat.

    2. 2.Which key accepts a ghost text suggestion?Show

      Tab.

    3. 3.Which shortcut opens inline chat in VS Code?Show

      Ctrl+I.

    4. 4.Which setting disables Copilot completions for one language?Show

      github.copilot.enable.

    5. 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

    Studying with a friend? Send them this lesson

    It's free and needs no sign-up. Their progress saves in their own browser.

    Lesson done? Make it stick with a quick gameSort It, Match the Pairs, Lightning Round and Who Am I? Earn XP and badges. Play ❯

    Install MSDEVBUILD Azure

    Free · no account · works offline

    Save the whole course for offline ›

    Hi, I’m your Nimbus

    Your study buddy. Pick what we do next.

    MSDEVBUILD · Multi-Stack Dev Build

    Sign in to MSDEVBUILD

    One account for Azure certifications and the blog: sign in here and you are signed in on both. Your XP, streak, practice deck and certificate stay in sync on every device. Optional: everything works without an account.