Skip to content

Commit 381f656

Browse files
Merge pull request #10540 from MicrosoftDocs/main638700986303459848sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 01dcb1f + 315a963 commit 381f656

8 files changed

+116
-24
lines changed

docs/debugger/debug-with-copilot.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ For more information on GitHub Copilot Completions in Visual Studio, see [About
3737
## Prerequisites
3838

3939
To get started, you need:
40-
4140
+ Visual Studio 2022 [version 17.8](/visualstudio/releases/2022/release-history) or later
42-
+ Active [subscription](https://docs.github.com/en/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot) to [GitHub Copilot for Individuals](https://docs.github.com/copilot/overview-of-github-copilot/about-github-copilot-for-individuals) or [GitHub Copilot for Business](https://docs.github.com/copilot/overview-of-github-copilot/about-github-copilot-for-business)
43-
+ [**GitHub Copilot**](../ide/visual-studio-github-copilot-install-and-states.md) in Visual Studio
44-
+ [**GitHub Copilot Chat**](../ide/visual-studio-github-copilot-chat.md#get-github-copilot-chat-for-visual-studio)
41+
+ [Sign in to Visual Studio using a GitHub account](../ide/work-with-github-accounts.md) with [Copilot access](https://docs.github.com/en/copilot/about-github-copilot/what-is-github-copilot#getting-access-to-copilot) <br/>
42+
<sup>**</sup> You can use [GitHub Copilot for Free](../ide/copilot-free-plan.md). Sign up and leverage AI to code faster and more efficiently.
43+
+ [GitHub Copilot](../ide/visual-studio-github-copilot-install-and-states.md) in Visual Studio
44+
+ [GitHub Copilot Chat](../ide/visual-studio-github-copilot-chat.md#get-github-copilot-chat-for-visual-studio) in Visual Studio
4545

4646
> [!NOTE]
4747
> If you experience authentication issues after installing the extension, see [Troubleshooting authentication issues with GitHub Copilot Chat](https://docs.github.com/en/copilot/troubleshooting-github-copilot/troubleshooting-authentication-issues-with-github-copilot-chat).

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: AI-assistance for developers in Visual Studio
33
description: Learn about the AI-assisted development tools in Visual Studio, such as GitHub Copilot Completions and Chat, and IntelliCode, and how they can help you write code more efficiently.
4-
ms.date: 7/29/2024
4+
ms.date: 12/18/2024
55
ms.topic: overview
66
author: anandmeg
77
ms.author: meghaanand
@@ -74,8 +74,7 @@ GitHub Copilot and IntelliCode assist you in writing code faster and with greate
7474

7575
:::image type="content" source="media/vs-2022/copilot-chat-visual-studio.gif" alt-text="Animated screenshot that shows the capabilities of the GitHub Copilot Chat extension." lightbox="media/vs-2022/copilot-chat-visual-studio.gif":::
7676

77-
All [GitHub Copilot for Individuals](https://docs.github.com/copilot/overview-of-github-copilot/about-github-copilot-for-individuals) users have access to GitHub Copilot Chat. [Learn more](https://github.blog/2023-09-20-github-copilot-chat-beta-now-available-for-all-individuals/#how-developers-can-access-github-copilot-chat-beta).
78-
All [GitHub Copilot for Business](https://docs.github.com/copilot/overview-of-github-copilot/about-github-copilot-for-business) have access to a limited GitHub Copilot Chat beta. [Learn more](https://github.blog/2023-07-20-github-copilot-chat-beta-now-available-for-every-organization/).
77+
Get started with [GitHub Copilot Chat in Visual Studio](visual-studio-github-copilot-chat.md#use-copilot-chat-in-visual-studio). Note that it requires Visual Studio 2022 17.8 or later.
7978

8079
### IntelliCode in Visual Studio
8180

docs/ide/copilot-chat-context.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: 'Tips & Tricks for GitHub Copilot Chat in Visual Studio'
33
description: Use slash commands, references, and threads to form better questions and get better answers with scoped context in GitHub Copilot Chat.
4-
ms.date: 12/13/2024
4+
ms.date: 12/18/2024
55
ms.topic: how-to
66
author: anandmeg
77
ms.author: meghaanand
@@ -30,10 +30,10 @@ Learn more about [AI-assisted development in Visual Studio](../ide/ai-assisted-d
3030

3131
To get started using GitHub Copilot Chat in Visual Studio, you need:
3232
+ Visual Studio 2022 [version 17.8](/visualstudio/releases/2022/release-history) or later
33-
+ Active [subscription](https://docs.github.com/en/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot) to either [GitHub Copilot for Individuals](https://docs.github.com/copilot/overview-of-github-copilot/about-github-copilot-for-individuals) or [GitHub Copilot for Business](https://docs.github.com/copilot/overview-of-github-copilot/about-github-copilot-for-business)
33+
+ [Sign in to Visual Studio using a GitHub account](work-with-github-accounts.md) with [Copilot access](https://docs.github.com/en/copilot/about-github-copilot/what-is-github-copilot#getting-access-to-copilot) <br/>
34+
<sup>**</sup> You can use [GitHub Copilot for Free](copilot-free-plan.md). Sign up and leverage AI to code faster and more efficiently.
3435
+ [GitHub Copilot](visual-studio-github-copilot-install-and-states.md) in Visual Studio
3536
+ [GitHub Copilot Chat](visual-studio-github-copilot-chat.md#get-github-copilot-chat-for-visual-studio) in Visual Studio
36-
+ [Sign in to Visual Studio with the GitHub account](work-with-github-accounts.md) that has an active GitHub Copilot subscription
3737

3838
Support for GitHub Copilot Chat will be provided by GitHub and can be reached at https://support.github.com.
3939

@@ -149,7 +149,7 @@ Copilot Chat uses the chat history to get context about your request. To give Co
149149
* Use threads to start a new conversation for a new task.
150150
* Delete requests that are no longer relevant or that didn’t give you the desired result.
151151

152-
Keep the chat conversation open and continue to iterate and prompt Copilot to improve the suggested solution. Copilot has both the context of the generated code and your current conversation history. As you keep asking additional questions, Copilot further refines the response according to your requirements. See [Prompt engineering for Github Copilot](https://docs.github.com/en/copilot/using-github-copilot/prompt-engineering-for-github-copilot) for strategies on effective prompting to improve your Copilot results.
152+
Keep the chat conversation open and continue to iterate and prompt Copilot to improve the suggested solution. Copilot has both the context of the generated code and your current conversation history. As you keep asking additional questions, Copilot further refines the response according to your requirements. See [Prompt engineering for GitHub Copilot](https://docs.github.com/en/copilot/using-github-copilot/prompt-engineering-for-github-copilot) for strategies on effective prompting to improve your Copilot results.
153153

154154
## Next steps
155155

docs/ide/copilot-free-plan.md

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
---
2+
title: 'GitHub Copilot Free in Visual Studio'
3+
description: Use GitHub Copilot Completions, Chat, and Edits for free in Visual Studio.
4+
ms.date: 12/18/2024
5+
ms.topic: overview
6+
author: anandmeg
7+
ms.author: meghaanand
8+
ms.manager: mijacobs
9+
ms.subservice: ai-tools
10+
ms.collection: ce-skilling-ai-copilot
11+
monikerRange: '>= vs-2022'
12+
---
13+
# Use GitHub Copilot for free in Visual Studio
14+
15+
GitHub Copilot Free enables you to experience AI-powered coding assistance in your IDE by providing limited access to select Copilot features. With [Copilot Free](https://aka.ms/ghdocscopilotfreepage), you can now access all AI-integrated features in Visual Studio, including [Completions](visual-studio-github-copilot-extension.md), Edits, and [Chat](visual-studio-github-copilot-chat.md).
16+
17+
## Prerequisites
18+
19+
To get started with Copilot Free in Visual Studio, you need:
20+
+ Visual Studio 2022 [version 17.8](/visualstudio/releases/2022/release-history) or later
21+
+ [GitHub Copilot](visual-studio-github-copilot-install-and-states.md) in Visual Studio
22+
23+
## Get started with Copilot Free in Visual Studio
24+
25+
**Set up Copilot Free using Visual Studio**
26+
27+
- In Visual Studio, select the **GitHub Copilot** badge in the upper-right corner of the IDE.
28+
- Select **Get Copilot Subscription** or **Add GitHub account to Visual Studio**.
29+
- If you have an existing GitHub account, sign in when prompted. If not, follow the steps to create a new GitHub account.
30+
- Select **Sign up for Free** to complete the setup. Once finished, you’ll be redirected back to Visual Studio.
31+
32+
**Set up Copilot Free using GitHub.com**
33+
34+
- In the upper-right corner of any GitHub page, select your profile photo, and then select **Your Copilot**.
35+
- Select **Start using Copilot Free** to activate Copilot Free and open a conversation thread.
36+
- Select **Use Copilot in other IDEs**, select **Visual Studio** and follow the instructions provided for Visual Studio.
37+
38+
## Copilot Free usage limits in Visual Studio
39+
40+
Copilot Free provides a limited number of code completions and chat responses for free per month. Changes in Copilot functionality may indicate you've reached your monthly usage limit.
41+
You can check the current status of your Copilot Free account on the [GitHub account settings page](https://github.com/settings/copilot).
42+
43+
When you hit the usage limits, your Copilot experience in Visual Studio may be impacted as follows:
44+
45+
:::row:::
46+
:::column span="1":::
47+
**Usage limit for Completions is reached**
48+
:::column-end:::
49+
:::column span="2":::
50+
User receives IntelliCode suggestions instead of Copilot completions. The Copilot badge stays green, indicating **active** status.
51+
:::column-end:::
52+
:::row-end:::
53+
:::row:::
54+
:::column span="1":::
55+
**Usage limit for Chat is reached**
56+
:::column-end:::
57+
:::column span="2":::
58+
User no longer receives chat responses when sending prompts. The Copilot badge stays green, indicating **active** status.
59+
:::column-end:::
60+
:::row-end:::
61+
:::row:::
62+
:::row-end:::
63+
64+
When you reach usage limits for Copilot Free, you can wait for them to reset at the end of the monthly cycle or upgrade to Copilot Pro to continue using Copilot.
65+
66+
## Frequently asked questions
67+
68+
#### Who can access Copilot Free?
69+
70+
Copilot Free is not available if you have an EMU account, access to a Copilot seat through an organization, an existing Copilot Pro subscription or trial, or free access to Copilot Pro as a student, teacher, or open-source maintainer.
71+
For the latest information, see [About GitHub Copilot Free](https://aka.ms/ghdocscopilotfreepage).
72+
73+
#### Can I turn off completions to save them for later?
74+
75+
Yes. You can enable or disable completions at any time.
76+
To enable or disable, select **Settings** > **Options** from **GitHub Copilot** badge in the upper-right corner of your IDE, and then select or unselect **Enable Copilot Completions**.
77+
78+
#### Can I block suggestions matching public code with Copilot Free?
79+
80+
Yes. You can configure these settings from the [GitHub Copilot Settings](https://github.com/settings/copilot) page.
81+
82+
#### What Copilot features are included in Copilot Free?
83+
84+
Copilot Free includes the following features: Copilot Completions, Edits, and Chat.
85+
Learn more at [About GitHub Copilot Free](https://aka.ms/ghdocscopilotfreepage).
86+
87+
#### What are the Copilot Free limits for Completions and Chat?
88+
89+
See [About GitHub Copilot Free](https://aka.ms/ghdocscopilotfreepage) for information.
90+
91+
## Related content
92+
93+
- [Install and manage GitHub Copilot in Visual Studio](visual-studio-github-copilot-install-and-states.md)
94+
- [GitHub Copilot experience for Visual Studio](visual-studio-github-copilot-extension.md)
95+
- [GitHub Copilot Chat experience for Visual Studio](visual-studio-github-copilot-chat.md)
96+
- [About GitHub Copilot Free](https://aka.ms/ghdocscopilotfreepage)

docs/ide/visual-studio-github-copilot-chat.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: About GitHub Copilot Chat in Visual Studio
33
description: Learn about the fully integrated GitHub Copilot Chat in Visual Studio. Use the chat interface to ask coding-related questions from right within the IDE.
4-
ms.date: 11/12/2024
4+
ms.date: 12/18/2024
55
ms.topic: overview
66
author: anandmeg
77
ms.author: meghaanand
@@ -33,9 +33,8 @@ Copilot Chat provides AI assistance to help you make informed decisions and writ
3333

3434
To get started, you need:
3535
+ Visual Studio 2022 [version 17.8](/visualstudio/releases/2022/release-history) or later
36-
+ Active [subscription](https://docs.github.com/en/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot) to [GitHub Copilot for Individuals](https://docs.github.com/copilot/overview-of-github-copilot/about-github-copilot-for-individuals) or [GitHub Copilot for Business](https://docs.github.com/copilot/overview-of-github-copilot/about-github-copilot-for-business)
37-
+ [**GitHub Copilot**](visual-studio-github-copilot-install-and-states.md) in Visual Studio
38-
+ [Sign in to Visual Studio with the GitHub account](work-with-github-accounts.md) that has an active GitHub Copilot subscription
36+
+ [Sign in to Visual Studio using a GitHub account](work-with-github-accounts.md) with [Copilot access](https://docs.github.com/en/copilot/about-github-copilot/what-is-github-copilot#getting-access-to-copilot) <br/>
37+
<sup>**</sup> You can use [GitHub Copilot for Free](copilot-free-plan.md). Sign up and leverage AI to code faster and more efficiently.
3938

4039
## Get GitHub Copilot Chat for Visual Studio
4140

docs/ide/visual-studio-github-copilot-extension.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: About GitHub Copilot Completions in Visual Studio
33
description: Use GitHub Copilot completions in Visual Studio to use AI assistance to generate information about your code, including suggested edits and new code snippets.
4-
ms.date: 9/05/2024
4+
ms.date: 12/18/2024
55
ms.topic: overview
66
author: anandmeg
77
ms.author: meghaanand
@@ -33,11 +33,8 @@ You can also use GitHub Copilot to convert comments to code, create unit tests,
3333

3434
To get started, you need:
3535
+ Visual Studio 2022 [version 17.8](/visualstudio/releases/2022/release-history) or later
36-
+ Active [subscription](https://docs.github.com/en/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot) to [GitHub Copilot for Individuals](https://docs.github.com/copilot/overview-of-github-copilot/about-github-copilot-for-individuals) or [GitHub Copilot for Business](https://docs.github.com/copilot/overview-of-github-copilot/about-github-copilot-for-business)
37-
+ [Sign in to Visual Studio with the GitHub account](work-with-github-accounts.md) that has an active GitHub Copilot subscription
38-
39-
> [!TIP]
40-
> GitHub Copilot is free for verified students and for maintainers of popular open source projects on GitHub. If you are not a student or maintainer of a popular open source project, you can [try GitHub Copilot for free with a one-time 30-day trial](https://github.com/settings/copilot). After the free trial, you will need a [paid subscription](https://docs.github.com/en/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot) for continued use.
36+
+ [Sign in to Visual Studio using a GitHub account](work-with-github-accounts.md) with [Copilot access](https://docs.github.com/en/copilot/about-github-copilot/what-is-github-copilot#getting-access-to-copilot) <br/>
37+
<sup>**</sup> You can use [GitHub Copilot for Free](copilot-free-plan.md). Sign up and leverage AI to code faster and more efficiently.
4138

4239
GitHub Copilot supports several programming languages and frameworks, including but not limited to: C#, C++, and Python.
4340

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Install and manage GitHub Copilot in Visual Studio
33
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: 9/12/2024
4+
ms.date: 12/18/2024
55
ms.topic: install-set-up-deploy
66
author: anandmeg
77
ms.author: meghaanand
@@ -90,8 +90,7 @@ With Visual Studio 2022 version 17.10, you see a Copilot status icon in the uppe
9090
9191
### Copilot is active
9292

93-
Copilot is in an active state and fully functional if you [signed into Visual Studio with a GitHub account](work-with-github-accounts.md) that has an active [subscription](https://docs.github.com/en/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot) to [GitHub Copilot for Individuals](https://docs.github.com/copilot/overview-of-github-copilot/about-github-copilot-for-individuals) or [GitHub Copilot for Business](https://docs.github.com/copilot/overview-of-github-copilot/about-github-copilot-for-business).
94-
93+
Copilot is in an active state and fully functional if you [signed into Visual Studio using a GitHub account](work-with-github-accounts.md) with [Copilot access](https://docs.github.com/en/copilot/about-github-copilot/what-is-github-copilot#getting-access-to-copilot).
9594
Using the dropdown menu, you can easily open the Chat window, access Copilot settings, and manage Copilot subscription.
9695

9796
:::image type="content" source="media/vs-2022/visual-studio-github-copilot-install-and-states/copilot-state-active.png" alt-text="Screenshot of Copilot badge when Copilot is in active state.":::

docs/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@
157157
href: ide/visual-studio-github-copilot-troubleshoot.md
158158
- name: Admin controls for GitHub Copilot
159159
href: ide/visual-studio-github-copilot-admin.md
160+
- name: GitHub Copilot Free
161+
href: ide/copilot-free-plan.md
160162
- name: IntelliCode
161163
items:
162164
- name: 'What is IntelliCode?'

0 commit comments

Comments
 (0)