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
+22-22Lines changed: 22 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ Complete the following steps to verify that your lab environment is configured c
66
66
67
67
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**.
68
68
69
-

69
+

70
70
71
71
1. On the **Sign in to use Copilot for free** page, select**Sign in**.
72
72
@@ -82,7 +82,7 @@ Complete the following steps to verify that your lab environment is configured c
82
82
83
83
You should see the GitHub Copilot and GitHub Copilot Chat extensions listed in the **Installed** section of the Extensions view.
84
84
85
-

85
+

86
86
87
87
You're now ready to complete the exercise.
88
88
@@ -111,7 +111,7 @@ Use the following steps to complete this section of the exercise:
111
111
112
112
1. To display a dropdown menu for the GitHub Copilot extension that lists Enable and Disable options, select on the gear icon for the GitHub Copilot extension.
113
113
114
-

114
+

115
115
116
116
If you want to test the enable/disable options, you can select the disable option. However, be sure to re-enable GitHub Copilot before you continue with this exercise.
117
117
@@ -128,19 +128,19 @@ Use the following steps to complete this section of the exercise:
128
128
129
129
The GitHub Copilot menu includes a **Configure Code Completions** option that provides access to a filtered list of GitHub Copilot settings.
130
130
131
-

131
+

132
132
133
133
1. On the Copilot menu, select**Configure Code Completions**, and thenselect**Edit Settings**.
134
134
135
135
1. Take a moment to review how the GitHub Copilot settings are organized.
136
136
137
-

137
+

138
138
139
139
Notice that the settings for*GitHub Copilot* and *GitHub Copilot Chat* are separated. Also notice the *Preview* and *Experimental* categories.
140
140
141
141
1. Under the Extensions label, select**GitHub Copilot**.
142
142
143
-

143
+

144
144
145
145
Notice that the settings list is now filtered for GitHub Copilot only.
146
146
@@ -150,19 +150,19 @@ Use the following steps to complete this section of the exercise:
150
150
151
151
Selecting **Edit in settings.json** opens the settings.json file, which is a JSON file that contains the settings for GitHub Copilot. The settings are organized into sections, and each section contains a list of settings.
152
152
153
-

153
+

154
154
155
155
- GitHub.Copilot.Enable: Enable or disable Copilot completions for specified languages.
156
156
157
157
The term *languages* refers to programming languages, but accommodates other file formats as well. The languages are specified using a list of languages and a value of **true** or **false** to enable or disable GitHub Copilot for each language. By default, GitHub Copilot is enabled for all languages. This setting is specified with the wildcard character `*` on the first row and the value **true**. The subsequent rows specify languages for which GitHub Copilot is enabled or disabled. For example, GitHub Copilot is enabled for**C#**, **JavaScript**, and **Python** and disabled for**Plaintext** and **Markdown**.
158
158
159
-

159
+

160
160
161
161
- GitHub.Copilot.SelectedCompletionModel: Select the model to use for Copilot completions.
162
162
163
-

163
+

164
164
165
-

165
+

166
166
167
167
1. Under **Enable or disable Copilot completions for specified languages**, select**markdown**.
168
168
@@ -174,11 +174,11 @@ Use the following steps to complete this section of the exercise:
174
174
175
175
1. Under the Extensions label, select GitHub Copilot Chat.
176
176
177
-

177
+

178
178
179
179
The GitHub Copilot Chat extension has a long list of available settings and it's updated regularly. The GitHub Copilot Chat extension also includes preview and experimental settings that are subject to change and could be discontinued. The preview and experimental settings are included at the end of the list and they're tagged as either **Preview** or **Experimental**.
180
180
181
-

181
+

182
182
183
183
1. Take a few minutes to review the settings for GitHub Copilot Chat.
184
184
@@ -206,13 +206,13 @@ Use the following steps to complete this section of the exercise:
206
206
207
207
The Toggle Chat button is located at the top of the Visual Studio Code window, just to the right of the search textbox.
208
208
209
-

209
+

210
210
211
211
The GitHub Copilot Chat view opens in a side bar window on the right side of the Visual Studio Code window.
212
212
213
213
1. Take a few minutes to examine the Chat view interface.
214
214
215
-

215
+

216
216
217
217
Starting from the top and moving down, the Chat view includes the following interface elements:
218
218
@@ -269,7 +269,7 @@ The Quick Chat window is a simplified interface for interacting with GitHub Copi
269
269
270
270
1. Open the Chat menu and notice that three Chat options are listed.
271
271
272
-

272
+

273
273
274
274
The three Chat options are:
275
275
@@ -361,7 +361,7 @@ The Inline Chat interface is designed for code interactions directly within the
361
361
362
362
1. Take a minute to review the response generated by Inline Chat.
363
363
364
-

364
+

365
365
366
366
Notice the following:
367
367
@@ -402,7 +402,7 @@ The Chat view has three modes: **Ask**, **Edit**, and **Agent**. The Ask mode is
402
402
403
403
1. Take a minute to review response displayed in the Chat view.
404
404
405
-

405
+

406
406
407
407
Notice that when you hover the mouse pointer over the code, the Chat view displays the following options:
408
408
@@ -422,7 +422,7 @@ The Chat view has three modes: **Ask**, **Edit**, and **Agent**. The Ask mode is
422
422
423
423
1. Take a minute to review the updates suggested in the code editor.
424
424
425
-

425
+

426
426
427
427
Notice the following:
428
428
@@ -444,7 +444,7 @@ GitHub Copilot provides code completion suggestions based on the context of the
444
444
445
445
GitHub Copilot generates a code completion suggestion based on the context of the code in the editor. In this case, GitHub Copilot suggests a new Console.WriteLine statement that displays an age for GitHub Copilot.
446
446
447
-

447
+

448
448
449
449
1. To accept the code completion suggestion, press **Tab**.
450
450
@@ -460,7 +460,7 @@ Smart Actions are a set of predefined actions that are available from the Copilo
460
460
461
461
You should see a GitHub Copilot context menu that includes three sections.
462
462
463
-

463
+

464
464
465
465
- The first section includes the option to open an Inline Chat session.
466
466
- The second section includes a list of Smart Actions.
@@ -472,7 +472,7 @@ Smart Actions are a set of predefined actions that are available from the Copilo
472
472
473
473
Notice that the Explain smart action constructs a prompt that's based on the code selection and submits the prompt in the Chat view.
474
474
475
-

475
+

476
476
477
477
The explanation includes a detailed description of the selected code, and may include suggested updates.
478
478
@@ -482,7 +482,7 @@ Smart Actions are a set of predefined actions that are available from the Copilo
482
482
483
483
Notice that the Generate Docs smart action opens an Inline Chat session and submits a prompt asking GitHub Copilot to suggest documentation for the selected code.
484
484
485
-

485
+

486
486
487
487
1. In the Inline Chat window, select **Accept** to apply the suggested documentation.
Copy file name to clipboardExpand all lines: Instructions/Labs/LAB_AK_05_refactor_improve_existing_code.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ Complete the following steps to verify that your lab environment is configured c
67
67
68
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**.
69
69
70
-

70
+

71
71
72
72
1. On the **Sign in to use Copilot for free** page, select**Sign in**.
73
73
@@ -83,7 +83,7 @@ Complete the following steps to verify that your lab environment is configured c
83
83
84
84
You should see the GitHub Copilot and GitHub Copilot Chat extensions listed in the **Installed** section of the Extensions view.
85
85
86
-

86
+

87
87
88
88
You're now ready to complete the exercise.
89
89
@@ -220,7 +220,7 @@ Use the following steps to complete this section of the exercise:
220
220
221
221
You can toggle the Chat view between open and closed using the **Toggle Chat** button, which is located at the top of the Visual Studio Code window, just to the right of the search textbox.
222
222
223
-

223
+

224
224
225
225
You can also use the keyboard shortcut **Ctrl+Alt+I** to toggle the Chat view.
0 commit comments