Skip to content

Commit 26b28a4

Browse files
Merge pull request #11178 from MicrosoftDocs/main639028191394472824sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 27837d9 + 99e1b9d commit 26b28a4

File tree

6 files changed

+49
-12
lines changed

6 files changed

+49
-12
lines changed
20.5 KB
Loading
140 KB
Loading
16.7 KB
Loading
20.5 KB
Loading

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

Lines changed: 44 additions & 10 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: 11/17/2025
4+
ms.date: 12/17/2025
55
ms.update-cycle: 180-days
66
ms.topic: overview
77
author: anandmeg
@@ -59,15 +59,31 @@ As you type code or comments in the editor, GitHub Copilot provides context-awar
5959
int subtractNumbers(
6060
```
6161

62-
1. Hover over the suggestion to see the GitHub Copilot command palette.
62+
:::moniker range="visualstudio"
63+
64+
4. Press enter to see the GitHub Copilot command palette.
65+
66+
To accept the suggestion, select the <kbd>Tab</kbd> key. To reject the suggestion, select the <kbd>Esc</kbd> key or continue typing.
67+
68+
:::image type="content" source="media/visualstudio/visual-studio-github-copilot-extension/copilot-accept-code-suggestions.png" alt-text="Screenshot that shows suggestions to accept or modify a GitHub Copilot code suggestion in Visual Studio.":::
69+
70+
If the command palette doesn't appear, you might have reached the default limit for its display. To change this limit, go to **Tools** > **Options** > **IntelliCode** > **Advanced**, and adjust the value for **Minimum commits to suppress hint text**.
71+
72+
:::moniker-end
73+
74+
:::moniker range="vs-2022"
75+
76+
4. Hover over the suggestion to see the GitHub Copilot command palette.
6377

6478
To accept the suggestion, select the <kbd>Tab</kbd> key. To reject the suggestion, continue typing.
6579

6680
:::image type="content" source="media/vs-2022/visual-studio-github-copilot-extension/copilot-accept-code-suggestions.png" alt-text="Screenshot that shows suggestions to accept or modify a GitHub Copilot code suggestion in Visual Studio.":::
6781

6882
If the command palette doesn't appear, you might have reached the default limit for its display. To change this limit, go to **Tools** > **Options** > **IntelliCode** > **Advanced**, and adjust the value for **Minimum commits to suppress hint text**.
6983

70-
1. Add the following code to see completions from GitHub Copilot:
84+
:::moniker-end
85+
86+
5. Add the following code to see completions from GitHub Copilot:
7187

7288
```csharp
7389
int a = 5;
@@ -111,33 +127,51 @@ With Visual Studio 2022 version 17.11, [content exclusion is available for GitHu
111127

112128
With Visual Studio 2022 version 17.13, code referencing is available for GitHub Copilot Completions. If you or your organization [enabled suggestions that match public code](https://docs.github.com/en/copilot/managing-copilot/managing-copilot-as-an-individual-subscriber/managing-copilot-policies-as-an-individual-subscriber#enabling-or-disabling-suggestions-matching-public-code), Copilot notifies you when you accept a completion that matches code from a public GitHub repository.
113129
114-
:::image type="content" source="media/vs-2022/visual-studio-github-copilot-extension/github-copilot-completions-code-referencing.png" alt-text="Screenshot that shows GitHub Copilot Completions code referencing in Visual Studio." lightbox="media/vs-2022/visual-studio-github-copilot-extension/github-copilot-completions-code-referencing.png"::::::
130+
:::moniker range="visualstudio"
131+
132+
:::image type="content" source="media/visualstudio/visual-studio-github-copilot-extension/github-copilot-completions-code-referencing.png" alt-text="Screenshot that shows GitHub Copilot Completions code referencing in Visual Studio." lightbox="media/visualstudio/visual-studio-github-copilot-extension/github-copilot-completions-code-referencing.png":::
133+
134+
To see detailed information in GitHub Copilot logs in the **Output** window, select **View code matches**. The log entry includes a link to a GitHub.com page where you can view details on license type. It also includes references to similar code in public GitHub repositories.
135+
136+
:::image type="content" source="media/visualstudio/visual-studio-github-copilot-extension/code-referencing-copilot-logs.png" alt-text="Screenshot that shows the log entry for a code reference in an output window." lightbox="media/visualstudio/visual-studio-github-copilot-extension/code-referencing-copilot-logs.png":::
137+
138+
:::moniker-end
139+
140+
:::moniker range="vs-2022"
141+
142+
:::image type="content" source="media/vs-2022/visual-studio-github-copilot-extension/github-copilot-completions-code-referencing.png" alt-text="Screenshot that shows GitHub Copilot Completions code referencing in Visual Studio." lightbox="media/vs-2022/visual-studio-github-copilot-extension/github-copilot-completions-code-referencing.png":::
115143

116144
To see detailed information in GitHub Copilot logs in the **Output** window, select **View code matches**. The log entry includes a link to a GitHub.com page where you can view details on license type. It also includes references to similar code in public GitHub repositories.
117145

118146
:::image type="content" source="media/vs-2022/visual-studio-github-copilot-extension/code-referencing-copilot-logs.png" alt-text="Screenshot that shows the log entry for a code reference in an output window." lightbox="media/vs-2022/visual-studio-github-copilot-extension/code-referencing-copilot-logs.png":::
119147

148+
:::moniker-end
149+
120150
Code referencing enables you to make an informed decision on using code attribution or removing the code from your project.
121151

122152
## Completions model
123153

124-
The GPT-4o Copilot model for code completions is available for GitHub Copilot in Visual Studio version 17.14 Preview 2 or later.
154+
:::moniker range="visualstudio"
125155

126-
To try the new model for better suggestions and performance:
156+
The GPT-4.1 Copilot model for code completions is available for GitHub Copilot in Visual Studio.
127157

128-
:::moniker range="visualstudio"
158+
To try the new model for better suggestions and performance:
129159

130160
1. In the **Tools** > **Options** pane, expand the **All Settings** > **Text Editor** > **Code Completions** > **General** section.
131161

132-
1. Set the **Copilot Completions Model** option to **GPT-4o Copilot**.
162+
1. Set the **Copilot Completions Model** option to **GPT-4.1 Copilot**.
133163

134-
If the GPT-4o model isn't listed, try restarting Visual Studio to retrieve the latest model list.
164+
If the GPT-4.1 model isn't listed, try restarting Visual Studio to retrieve the latest model list.
135165

136-
:::image type="content" source="media/visualstudio/completions-model-picker.png" border="false" alt-text="Screenshot that shows how to select the Copilot completions model.":::
166+
:::image type="content" source="media/visualstudio/visual-studio-github-copilot-extension/completions-model-picker.png" border="false" alt-text="Screenshot that shows how to select the Copilot completions model.":::
137167

138168
:::moniker-end
139169
:::moniker range="<=vs-2022"
140170

171+
The GPT-4.1 Copilot model for code completions is available for GitHub Copilot in Visual Studio version 17.14 Preview 2 or later.
172+
173+
To try the new model for better suggestions and performance:
174+
141175
1. In the **Tools** > **Options** dialog, expand the **GitHub** > **Copilot** section.
142176

143177
1. In the **Copilot Completions** group, set the **Copilot Completions Model** option to **GPT-4o Copilot**.

docs/install/out-of-support-components.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: List of all out-of-support components in Visual Studio 2022, Visual
55
author: anandmeg
66
ms.author: meghaanand
77
manager: mijacobs
8-
ms.date: 05/25/2023
8+
ms.date: 12/18/2025
99
ms.custom: vs-acquisition
1010
ms.topic: reference
1111
helpviewer_keywords:
@@ -23,6 +23,8 @@ List of all out-of-support components in Visual Studio.
2323
## Out-of-support components in Visual Studio 2022
2424

2525
- .NET 5.0 Runtime
26+
- .NET 6.0 Runtime
27+
- .NET 7.0 Runtime
2628
- .NET Core 2.1 Runtime
2729
- .NET Core 3.1 Runtime
2830
- Development Tools for .NET Core 2.1
@@ -39,11 +41,12 @@ List of all out-of-support components in Visual Studio.
3941
- .NET SDK
4042
- Development Tools plus .NET Core 2.1
4143
- Web Development Tools plus .NET Core 2.1
42-
- C++ Windows XP Support for VS 2017 (v141) tools
4344
- Python 2 32 bit (2.7.18)
4445
- Python 2 64 bit (2.7.18)
4546
- Python 3 32 bit (3.7.8)
4647
- Python 3 64 bit (3.7.8)
48+
- Python 3 32 bit (3.9.13)
49+
- Python 3 64 bit (3.9.13)
4750
- IronPython
4851
- Python miniconda
4952

0 commit comments

Comments
 (0)