← All postsHow Do You Use GitHub Copilot in Visual Studio?

How Do You Use GitHub Copilot in Visual Studio?

Carlos GarciaCarlos GarciaPublished

How Do You Use GitHub Copilot in Visual Studio?

Visual Studio and Visual Studio Code are different products, and almost every guide to GitHub Copilot is written about the second one. If you are working in the full Visual Studio IDE on Windows, the menus are in different places, the version numbers that matter are different, and several of the shortcuts that get quoted everywhere do not exist.

This guide covers Copilot in Visual Studio itself, following what Microsoft's own documentation states. It is worth saying up front that those pages do not agree with each other on some fairly basic points, including the minimum version you need and whether Copilot is installed by default. Where they disagree, that is reported rather than smoothed over, because the disagreement is the thing that actually costs you an afternoon.

If you are in a JetBrains IDE instead, the setup is genuinely different and we have covered it separately.

What Is the Short Answer?

Copilot in Visual Studio is an installer component, not something you download from a website. You add it through the Visual Studio Installer, sign in with a GitHub account from the Copilot badge in the top right of the window, and then use it in two places: inline completions as you type, and a chat window you open from the View menu.

Three things in that sentence are the ones people get wrong. The first is the badge. Copilot's status and most of its controls live in a badge in the upper-right corner of the Visual Studio window, and Microsoft's documentation notes that the status icon is moving there from the bottom panel of the editor, so older screenshots will not match what you see.

The second is sign-in. You do not enter a license key or a Copilot credential. Visual Studio prompts you to sign in with a GitHub account, and on the sign-in dialog Microsoft documents both a Continue with GitHub and a Continue with Google option.

The third is that Copilot is billed separately from Visual Studio. Microsoft states plainly that GitHub Copilot is not included in Visual Studio Subscriptions and is instead a separate subscription managed by GitHub. A paid Visual Studio subscription does not entitle you to Copilot.

Everything after this section is detail: which version, how to install it, how to use each mode, and how to turn it off again.

Shipping developer-facing content and want to know which of your pages search engines actually favor? Get a free SEO audit from SEO Stuff and see where your site stands.

Free audit

Where do you stand in AI search?

A manual SEO + AI search audit of your site: how ChatGPT, Gemini, Perplexity and Claude read and cite it today, and what to fix first. Report within 48 hours, no credit card.

Get my free audit

Or have it all done: AI SEO services, $999 once

Which Visual Studio Version Do You Need?

There is no single answer, and this is the clearest example of the documentation disagreeing with itself. Four Microsoft pages state four different minimums, each apparently correct for its own feature and none of them reconciled anywhere:

  • The Copilot Chat page and the Copilot Free page both give Visual Studio 2022 version 17.8 or later
  • The install-and-states page and the 2022 section of the getting-started page both give version 17.10 or later
  • The agent mode page gives version 17.14 or later
  • Copilot Free activation at first launch is documented as needing version 17.14 or later

The practical reading is that 17.8 gets you something, 17.10 gets you the unified Copilot experience that the current documentation is written around, and 17.14 is where agent mode arrives. If you are on anything older than 17.10, expect the menus in the current docs not to match your install.

Visual Studio 2026 is a separate line again, and here the documentation has a real gap: the getting-started page's 2026 section gives no minimum version at all. It names versions only per feature, for example 18.1 or later for cloud agents and 18.8 or later for the Review Selection command and the usage window.

Two more 2026 version numbers are worth knowing because they change how chat behaves without you doing anything. Microsoft states that starting in Visual Studio 2026 version 18.11 the new Copilot chat experience was available as an opt-in, and that starting in version 18.12 it runs on the Microsoft Copilot harness and is enabled by default.

That matters if chat suddenly looks different after an update. It is not a setting you changed; it is a default that changed under you between two point releases.

The sensible move before troubleshooting anything is to check your exact version first. Microsoft's own troubleshooting sequence for agent mode is exactly that order: check the version is 17.14 or later, then check the option, then restart.

Is Copilot Built In, or Do You Install It?

No Microsoft page in this set says Copilot is built into Visual Studio, and two of them describe its install status differently.

The install-and-states page tells you to find GitHub Copilot in the list of Optional components in the Visual Studio Installer, select it, and choose Modify to install the extension. Read on its own, that says Copilot is opt-in and you must go and get it.

The Copilot Chat page says something close to the opposite. It describes the extension as available as a recommended component in the Visual Studio Installer, and states that Copilot Chat is installed by default with all workloads unless you choose to exclude it during installation.

Both can be true of different components or different installer versions, but neither page acknowledges the other, so the only reliable answer is to look. The getting-started page gives you the check: if Copilot is not installed, you select Install Copilot and follow the installer prompts.

What is consistent across all of them is the mechanism. Copilot arrives through the Visual Studio Installer as a component, not as a separate download, and it is removed the same way. There is no standalone installer to hunt for and no download link on any of these pages.

That also means your administrator may have made the decision for you. The install-and-states page points out that Copilot can be disabled by your administrator and tells you to contact your IT administrator if it is, and agent mode specifically is controlled by an editor preview features flag on the GitHub Copilot dashboard.

How Do You Set It Up and Sign In?

Five steps, in the order Microsoft's pages put them.

Step 1: Check your version. Confirm you are on Visual Studio 2022 version 17.10 or later for the current documented experience, or 17.14 or later if you intend to use agent mode. On the 2026 line, note that individual features carry their own minimums rather than there being one overall floor.

Step 2: Add the component. Open the Visual Studio Installer. The install-and-states page routes you there from inside the IDE with Tools then Get Tools and Features. Find GitHub Copilot, make sure it is selected, and choose Modify.

Step 3: Open the Copilot badge. Back in Visual Studio, select the GitHub Copilot badge in the upper-right corner of the window. In Visual Studio 2026 the menu item is Open Chat; in the 2022 line the same item is labeled Open Chat Window. Expect the label to differ from whatever guide you are reading.

Step 4: Sign in. If you are not already signed in with a GitHub account, Visual Studio prompts you. From the status icon dropdown the documented options are Sign in to use Copilot, or Open Chat Window to Sign In, and from there either Sign up for Copilot Free or Sign in. On the dialog itself you choose Continue with GitHub or Continue with Google.

Step 5: Confirm it is live. Check the Copilot status icon in the upper-right corner. Microsoft documents four states for it: Copilot is active, inactive, unavailable, or not installed. Anything other than active means stop and fix that before writing any code.

Want the same clarity about your own site's search performance? Request a free SEO audit and we will show you what is working.

How Do You Open and Use Copilot Chat?

The documented route to the chat window is the View menu: select View, then GitHub Copilot Chat. That is the one path that appears without version qualifications.

There is exactly one keyboard shortcut in this entire set of pages, and it is on the Copilot Free page rather than the chat page. It gives Control plus backslash, then C, to open the chat window in Visual Studio. No other shortcut for chat or for agent mode is documented anywhere in these five pages, so if you are hunting for one, it is not that you have missed it.

Inline chat is separate from the chat window and is reached by right-clicking in the editor. The menu item you are looking for is named Chat in newer versions and Ask Copilot in the 2022 version, which is another label that will not match older walkthroughs.

Applying what Copilot suggests also depends on your line. In Visual Studio 2026 the documented actions are Apply, Tab to apply, and Escape to discard. In the 2022 line they are Accept and Cancel. The buttons do the same job under different names.

One default is worth changing early if inline completions feel absent. Microsoft states that by default Visual Studio prioritizes IntelliSense over Copilot inline completions, and that the accept shortcuts are customized under Tools, then Options, then Environment, then Keyboard.

If you want to feed Copilot a screenshot of a design or an error, images are supported from version 17.14 with narrow constraints: PNG, JPEG and GIF, single-frame only, and up to three images per prompt.

What Do Ask, Edits and Agent Mode Actually Do?

Ask mode is the conversational one. Microsoft's framing is to use Ask mode for questions and answers, and Agent mode for task-oriented, multi-step workflows. No version minimum is stated for Ask mode anywhere in these pages.

Agent mode needs Visual Studio 2022 version 17.14 or later, and you turn it on in settings before it appears. The option is Enable Agent mode in the chat pane, under Tools, then Options, then All Settings, then GitHub, then Copilot, then Copilot Chat. On the 2022 line the path is shorter: GitHub, then Copilot. Once enabled, you select Ask in the chat pane to expand the mode dropdown and pick Agent.

Copilot Edits is the awkward middle, and the documentation is genuinely inconsistent about its status. The agent mode page describes agent mode as an evolution of Copilot Edits, and says that for the initial release of 17.14 Copilot Edits is still available if the Enable Agent mode in the chat pane option is not selected. The Copilot Free page, meanwhile, still lists Edits as one of the features included for free. Treat Edits as something being absorbed rather than a mode you should build a habit around.

Agent mode has real, documented boundaries that are easy to trip over. It can only manipulate local files that are part of the solution or in the open solution directory and its subdirectories, it cannot access files and directories excluded through file exclusion, and for terminal commands it has the same permissions as the running Visual Studio process. It also asks first: Copilot requests confirmation before running a terminal command or using a tool that is not built in.

Planning is a separate thing from the Plan agent, and the distinction is poorly signposted. The in-session Enable Planning option sits under the same Tools, Options, All Settings, GitHub, Copilot, Copilot Chat path, and Microsoft notes that the system temporarily stores plans and deletes them when the session ends unless you save them manually. The separate Plan agent, selected through the agent picker, saves its plan into a copilot plans folder in your repository instead.

One limitation deserves its own sentence because it affects how cautiously you should use agent mode on real work. Microsoft states that the Visual Studio Copilot agent does not currently support stepwise undo or redo. You revert per checkpoint using Restore, not step by step.

Building out technical documentation and want it to rank? Get a free SEO audit and find the gaps worth filling first.

How Do You Check Whether It Is Active, or Turn It Off?

Checking is the easy half. The Copilot status icon in the upper-right corner of the Visual Studio environment indicates whether Copilot is active, inactive, unavailable or not installed, and if you are on the free plan you can select Copilot Usage from the badge dropdown to see where you stand.

Turning it off is where the documentation gets genuinely messy, and it is worth knowing before you go looking. The install-and-states page's section on disabling Copilot does two things only: it hides the badge, and it uninstalls the component. Hiding the badge is not described as turning Copilot off.

Worse, that same page gives three different paths and two different labels for the hide-badge setting. One is Tools, Options, Environment, Hide Copilot Badge. Another is Tools, Options, All Settings, Environment, Visual Experience, Hide Copilot Badge. A third is Tools, Options, Environment, General, Visual Experience group, Hide Copilot menu badge. If the first path does not exist in your version, try the others before concluding the setting is gone.

To actually remove it, you go back through the installer: Tools, then Get Tools and Features, then Individual components, search for copilot, uncheck GitHub Copilot, and select Modify.

Between those two extremes, completions can be toggled on their own. The Copilot Free page points to Enable Copilot Completions in the badge settings menu, and broader feature capabilities are controlled under Tools, then Options, then GitHub, then Copilot.

What none of these pages offers is a way to turn Copilot Chat off without uninstalling it. You can hide the badge, you can toggle completions, and you can switch capabilities under GitHub and Copilot, but a clean per-solution off switch for chat is not documented.

Where Does Copilot in Visual Studio Fall Short?

The documentation itself is the first shortfall, and it is not a small one. Four pages give four minimum versions, two pages disagree about whether the component installs by default, the same page gives three paths for one setting, and the menu labels differ between the 2022 and 2026 lines without always being marked as version-specific.

The free plan is the second. Microsoft states that Copilot Free includes a limited number of inline suggestions and a monthly usage limit for chat and other capabilities, and then gives no numbers at all, deferring them to GitHub's own documentation. No model list for the free tier is published either, and no page mentions whether a credit card is required.

Eligibility for that free plan is narrower than it looks. Copilot Free is not available if you have an enterprise managed user account, access to a Copilot license through an organization, an existing Copilot Pro subscription, or free access to Copilot Pro as a student, teacher or open-source maintainer. Separately, these pages note that GitHub Copilot Pro trials have been paused as of April 20, 2026.

Platform coverage is a quiet limitation. These pages are titled for Windows, and none of them makes a statement about Visual Studio for Mac or any other platform. If you are not on Windows, the absence of a statement is your answer.

Some features also carry workload dependencies that are easy to miss until a tool silently does nothing. The C and C++ call hierarchy and class hierarchy tools, for instance, require the Desktop development with C++ workload to be installed.

And support is split. The install-and-states page states that support for GitHub Copilot Chat is provided by GitHub rather than by Microsoft, which means a Visual Studio support channel is not the right place to take a Copilot problem.

How Does It Compare to the Alternatives?

Against Copilot in VS Code, the trade is maturity of the IDE against freshness of the Copilot features. New Copilot capabilities reach VS Code first as a rule, and the version-gating visible in these pages, with agent mode arriving at 17.14 and the chat harness changing at 18.12, shows Visual Studio following rather than leading.

Against Copilot in the JetBrains IDEs, the comparison is mostly about where the controls live rather than what the product can do. If you work in both, expect to relearn menus rather than concepts, and our walkthrough of using GitHub Copilot in IntelliJ covers that side in the same detail as this one.

Against the command-line tools, the difference is scope of context. An IDE integration knows your open solution and respects its file exclusions, which is exactly the boundary Microsoft documents for agent mode. A terminal tool is less constrained and correspondingly less protected.

Against doing nothing, the honest answer is that inline completions are the part that pays for itself immediately and chat is the part that needs a habit. If you are evaluating Copilot and only have a week, judge it on completions in your real codebase rather than on how impressive an agent demo looks.

And against a paid plan, start free if you are eligible. Microsoft's own route is activation at first launch from version 17.14, with Copilot Usage in the badge dropdown telling you when you are approaching the ceiling and the options being to wait for the monthly reset or upgrade.

Ready to see where your own site stands before you invest more in content? Claim a free SEO audit from SEO Stuff and find out what your competitors are ranking for.

Final Thoughts

Setting Copilot up in Visual Studio is genuinely simple once you know it is an installer component and that the badge in the top-right corner is the control surface. Add the component, sign in with GitHub, use View then GitHub Copilot Chat, and check the status icon says active.

The part that wastes time is the version matrix. Before you follow any walkthrough, including this one, check your exact Visual Studio version and accept that 17.8, 17.10 and 17.14 unlock different things, and that on the 2026 line features are gated individually with no published overall minimum.

Treat the gaps in Microsoft's documentation as real rather than as something you have failed to find. There are no published free-tier numbers, no documented way to switch chat off short of uninstalling it, no platform statement beyond Windows, and three competing paths to one hide-badge setting. None of those is a reason not to use the product, but all of them are reasons to verify against your own install rather than against a screenshot.

Nothing in Microsoft's current documentation marks Copilot in Visual Studio as deprecated, retired or replaced. What it does show is a product being rebuilt underneath you between point releases, so the most useful habit is checking your version first and reading the page that matches it.

Want this done for you?

SEO Stuff gets businesses cited by ChatGPT, Gemini, Perplexity and Claude, and ranking in Google. Start with the free audit, a call, or the package.

See where you stand

A free, manual SEO + AI search audit of your site, with a report within 48 hours. No credit card, no sales call.

Get my free audit

Talk it through

A free 15-minute call with the founder about whether AI search is a meaningful opportunity for your business.

Free strategy call

Have it done

The Done-For-You Package: audit, 10 pages of content, 3 DR50+ placements, dashboard. $999 once, delivered in 21 business days.

See the package