Skip to content

Commit d75aa93

Browse files
committed
updated the Before you start instructions
1 parent 67eb913 commit d75aa93

3 files changed

Lines changed: 46 additions & 75 deletions

File tree

Instructions/Labs/LAB_AK_00_configure_lab_environment.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
lab:
3-
title: 'Prepare - Configure your lab environment for GitHub Copilot exercises'
4-
description: 'Review lab requirements and configure the resources before launching exercises that use GitHub Copilot in Visual Studio Code.'
3+
title: 'Configure your lab environment for GitHub Copilot exercises'
4+
description: 'Review lab requirements and configure resources before starting GitHub Copilot exercises.'
55
---
66

77
# Configure your lab environment for GitHub Copilot exercises
88

9-
Your lab environment (either a hosted environment or a local PC) must be configured for C# development using Visual Studio Code and GitHub Copilot. Access to a GitHub account with GitHub Copilot enabled is required.
9+
Your lab environment must be configured for C# development using Visual Studio Code and GitHub Copilot. Access to a GitHub account with GitHub Copilot enabled is required.
1010

1111
Complete the following steps to verify that your lab environment is configured correctly:
1212

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
lab:
3+
title: 'Enable GitHub Copilot in Visual Studio Code'
4+
description: 'Complete the steps required to enable GitHub Copilot in Visual Studio Code.'
5+
---
6+
7+
# Enable GitHub Copilot in Visual Studio Code
8+
9+
GitHub offers three GitHub Copilot plans for individual developers and two plans for organizations and enterprises. The plans are designed to meet the needs of individual developers, teams, and organizations. The GitHub Copilot Free plan is available to individual GitHub users, while the paid plans are available to individuals and organizations that require additional features and capabilities.
10+
11+
Complete the following steps to enable GitHub Copilot in Visual Studio Code:
12+
13+
1. Open Visual Studio Code.
14+
15+
1. Ensure that the latest version of Visual Studio Code is installed.
16+
17+
To check to updates, select **Manage** (the gear icon) in the lower left corner of the Visual Studio Code window, and then select **Check for Updates**.
18+
19+
1. On the Visual Studio Code Status Bar, to activate GitHub Copilot, hover the mouse pointer over the Copilot icon, and then select **Set up Copilot**.
20+
21+
![Screenshot showing the GitHub Copilot Settings button.](./Media/m00-github-copilot-setup.png)
22+
23+
1. On the **Sign in to use Copilot for free** page, select **Sign in**.
24+
25+
The GitHub account sign in page opens in your default web browser.
26+
27+
1. On the GitHub sign in page, enter the GitHub account credentials that you'll be using for this exercise, and then select **Sign in**.
28+
29+
1. Follow the online instructions to authenticate your account and authorize access in Visual Studio Code.
30+
31+
You'll be directed back to Visual Studio Code when the authentication/authorization process is complete.
32+
33+
1. To verify that GitHub Copilot is activated, open Visual Studio Code's **Extensions** view.
34+
35+
You should see the GitHub Copilot and GitHub Copilot Chat extensions listed in the **Installed** section of the Extensions view.
36+
37+
![Screenshot showing GitHub Copilot the Visual Studio Code Extensions view.](./Media/m00-github-copilot-extensions-vscode.png)

Instructions/Labs/LAB_AK_01_examine_settings_interface.md

Lines changed: 6 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -6,85 +6,19 @@ lab:
66

77
# Examine GitHub Copilot settings and user interface features
88

9-
GitHub Copilot integrates naturally into Visual Studio Code, providing a seamless and customizable experience for developers. In this exercise you examine GitHub Copilot settings and explore the GitHub Copilot user interface in Visual Studio Code.
9+
Visual Studio Code provides a seamless and customizable GitHub Copilot experience for developers. In this exercise you examine GitHub Copilot settings and explore the GitHub Copilot user interface in Visual Studio Code.
1010

1111
This exercise should take approximately **25** minutes to complete.
1212

13-
## Before you start
14-
15-
Before you start this exercise, you need to complete the following tasks:
16-
17-
1. Verify that your lab environment includes the required tools and resources.
18-
1. Verify that GitHub Copilot is enabled in Visual Studio Code.
19-
20-
### Verify required tools and resources
21-
22-
This exercise requires a lab environment (either a hosted environment or a local PC) that's configured for C# development using Visual Studio Code and GitHub Copilot. Access to a GitHub account with GitHub Copilot enabled is required.
23-
24-
Complete the following steps to verify that your lab environment is configured correctly:
25-
26-
1. Verify that Git version 2.48 or later is installed in your lab environment.
27-
28-
Run `git --version` in a terminal window to check the version of Git installed.
29-
30-
If you're running Windows and you want to update Git, you can use the following command:
31-
32-
```bash
33-
git update-git-for-windows
34-
```
35-
36-
If necessary, you can download Git using the following URL: <a href="https://git-scm.com/downloads" target="_blank">Download Git</a>.
37-
38-
1. Verify that the latest LTS or STS version of the .NET SDK is installed in your lab environment.
39-
40-
Run `dotnet --version` in a terminal window to check the version of the .NET SDK installed.
41-
42-
If necessary, you can download the .NET SDK using the following URL: <a href="https://dotnet.microsoft.com/download/dotnet" target="_blank">Download .NET SDK</a>.
43-
44-
1. Verify that Visual Studio Code and the C# Dev Kit extension are installed in your lab environment.
45-
46-
If necessary, you can download Visual Studio Code using the following URL: <a href="https://code.visualstudio.com/download" target="_blank">Download Visual Studio Code</a>
13+
> **IMPORTANT**: If you don't have a GitHub account, you can <a href="https://go.microsoft.com/fwlink/?linkid=2320148" target="_blank">sign up</a> for a free individual account and use GitHub Copilot Free to complete this exercise. If you have access to a GitHub Copilot Pro, GitHub Copilot Business, or GitHub Copilot Enterprise subscription from within your lab environment, you can use your existing GitHub Copilot subscription to complete this exercise.
4714
48-
You can install the C# Dev Kit extension using the Extensions view in Visual Studio Code.
49-
50-
1. Verify that you have access to a GitHub account and GitHub Copilot subscription.
51-
52-
You can log in to your GitHub account using the following URL: <a href="https://github.com/login" target="_blank">GitHub login</a>. Check your GitHub account settings to verify that you have access to a GitHub Copilot subscription.
53-
54-
> [!IMPORTANT]
55-
> If you don't have a GitHub account, you can create an individual account from the GitHub login page (select **Create an account**), and then activate the GitHub Copilot Free plan in the next section. If you have access to a GitHub Copilot Pro, GitHub Copilot Business, or GitHub Copilot Enterprise subscription from within the lab environment, you can use your existing GitHub Copilot subscription to complete this exercise.
56-
57-
### Configure the GitHub Copilot Free plan in Visual Studio Code
58-
59-
GitHub offers three Copilot plans for individual developers, and two plans for organizations and enterprises. The plans are designed to meet the needs of individual developers, teams, and organizations. The GitHub Copilot Free plan is available to all individual GitHub users, while the paid plans are available to individuals and organizations that require additional features and capabilities.
60-
61-
> **NOTE**: If you've already verified access to a GitHub Copilot subscription in your lab environment, you can skip this section and proceed to the exercise scenario.
62-
63-
Complete the following steps to verify that your lab environment is configured correctly:
64-
65-
1. Open Visual Studio Code.
66-
67-
1. On the Visual Studio Code Status Bar, to activate GitHub Copilot, hover the mouse pointer over the Copilot icon, and then select **Set up Copilot**.
68-
69-
![Screenshot showing the GitHub Copilot Settings button.](./Media/m00-github-copilot-setup.png)
70-
71-
1. On the **Sign in to use Copilot for free** page, select **Sign in**.
72-
73-
The GitHub account sign in page opens in your default web browser.
74-
75-
1. On the GitHub sign in page, enter the GitHub account credentials that you'll be using for this exercise, and then select **Sign in**.
76-
77-
1. Follow the online instructions to authenticate your account and authorize access in Visual Studio Code.
78-
79-
You'll be directed back to Visual Studio Code when the authentication/authorization process is complete.
80-
81-
1. To verify that GitHub Copilot is activated, open Visual Studio Code's **Extensions** view.
15+
## Before you start
8216

83-
You should see the GitHub Copilot and GitHub Copilot Chat extensions listed in the **Installed** section of the Extensions view.
17+
Your lab environment must include the following: Git 2.48 or later, .NET 9.0 or later, Visual Studio Code with the C# Dev Kit extension, and access to a GitHub account that has GitHub Copilot enabled.
8418

85-
![Screenshot showing GitHub Copilot the Visual Studio Code Extensions view.](./Media/m00-github-copilot-extensions-vscode.png)
19+
- If you're using your local PC and need help configuring the lab environment, use the following instructions: <a href="https://go.microsoft.com/fwlink/?linkid=2320147" target="_blank">Configure your lab environment resources</a>.
8620

87-
You're now ready to complete the exercise.
21+
- If you're using a hosted lab environment, or you need help enabling GitHub Copilot within Visual Studio Code, use the following instructions: <a href="https://go.microsoft.com/fwlink/?linkid=2320148" target="_blank">Enable GitHub Copilot within Visual Studio Code</a>.
8822

8923
## Exercise scenario
9024

0 commit comments

Comments
 (0)