Skip to content

Commit f64f775

Browse files
Merge pull request #10310 from MicrosoftDocs/main638566887463002279sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents c8e1e03 + e39f6cc commit f64f775

34 files changed

+32
-44
lines changed

docs/code-quality/ca0001.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ author: mikejo5000
1111
ms.author: mikejo
1212
manager: mijacobs
1313
ms.subservice: code-analysis
14-
1514
---
1615

1716
# CA0001

docs/code-quality/ca0051.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ author: mikejo5000
1111
ms.author: mikejo
1212
manager: mijacobs
1313
ms.subservice: code-analysis
14-
1514
---
1615

1716
# CA0051

docs/code-quality/ca0052.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ author: mikejo5000
1111
ms.author: mikejo
1212
manager: mijacobs
1313
ms.subservice: code-analysis
14-
1514
---
1615

1716
# CA0052

docs/code-quality/ca0053.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ author: mikejo5000
1111
ms.author: mikejo
1212
manager: mijacobs
1313
ms.subservice: code-analysis
14-
1514
---
1615

1716
# CA0053

docs/code-quality/ca0054.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ author: mikejo5000
1111
ms.author: mikejo
1212
manager: mijacobs
1313
ms.subservice: code-analysis
14-
1514
---
1615

1716
# CA0054

docs/code-quality/ca0055.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ author: mikejo5000
1111
ms.author: mikejo
1212
manager: mijacobs
1313
ms.subservice: code-analysis
14-
1514
---
1615

1716
# CA0055

docs/code-quality/ca0056.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ author: mikejo5000
1111
ms.author: mikejo
1212
manager: mijacobs
1313
ms.subservice: code-analysis
14-
1514
---
1615

1716
# CA0056

docs/code-quality/ca0057.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ author: mikejo5000
1111
ms.author: mikejo
1212
manager: mijacobs
1313
ms.subservice: code-analysis
14-
1514
---
1615

1716
# CA0057

docs/code-quality/ca0058.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ author: mikejo5000
1111
ms.author: mikejo
1212
manager: mijacobs
1313
ms.subservice: code-analysis
14-
1514
---
1615

1716
# CA0058

docs/code-quality/ca0059.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ author: mikejo5000
1111
ms.author: mikejo
1212
manager: mijacobs
1313
ms.subservice: code-analysis
14-
1514
---
1615

1716
# CA0059

docs/code-quality/ca0060.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ author: mikejo5000
1111
ms.author: mikejo
1212
manager: mijacobs
1313
ms.subservice: code-analysis
14-
1514
---
1615

1716
# CA0060

docs/code-quality/ca0061.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ author: mikejo5000
99
ms.author: mikejo
1010
manager: mijacobs
1111
ms.subservice: code-analysis
12-
1312
---
1413

1514
# CA0061

docs/code-quality/ca0062.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ author: mikejo5000
99
ms.author: mikejo
1010
manager: mijacobs
1111
ms.subservice: code-analysis
12-
1312
---
1413

1514
# CA0062

docs/code-quality/ca0063.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ author: mikejo5000
99
ms.author: mikejo
1010
manager: mijacobs
1111
ms.subservice: code-analysis
12-
1312
---
1413

1514
# CA0063

docs/code-quality/ca0064.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ author: mikejo5000
99
ms.author: mikejo
1010
manager: mijacobs
1111
ms.subservice: code-analysis
12-
1312
---
1413

1514
# CA0064

docs/code-quality/ca0065.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ author: mikejo5000
77
ms.author: mikejo
88
manager: mijacobs
99
ms.subservice: code-analysis
10-
1110
---
1211

1312
# CA0065

docs/code-quality/ca0066.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ author: mikejo5000
77
ms.author: mikejo
88
manager: mijacobs
99
ms.subservice: code-analysis
10-
1110
---
1211

1312
# CA0066

docs/code-quality/ca0067.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ author: mikejo5000
99
ms.author: mikejo
1010
manager: mijacobs
1111
ms.subservice: code-analysis
12-
1312
---
1413

1514
# CA0067

docs/code-quality/ca0068.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ author: mikejo5000
99
ms.author: mikejo
1010
manager: mijacobs
1111
ms.subservice: code-analysis
12-
1312
---
1413

1514
# CA0068

docs/code-quality/ca0069.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ author: mikejo5000
77
ms.author: mikejo
88
manager: mijacobs
99
ms.subservice: code-analysis
10-
1110
---
1211

1312
# CA0069

docs/code-quality/ca0070.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ author: mikejo5000
99
ms.author: mikejo
1010
manager: mijacobs
1111
ms.subservice: code-analysis
12-
1312
---
1413

1514
# CA0070

docs/code-quality/ca0501.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ author: mikejo5000
1111
ms.author: mikejo
1212
manager: mijacobs
1313
ms.subservice: code-analysis
14-
1514
---
1615

1716
# CA0501

docs/code-quality/ca0502.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ author: mikejo5000
1111
ms.author: mikejo
1212
manager: mijacobs
1313
ms.subservice: code-analysis
14-
1514
---
1615

1716
# CA0502

docs/debugger/debug-with-copilot.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ author: mikejo5000
1515
ms.author: mikejo
1616
manager: mijacobs
1717
ms.subservice: ai-tools
18+
ms.collection: ce-skilling-ai-copilot
1819
monikerRange: '>= vs-2022'
1920
---
2021

docs/designers/walkthrough-windows-forms-designer.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Windows Forms Designer tutorial
33
description: 'Use Windows Forms Designer to build applications and arrange controls, set margins and padding, adjust layout, size, and display, and set property values.'
4-
ms.date: 07/10/2023
4+
ms.date: 07/15/2024
55
ms.topic: tutorial
66
helpviewer_keywords:
77
- Windows Forms Designer, get started
@@ -46,14 +46,14 @@ The Windows Forms Designer shows the designer surface for the DemoCalculator con
4646

4747
The DemoCalculator control contains several Windows Forms controls. In this procedure, you'll arrange the controls by using the Windows Forms Designer.
4848

49-
1. In the Windows Forms Designer, change the DemoCalculator control to a larger size by selecting the sizing handle in the lower-right corner and dragging it down and to the right. In the lower-right corner of Visual Studio, find the size and location information for controls. Set the size of the control to width 500 and height 400 by watching the size information as you resize the control.
49+
1. In the Windows Forms Designer, change the DemoCalculator control to a larger size by selecting the sizing handle in the lower-right corner and dragging it to resize. In the lower-right corner of Visual Studio, find the size and location information for controls. Set the size of the control to width 1000 and height 800 by watching the size information as you resize the control. You can also scroll down to the bottom of the **Properties** window, which is usually docked the lower right corner, and manually enter the values in the **Size** property.
5050

5151
1. In **Toolbox**, select the **Containers** node to open it. Select the **SplitContainer** control and drag it onto the designer surface.
5252

5353
The `SplitContainer` is placed on the DemoCalculator control's designer surface.
5454

5555
> [!TIP]
56-
> The `SplitContainer` control sizes itself to the fit the size of the DemoCalculator control. Look at the **Properties** window to see the property settings for the `SplitContainer` control. Find the <xref:System.Windows.Forms.SplitContainer.Dock%2A> property. Its value is [DockStyle.Fill](xref:System.Windows.Forms.DockStyle.Fill), which means the `SplitContainer` control will always size itself to the boundaries of the DemoCalculator control. Resize the DemoCalculator control to verify this behavior.
56+
> The `SplitContainer` control sizes itself to fit the size of the DemoCalculator control. Look at the **Properties** window to see the property settings for the `SplitContainer` control. Find the <xref:System.Windows.Forms.SplitContainer.Dock%2A> property. Its value is [DockStyle.Fill](xref:System.Windows.Forms.DockStyle.Fill), which means the `SplitContainer` control will always size itself to the boundaries of the DemoCalculator control. Resize the DemoCalculator control to verify this behavior.
5757
5858
1. In the **Properties** window, change the value of the <xref:System.Windows.Forms.SplitContainer.Dock%2A> property to `None`.
5959

@@ -152,11 +152,11 @@ Now that the layout of the control is set up, you can populate the DemoCalculato
152152

153153
When your control or form is populated with several controls, you may find it easier to navigate your layout with the Document Outline window.
154154

155-
1. On the menu bar, choose **View** > **Other Windows** > **Document Outline**.
155+
1. On the menu bar, choose **View** > **Other Windows** > **Document Outline**. Or, on the keyboard, press **Ctrl**+**Alt**+**T**.
156156

157157
The Document Outline window shows a tree view of the DemoCalculator control and its constituent controls. Container controls like the `SplitContainer` show their child controls as subnodes in the tree. You can also rename controls in place by using the Document Outline window.
158158

159-
1. In the **Document Outline** window, right-click **button1**, and then select **Rename**. Change its name to sevenButton.
159+
1. In the **Document Outline** window, right-click **button1**, and then select **Rename** (keyboard: **F2**). Change its name to sevenButton.
160160

161161
1. Using the **Document Outline** window, rename the `Button` controls from the designer-generated name to the production name according to the following list:
162162

@@ -250,6 +250,8 @@ The buttons on the DemoCalculator control have event handlers that can be used t
250250

251251
The Code Editor opens to the event handlers generated by the designer.
252252

253+
Since this tutorial is focused on the designer, we omit the implementation details of the calculator functionality.
254+
253255
## Test the control
254256

255257
Because the DemoCalculator control inherits from the <xref:System.Windows.Forms.UserControl> class, you can test its behavior with the **UserControl Test Container**. For more information, see [How to: Test the run-time behavior of a UserControl](/dotnet/framework/winforms/controls/how-to-test-the-run-time-behavior-of-a-usercontrol).
@@ -268,15 +270,15 @@ The DemoCalculator control can be used in other composite controls or on a form.
268270

269271
The first step is to create the application project. You'll use this project to build the application that shows your custom control.
270272

271-
1. Create a new **Windows Forms Application** project and name it **DemoCalculatorTest**.
273+
1. Add a new **Windows Forms App (.NET Framework)** project to the existing solution and name it **DemoCalculatorTest**.
272274

273-
1. In **Solution Explorer**, right-click the **DemoCalculatorTest** project, and then select **Add** > **Project Reference** to open the **Reference Manager** dialog box.
275+
1. In **Solution Explorer**, right-click the **DemoCalculatorTest** project, and then select **Add** > **Reference** to open the **Reference Manager** dialog box.
274276

275277
1. Go to the **Projects** tab, and then select the DemoCalculatorLib project to add the reference to the test project.
276278

277279
1. In **Solution Explorer**, right-click **DemoCalculatorTest**, and then select **Set as StartUp Project**.
278280

279-
1. In the Windows Forms Designer, increase the size of the form to about **700 x 500**.
281+
1. In the Windows Forms Designer, increase the size of the form to about **1400 x 1000**.
280282

281283
### Use the control in the form's layout
282284

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ author: anandmeg
77
ms.author: meghaanand
88
ms.manager: mijacobs
99
ms.subservice: ai-tools
10+
ms.collection: ce-skilling-ai-copilot
1011
monikerRange: vs-2022
1112
---
1213
# AI-assisted development in Visual Studio

docs/ide/copilot-chat-context.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ author: anandmeg
77
ms.author: meghaanand
88
ms.manager: mijacobs
99
ms.subservice: ai-tools
10+
ms.collection: ce-skilling-ai-copilot
1011
helpviewer_keywords:
1112
- copilot chat context
1213
- context, copilot chat

docs/ide/deploy-copilot-to-enterprise.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,34 @@
11
---
22
title: Deploy GitHub Copilot within your enterprise
33
description: Configure and deploy GitHub Copilot programmatically to existing Visual Studio instances on a client's machine within an enterprise.
4-
ms.date: 1/11/2024
4+
ms.date: 7/15/2024
55
ms.topic: conceptual
66
author: anandmeg
77
ms.author: meghaanand
88
ms.manager: mijacobs
99
ms.subservice: ai-tools
10+
ms.collection: ce-skilling-ai-copilot
1011
monikerRange: vs-2022
1112
---
1213
# Deploy GitHub Copilot to existing Visual Studio instances
1314

14-
For administrators of Visual Studio 2022 version 17.8 or above, you can deploy GitHub Copilot onto client workstations programmatically with an installation script, just like you deploy other [Visual Studio components](../install/workload-and-component-ids.md).
15+
Administrators of Visual Studio 2022 version 17.8 or above can deploy GitHub Copilot onto client workstations programmatically with an installation script, just like you deploy other [Visual Studio components](../install/workload-and-component-ids.md).
1516

16-
Note that this method does NOT install the GitHub Copilot chat extension.
17+
This method does NOT install the GitHub Copilot chat extension.
1718

18-
## Pre-requisites
19+
## Prerequisites
1920

2021
To get started, you need:
2122

22-
- This section assumes that Visual Studio 2022 [version 17.8 or later](/visualstudio/releases/2022/release-history) is already installed on the client machines. If it's not, refer to the guidance in the [Visual Studio Administrators Guide](https://aka.ms/vs/admin/guide) for how to deploy Visual Studio throughout your organization.
23+
- This section assumes that Visual Studio 2022 [version 17.8 or later](/visualstudio/releases/2022/release-history) is already installed on the client machines. If it's not, refer to the guidance in the [Visual Studio Administrators Guide](https://aka.ms/vs/admin/guide) for how to deploy Visual Studio throughout your organization.
2324
- A valid and active GitHub Copilot for Business subscription is required for the end user whose Visual Studio 2022 instance you're installing the GitHub Copilot component for.
2425
[See: Managing access for GitHub Copilot for Business in your organization.](https://docs.github.com/en/copilot/managing-copilot-business/managing-access-for-copilot-business-in-your-organization)
2526

2627
Options for deploying GitHub Copilot onto client machines depend on how Visual Studio is currently installed on these machines.
2728

2829
## Modify an existing installation to add the GitHub Copilot component
2930

30-
Most of the time, users would've either acquired Visual Studio themselves, or run a development environment setup script on their machine.
31+
Most of the time, users would either acquire Visual Studio themselves, or run a development environment setup script on their machine.
3132
To add the GitHub Copilot component to an existing installation of Visual Studio, use the installer's `modify` command from either a command line or PowerShell window.
3233

3334
### Sample install instructions
@@ -46,14 +47,14 @@ foreach ($i in $installDir) {
4647

4748
If you're using a layout to deploy Visual Studio across your organization, you first need to add the `Component.GitHub.Copilot` component to the layout. Then, assuming the client is configured to [receive updates from the layout](../install/update-visual-studio.md#configure-source-location-of-updates), you can run a `modify` command as in the previous example to add it to the client.
4849

49-
Refer to the [layout documentation](../install/create-a-network-installation-of-visual-studio.md#modify-the-contents-of-a-layout) for further information.
50+
For more information, see the [layout documentation](../install/create-a-network-installation-of-visual-studio.md#modify-the-contents-of-a-layout).
5051

5152
## End user action required
5253

53-
Note that after installing the GitHub Copilot component to the client machines, the end user will need to take the following steps to enable GitHub Copilot:
54+
After installing the GitHub Copilot component to the client machines, the end user will need to take the following steps to enable GitHub Copilot:
5455

5556
1. Log into the [GitHub web interface](https://github.com/settings/copilot) with the GitHub account associated with their Copilot subscription.
56-
1. Launch Visual Studio 2022 and [add their GitHub account to the Visual Studio keychain to activate access](work-with-github-accounts.md).
57+
1. Activate access by launching Visual Studio 2022 and [adding their GitHub account to the Visual Studio keychain](work-with-github-accounts.md).
5758

5859
## Related content
5960

docs/ide/using-the-task-list.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Use the Task List to track and use code comments
33
description: Explore the Task List in Visual Studio and discover how the tool can help you track and use code comments more efficiently.
4-
ms.date: 06/22/2023
4+
ms.date: 07/10/2024
55
ms.topic: how-to
66
f1_keywords:
77
- TaskListWindow
@@ -17,7 +17,7 @@ ms.subservice: general-ide
1717
---
1818
# Use the Task List
1919

20-
Use **Task List** to track code comments that use tokens such as `TODO` and `HACK`, or custom tokens, and to manage shortcuts that take you directly to a predefined location in code. Select an item in the list to go to its location in the source code.
20+
Use **Task List** to track code comments that use tokens such as `TODO` and `HACK`, or custom tokens, and to manage shortcuts that take you directly to a predefined location in code. Double-click an item in the list (or select an item and press **ENTER**) to go to its location in the source code.
2121

2222
> [!NOTE]
2323
> This topic applies to Visual Studio on Windows. For Visual Studio for Mac, see [Task comments (Visual Studio for Mac)](/visualstudio/mac/task-comments).
@@ -30,9 +30,9 @@ To open **Task List**, select **View** > **Task List**, or from the keyboard pre
3030

3131
![Screenshot of the Task List window.](media/task-list-window.png)
3232

33-
To change the sort order of the list, select the header of any column. To further refine your search results, press **Shift** and select a second column header. Alternatively, on the shortcut menu, choose **Sort by**, and then choose a header. To further refine your search results, press **Shift** and choose a second header.
33+
To change the sort order of the list, select the header of any column. To further refine your search results, press **Shift** and select a second column header. To further refine your search results, press **Shift** and choose a second header.
3434

35-
To show or hide columns, on the shortcut menu, choose **Show Columns**. Select the columns that you want to show or hide.
35+
To show or hide columns, on the shortcut (right-click) menu, choose **Show Columns**. Select the columns that you want to show or hide.
3636

3737
To change the order of the columns, drag any column header to the location that you want.
3838

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ author: anandmeg
77
ms.author: meghaanand
88
ms.manager: mijacobs
99
ms.subservice: ai-tools
10+
ms.collection: ce-skilling-ai-copilot
1011
monikerRange: vs-2022
1112
---
1213

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ author: anandmeg
77
ms.author: meghaanand
88
ms.manager: mijacobs
99
ms.subservice: ai-tools
10+
ms.collection: ce-skilling-ai-copilot
1011
monikerRange: '>= vs-2022'
1112
---
1213
# What is the GitHub Copilot Chat extension for Visual Studio?

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ author: anandmeg
77
ms.author: meghaanand
88
ms.manager: mijacobs
99
ms.subservice: ai-tools
10+
ms.collection: ce-skilling-ai-copilot
1011
monikerRange: '>= vs-2022'
1112
content_well_notification:
1213
- AI-contribution

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ author: anandmeg
77
ms.author: meghaanand
88
ms.manager: mijacobs
99
ms.subservice: ai-tools
10+
ms.collection: ce-skilling-ai-copilot
1011
monikerRange: '>= vs-2022'
1112
---
1213
# Install GitHub Copilot in Visual Studio

0 commit comments

Comments
 (0)