Skip to content

Commit f8c8281

Browse files
committed
updated instructions files
1 parent 9fb1b8a commit f8c8281

8 files changed

+513
-204
lines changed

Instructions/Labs/LAB_AK_01_examine_settings_interface.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
lab:
3-
title: 'Exercise - Examine GitHub Copilot settings and Visual Studio Code integration'
3+
title: 'Exercise - Examine GitHub Copilot settings and user interface features'
44
description: 'Learn how to configure GitHub Copilot settings and how to access GitHub Copilot features in Visual Studio Code.'
55
---
66

7-
# Examine GitHub Copilot settings and Visual Studio Code integration
7+
# Examine GitHub Copilot settings and user interface features
88

99
In this exercise you examine GitHub Copilot settings and explore the GitHub Copilot user interface in Visual Studio Code.
1010

11-
This exercise should take approximately **15** minutes to complete.
11+
This exercise should take approximately **25** minutes to complete.
1212

1313
## Before you start
1414

@@ -19,7 +19,7 @@ Before you start this exercise, you need to complete the following tasks:
1919

2020
### Verify required tools and resources
2121

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 also required.
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.
2323

2424
Complete the following steps to verify that your lab environment is configured correctly:
2525

@@ -54,17 +54,20 @@ Complete the following steps to verify that your lab environment is configured c
5454
> [!IMPORTANT]
5555
> 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.
5656
57-
### Verify GitHub Copilot access in Visual Studio Code
57+
### Configure the GitHub Copilot Free plan in Visual Studio Code
5858
5959
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.
6060
61-
Use the following steps to complete this section of the exercise:
61+
> [!NOTE]
62+
> If you've already verified access to a GitHub Copilot subscription i your lab environment, you can skip this section and proceed to the exercise scenario.
63+
64+
Complete the following steps to verify that your lab environment is configured correctly:
6265

6366
1. Open Visual Studio Code.
6467

6568
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**.
6669

67-
![Screenshot showing the GitHub Copilot Settings button.](./media/m01-github-copilot-setup.png)
70+
![Screenshot showing the GitHub Copilot Settings button.](./media/m00-github-copilot-setup.png)
6871

6972
1. On the **Sign in to use Copilot for free** page, select **Sign in**.
7073

@@ -80,7 +83,7 @@ Use the following steps to complete this section of the exercise:
8083
8184
You should see the GitHub Copilot and GitHub Copilot Chat extensions listed in the **Installed** section of the Extensions view.
8285
83-
![Screenshot showing the GitHub Copilot status menu.](./media/m01-github-copilot-extensions-vscode.png)
86+
![Screenshot showing GitHub Copilot the Visual Studio Code Extensions view.](./media/m00-github-copilot-extensions-vscode.png)
8487
8588
You're now ready to complete the exercise.
8689

@@ -450,9 +453,9 @@ GitHub Copilot provides code completion suggestions based on the context of the
450453

451454
When you accept a code completion suggestion, GitHub Copilot may suggest additional code lines. When this happens, you can press the **Tab** key to accept the suggestion, press the **Esc** key to reject the suggestion, or enter your own code to override the suggestion.
452455

453-
### Explore Smart Actions
456+
### Access Smart Actions
454457

455-
Smart Actions are a set of predefined actions that you can use to quickly perform common tasks in Visual Studio Code. Smart Actions are available in the Copilot context menu and can be used to generate code snippets, refactor existing code, or implement new features.
458+
Smart Actions are a set of predefined actions that are available from the Copilot context menu. You can use Smart Actions to quickly perform common tasks in Visual Studio Code without having to write prompts.
456459

457460
1. In the code editor, select the Main method, right-click the selected code, and then select **Copilot**.
458461

@@ -482,6 +485,8 @@ Smart Actions are a set of predefined actions that you can use to quickly perfor
482485
483486
![Screenshot showing the Copilot context menu.](./media/m01-github-copilot-smart-action-generate-docs.png)
484487
488+
1. In the Inline Chat window, select **Accept** to apply the suggested documentation.
489+
485490
## Summary
486491
487492
In this exercise, you examined GitHub Copilot settings and explored the GitHub Copilot user interface in Visual Studio Code. You learned how to configure GitHub Copilot settings, explore the Chat view, Quick Chat, and Inline Chat features. You also used GitHub Copilot to generate code completions and used Smart Actions to complete common tasks.

0 commit comments

Comments
 (0)