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
+34-2Lines changed: 34 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,15 @@ This exercise should take approximately **25** minutes to complete.
14
14
15
15
## Before you start
16
16
17
-
Your lab environment must include the following: Git 2.48 or later, .NET SDK 9.0 or later, Visual Studio Code with the C# Dev Kit extension, and access to a GitHub account with GitHub Copilot enabled.
17
+
Your lab environment must include the following:
18
+
19
+
- Git 2.48 or later
20
+
- Either .NET or Python:
21
+
22
+
-**.NET SDK 9.0** or later with Visual Studio Code with the **C# Dev Kit** extension.
23
+
-**Python 3.10** or later with Visual Studio Code with the **Python** extension
24
+
25
+
- Access to a GitHub account with GitHub Copilot enabled.
18
26
19
27
If you're using a local PC as a lab environment for this exercise:
20
28
@@ -28,13 +36,21 @@ If you're using a hosted lab environment for this exercise:
28
36
29
37
- Open a command terminal and then run the following commands:
30
38
31
-
To ensure that Visual Studio Code is configured to use the correct version of .NET, run the following command:
39
+
To ensure that Visual Studio Code is configured to use the correct version of **.NET**, run the following command:
To ensure that Visual Studio Code is configured to use the correct version of Python, verify your Python installation is version 3.10 or later:
50
+
51
+
```bash
52
+
python --version
53
+
```
38
54
39
55
## Exercise scenario
40
56
@@ -199,10 +215,18 @@ Use the following steps to complete this section of the exercise:
199
215
200
216
1. Use the Ask Copilot textbox to enter the following prompt, and then submit the prompt:
201
217
218
+
**For C#:**
219
+
202
220
```text
203
221
Create a C# console app that prints Hello World to the console.
204
222
```
205
223
224
+
**Or for Python:**
225
+
226
+
```text
227
+
Create a Python console app that prints Hello World to the console.
228
+
```
229
+
206
230
1. Notice that GitHub Copilot's response includes an interactive list of files and a **Create Workspace** button.
207
231
208
232
1. To have GitHub Copilot create the code project, select**Create Workspace**.
@@ -215,10 +239,18 @@ Use the following steps to complete this section of the exercise:
215
239
216
240
More advanced prompts can be used to create a workspace with multiple files or to create different project types. For example, you can use the following prompt specify additional conditions for the console app project:
217
241
242
+
**For C#:**
243
+
218
244
```text
219
245
Create a C# console app that prints Hello World to the console. Include a .gitignore file.
220
246
```
221
247
248
+
**Or for Python:**
249
+
250
+
```text
251
+
Create a Python console app that prints Hello World to the console. Include a .gitignore file.
252
+
```
253
+
222
254
### Explore the Quick Chat features
223
255
224
256
The Quick Chat window is a simplified interface for interacting with GitHub Copilot. It provides a quick way to ask questions, request code suggestions, or get help with specific tasks without leaving the code editor.
0 commit comments