Skip to content

Commit 654549f

Browse files
Merge pull request #11026 from MicrosoftDocs/main638920442118934976sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 4afb22d + cbccf75 commit 654549f

File tree

5 files changed

+76
-15
lines changed

5 files changed

+76
-15
lines changed

docs/ide/ai-assisted-development-visual-studio.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ The following table compares the capabilities of GitHub Copilot (and GitHub Copi
9696
9797
| **AI-assistance feature** | **GitHub Copilot** | **IntelliCode** |
9898
|---------------------------|:--------------------:|:-----------------:|
99-
| Available as |[Built-in by default in all workloads](visual-studio-github-copilot-install-and-states.md#install-using-the-visual-studio-installer) & available through the Visual Studio Installer in Visual Studio version 17.10 and later <br/>| Built-in by default in most [workloads](../install/modify-visual-studio.md#change-workloads-or-individual-components) & available through the Visual Studio Installer |
99+
| Available as |[Built-in by default in all workloads](visual-studio-github-copilot-install-and-states.md#install-copilot-using-the-visual-studio-installer) & available through the Visual Studio Installer in Visual Studio version 17.10 and later <br/>| Built-in by default in most [workloads](../install/modify-visual-studio.md#change-workloads-or-individual-components) & available through the Visual Studio Installer |
100100
| Subscription-based | **Yes** <br/>[Learn more](https://docs.github.com/en/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot)| No |
101101
| User interface | Inline <br/>Chat window | Inline |
102102
| Context-aware AI-assisted [IntelliSense](using-intellisense.md) | **Yes** <br/>[Learn more](visual-studio-github-copilot-extension.md#exploring-github-copilot) | **Yes** <br/>[Learn more](#intellicode-in-visual-studio) |
36.6 KB
Loading
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
title: Get Started with GitHub Copilot
3+
description: Learn how to get started with GitHub Copilot in Visual Studio.
4+
ms.date: 8/29/2025
5+
ms.update-cycle: 180-days
6+
ms.topic: get-started
7+
author: anandmeg
8+
ms.author: meghaanand
9+
ms.manager: mijacobs
10+
ms.subservice: ai-tools
11+
ms.collection: ce-skilling-ai-copilot
12+
monikerRange: '>= vs-2022'
13+
ms.custom: copilot-learning-hub
14+
---
15+
16+
# Get started with GitHub Copilot
17+
18+
Welcome to GitHub Copilot, your AI companion in Visual Studio!
19+
20+
Copilot helps you code faster and with greater accuracy by suggesting entire lines or blocks of code, answering questions, and assisting with routine tasks such as writing unit tests, debugging and profiling — all directly in your Visual Studio environment.
21+
22+
In this article you learn how to use Copilot and make the most of its features in Visual Studio.
23+
24+
## Launch Copilot
25+
26+
1. Launch Visual Studio (version 17.8 or later). </br>
27+
*It's recommended to update to the latest version of Visual Studio to get the most out of Copilot.*
28+
1. Create a new project, open an existing project, or continue without code to launch the IDE.
29+
1. Select the **GitHub Copilot** badge in the upper right corner of Visual Studio, and select **Open Chat Window to Sign In**
30+
31+
:::image type="content" source="media/vs-2022/visual-studio-github-copilot-install-and-states/copilot-state-inactive-sign-in.png" alt-text="Screenshot shwoing the GitHub Copilot badge in Visual Studio.":::
32+
33+
If Copilot isn't installed, select **Install Copilot** from the dropdown and follow the installer prompts. For more information, see [Manage Copilot installation and state](visual-studio-github-copilot-install-and-states.md).
34+
35+
1. In the Chat window, choose to sign in with your existing GitHub account or [**Sign up for Copilot Free**](copilot-free-plan.md). Follow the prompts in your browser to complete the sign-in or sign-up process. After you finish, return to Visual Studio to continue using Copilot.
36+
37+
Copilot is now ready to use in Visual Studio!
38+
39+
## Start using Copilot
40+
41+
Once you're signed in, you can use Copilot in the Chat window and throughout the IDE.
42+
43+
- **Use [Agent mode](copilot-agent-mode.md) and [MCP](mcp-servers.md)**: In the Chat window, select **Ask** and switch to **Agent** to enable agent mode. Use the tools icon to access MCP, configure servers, and choose which tools Copilot can use. For example, send "Write unit tests for the methods in this file" to get Copilot assistance with generating targeted code.
44+
45+
- **Use [Completions](visual-studio-github-copilot-extension.md) and [Next Edit Suggestions](copilot-next-edit-suggestions.md)**: As you code, Copilot provides suggestions directly in the editor. Copilot will suggest both new code(shown as gray text) and edits to existing code.
46+
47+
- **Use Copilot actions across Visual Studio**: Find Copilot-powered actions and suggestions in the editor context menu, Error List, Feature Search, and other areas of the IDE.
48+
49+
## Tailor Copilot Chat to your workflow
50+
51+
Customize Copilot for your project and your development workflow.
52+
53+
- **Manage [context with references](copilot-chat-context-references.md)**: Use the **+** button to attach additional context, such as files, images, or ask Copilot to reference your entire solution.
54+
55+
- **Access different [models](copilot-usage-and-models.md#understand-model-selection)**: Use the model picker in the prompt window to select AI models, or [bring your own model](copilot-select-add-models.md#bring-your-own-model-byom) to Copilot! Explore different models for different scenarios, whether it's answering quick questions, writing documentation, or generating multi-file code edits.
56+
57+
- **Add custom instructions**: Add reusable [custom instructions](copilot-chat-context.md#enable-custom-instructions) in `.github/copilot-instructions.md` and [prompt files](copilot-chat-context.md#use-prompt-files) in `.github/prompts` to customize Copilot’s responses for your coding style or project needs.
58+
59+
## Next steps
60+
61+
To review Copilot features at any time, select **GitHub Copilot Walkthrough** from the **GitHub Copilot** badge in the upper right corner of Visual Studio.
62+
63+
Try building a complete app with the [Hands-on lab: GitHub Copilot in Visual Studio 2022](https://github.com/dotnet-presentations/build-2025-lab300).

docs/ide/visual-studio-github-copilot-install-and-states.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: Install and manage GitHub Copilot in Visual Studio
3-
description: Learn how to install GitHub Copilot to get GitHub Copilot Completions and Chat in Visual Studio. Use the Copilot badge in the IDE to access options to manage or troubleshoot your Copilot state.
4-
ms.date: 3/28/2025
2+
title: Manage GitHub Copilot installation and state
3+
description: Learn how to install and manage Copilot in Visual Studio. Use the Copilot badge in the IDE to access options to manage or troubleshoot your Copilot state.
4+
ms.date: 8/29/2025
55
ms.update-cycle: 180-days
66
ms.topic: install-set-up-deploy
77
author: anandmeg
@@ -10,20 +10,18 @@ ms.manager: mijacobs
1010
ms.subservice: ai-tools
1111
ms.collection: ce-skilling-ai-copilot
1212
monikerRange: '>= vs-2022'
13-
ms.custom: [copilot-learning-hub]
13+
ms.custom: copilot-learning-hub
1414
---
15-
# Install GitHub Copilot in Visual Studio
15+
# Manage GitHub Copilot installation and state
1616

17-
**GitHub Copilot Completions** and **GitHub Copilot Chat** in Visual Studio enable enhanced [AI-assisted development in Visual Studio](ai-assisted-development-visual-studio.md), helping you be more productive and efficient when writing code.
18-
19-
In this article, you learn how to install and manage GitHub Copilot in [Visual Studio 2022 version 17.10 or later](/visualstudio/releases/2022/release-notes).
17+
In this article, you learn how to manage your GitHub Copilot installation and state in [Visual Studio 2022 version 17.10 or later](/visualstudio/releases/2022/release-notes).
2018

21-
## Install using the Visual Studio Installer
19+
## Install Copilot using the Visual Studio Installer
2220

2321
1. Launch the Visual Studio Installer.
2422
1. Select the installation of Visual Studio you want to modify, and then select **Modify**.
2523
1. Select any workload, for example, **.NET desktop development**.
26-
1. Select **GitHub Copilot** from the list of **Optional** components, and then select **Modify** to install the extension.
24+
1. In the list of **Optional** components, make sure **GitHub Copilot** is selected, then choose **Modify** to install the extension.
2725

2826
:::image type="content" source="media/vs-2022/visual-studio-github-copilot-extension/github-copilot-installer-component.png" alt-text="Screenshot that shows using the Visual Studio Installer to install the GitHub Copilot component." lightbox="media/vs-2022/visual-studio-github-copilot-extension/github-copilot-installer-component.png":::
2927

@@ -65,7 +63,7 @@ If Copilot is installed but in an inactive state, it may be because:
6563

6664
:::image type="content" source="media/vs-2022/visual-studio-github-copilot-install-and-states/copilot-state-inactive-copilot-free.png" alt-text="Screenshot of Copilot badge when user is signed in but Copilot is inactive.":::
6765

68-
- Your **active** GitHub account doesn't have a Copilot subscrition
66+
- Your **active** GitHub account doesn't have a Copilot subscription
6967

7068
If you added multiple GitHub accounts in Visual Studio, ensure the [**active** account](work-with-github-accounts.md#switch-the-active-account) is the one with the active Copilot subscription.
7169

docs/toc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,7 @@
140140
- name: GitHub Copilot
141141
items:
142142
- name: Get started
143-
items:
144-
- name: Install and manage
145-
href: ide/visual-studio-github-copilot-install-and-states.md
143+
href: ide/visual-studio-github-copilot-get-started.md
146144
- name: Editor
147145
items:
148146
- name: Code Completions
@@ -177,6 +175,8 @@
177175
items:
178176
- name: GitHub Copilot Free
179177
href: ide/copilot-free-plan.md
178+
- name: Manage installation and state
179+
href: ide/visual-studio-github-copilot-install-and-states.md
180180
- name: Manage usage and models
181181
href: ide/copilot-usage-and-models.md
182182
- name: Deploy GitHub Copilot to your enterprise

0 commit comments

Comments
 (0)