Skip to content

Commit 6ba4c2a

Browse files
Update to X in STEP and README.md
1 parent f08c81d commit 6ba4c2a

File tree

2 files changed

+21
-56
lines changed

2 files changed

+21
-56
lines changed

.github/steps/-step.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4
1+
X

README.md

+20-55
Original file line numberDiff line numberDiff line change
@@ -16,71 +16,36 @@ _GitHub Copilot can help you code by offering autocomplete-style suggestions rig
1616
</header>
1717

1818
<!--
19-
<<< Author notes: Step 4 >>>
20-
Start this step by acknowledging the previous step.
21-
Define terms and link to docs.github.com.
19+
<<< Author notes: Finish >>>
20+
Review what we learned, ask for feedback, provide next steps.
2221
-->
2322

24-
## Step 4: Using comments to generate code with Copilot
23+
## Finish
2524

26-
_Nicely done utilizing the Copilot tab!_ :partying_face:
25+
_Congratulations friend, you've completed this course!_
2726

28-
You now have leveraged the Copilot quick tab auto-suggest as well as the Copilot hub to accept AI generated suggestions.
27+
<img src="https://octodex.github.com/images/welcometocat.png" alt=celebrate width=300 align=right>
2928

30-
Now lets see how you can leverage comments to generate Copilot suggestions!
29+
Here's a recap of all the tasks you completed:
3130

32-
### :keyboard: Activity: Pull the latest code to the Codespace repo.
31+
- Set up Copilot inside a Codespace.
32+
- Use Copilot to accept suggested code.
33+
- Use Copilot's hub for alternate suggestions.
34+
- Leverage comments to have Copilot auto-suggest code.
3335

34-
> **Note**
35-
> Pull MUST be done prior to the next activity.
36+
### Additional learning and resources
3637

37-
1. Use the VS Code terminal to pull the latest code:
38+
- [Copilot for Individuals](https://docs.github.com/en/copilot/overview-of-github-copilot/about-github-copilot-for-individuals)
39+
- [Copilot for Business](https://docs.github.com/en/copilot/overview-of-github-copilot/about-github-copilot-for-business)
40+
- [Getting started with Copilot](https://docs.github.com/en/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-visual-studio-code)
41+
- [Configure Copilot settings](https://docs.github.com/en/copilot/configuring-github-copilot/configuring-github-copilot-settings-on-githubcom)
3842

39-
```
40-
git pull
41-
```
43+
### What's next?
4244

43-
### :keyboard: Activity: Generate Copilot suggested code from comments.
44-
45-
1. From inside the codespace in the VS Code explorer window, create a new file. (If you closed the Codespace from above, please open it back up or create a new Codespace.)
46-
2. Name the file `comments.js`.
47-
3. Type the following comment into the file:
48-
```
49-
// Create web server
50-
```
51-
4. Press `enter` to go to a new line.
52-
5. Copilot will suggest a code block.
53-
6. Hover over the red squiggly and select the `...`
54-
55-
> **Note**
56-
> If you don't see the copilot code block suggestion or the red squiggly and the three dots `...`, you can type `control + enter` to bring up the GitHub Copilot completions panel.
57-
58-
7. Click `Open Completions Panel`. Copilot will synthesise around 10 different code suggestions. You should see something like this:
59-
![Screen Shot 2023-04-25 at 3 59 42 PM](https://user-images.githubusercontent.com/26442605/234425509-74ea96e0-bbd6-417b-84c5-73546ac7b2cd.png)
60-
8. Find a solution you like and click `Accept Solution`.
61-
9. Your `comments.js` file will be updated with your solution.
62-
63-
### :keyboard: Activity: Push code to your repository from the codespace
64-
65-
1. Use the VS Code terminal to add the `comments.js` file to the repository:
66-
67-
```
68-
git add comments.js
69-
```
70-
71-
2. Next from the VS Code terminal stage and commit the changes to the repository:
72-
73-
```
74-
git commit -m "Copilot third commit"
75-
```
76-
77-
3. Finally from the VS Code terminal push to code to the repository:
78-
79-
```
80-
git push
81-
```
82-
83-
**Wait about 60 seconds then refresh your repository landing page for the next step.**
45+
- [We'd love to hear what you thought of this course](https://github.com/orgs/skills/discussions/categories/code-with-copilot).
46+
- [Learn another GitHub skill](https://github.com/skills).
47+
- [Read the Get started with GitHub docs](https://docs.github.com/en/get-started).
48+
- To find projects to contribute to, check out [GitHub Explore](https://github.com/explore).
8449

8550
<footer>
8651

0 commit comments

Comments
 (0)