You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Instructions/Labs/LAB_AK_01_examine_settings_interface.md
+15-10Lines changed: 15 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
---
2
2
lab:
3
-
title: 'Exercise - Examine GitHub Copilot settings and Visual Studio Code integration'
3
+
title: 'Exercise - Examine GitHub Copilot settings and user interface features'
4
4
description: 'Learn how to configure GitHub Copilot settings and how to access GitHub Copilot features in Visual Studio Code.'
5
5
---
6
6
7
-
# Examine GitHub Copilot settings and Visual Studio Code integration
7
+
# Examine GitHub Copilot settings and user interface features
8
8
9
9
In this exercise you examine GitHub Copilot settings and explore the GitHub Copilot user interface in Visual Studio Code.
10
10
11
-
This exercise should take approximately **15** minutes to complete.
11
+
This exercise should take approximately **25** minutes to complete.
12
12
13
13
## Before you start
14
14
@@ -19,7 +19,7 @@ Before you start this exercise, you need to complete the following tasks:
19
19
20
20
### Verify required tools and resources
21
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 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.
23
23
24
24
Complete the following steps to verify that your lab environment is configured correctly:
25
25
@@ -54,17 +54,20 @@ Complete the following steps to verify that your lab environment is configured c
54
54
> [!IMPORTANT]
55
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
56
57
-
### Verify GitHub Copilot access in Visual Studio Code
57
+
### Configure the GitHub Copilot Free plan in Visual Studio Code
58
58
59
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
60
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:
62
65
63
66
1. Open Visual Studio Code.
64
67
65
68
1. On the Visual Studio Code Status Bar, to activate GitHub Copilot, hover the mouse pointer over the Copilot icon, and thenselect**Set up Copilot**.
66
69
67
-

70
+

68
71
69
72
1. On the **Sign in to use Copilot for free** page, select**Sign in**.
70
73
@@ -80,7 +83,7 @@ Use the following steps to complete this section of the exercise:
80
83
81
84
You should see the GitHub Copilot and GitHub Copilot Chat extensions listed in the **Installed** section of the Extensions view.
82
85
83
-

86
+

84
87
85
88
You're now ready to complete the exercise.
86
89
@@ -450,9 +453,9 @@ GitHub Copilot provides code completion suggestions based on the context of the
450
453
451
454
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.
452
455
453
-
### Explore Smart Actions
456
+
### Access Smart Actions
454
457
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.
456
459
457
460
1. In the code editor, selectthe Main method, right-click the selected code, and thenselect**Copilot**.
458
461
@@ -482,6 +485,8 @@ Smart Actions are a set of predefined actions that you can use to quickly perfor
482
485
483
486

484
487
488
+
1. In the Inline Chat window, select **Accept** to apply the suggested documentation.
489
+
485
490
## Summary
486
491
487
492
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