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: learn-pr/github/introduction-copilot-python/6-knowledge-check.yml
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -20,23 +20,23 @@ quiz:
20
20
- content: "GitHub Copilot uses prompts and natural language text that you type to provide coding suggestions."
21
21
isCorrect: true
22
22
explanation: "Correct! GitHub Copilot is trained on billions of lines of code. It turns natural language prompts into coding suggestions across dozens of languages."
23
-
- content: "GitHub Copilot uses lights, that you type, and it provides suggestions based on what you type."
23
+
- content: "GitHub Copilot uses highlights, that you select, and it provides suggestions based on what you highlight."
24
24
isCorrect: false
25
25
explanation: "GitHub Copilot uses prompts and natural language text that you type to provide coding suggestions."
26
26
- content: "GitHub Copilot uses radio language, that you type, and it provides suggestions based on what you type."
27
27
isCorrect: false
28
28
explanation: "GitHub Copilot doesn't use radio language."
29
29
- content: "What are some GitHub Copilot Free features?"
30
30
choices:
31
-
- content: "It's a free unrestrticted AI tool that works independent of code editors."
31
+
- content: "It's a free unrestricted AI tool that works independent of code editors."
32
32
isCorrect: false
33
33
explanation: "Incorrect. GitHub Copilot Free has a quota for code completions and chat messages."
34
34
- content: "It provides several suggestions and chats per month directly in your IDE and on github.com."
35
35
isCorrect: true
36
-
explanation: "Correct. It also supports multi-file editing and and switching models!"
37
-
- content: "An option to enable slower responses, preservering your Copilot Pro quota."
36
+
explanation: "Correct. It also supports multi-file editing and switching models!"
37
+
- content: "An option to enable slower responses, preserving your Copilot Pro quota."
38
38
isCorrect: false
39
-
explanation: "Incorrect. Copilot Free has quoat restrictions. Copilot Pro provides unlimited code suggestions and chat."
39
+
explanation: "Incorrect. Copilot Free has quota restrictions. Copilot Pro provides unlimited code suggestions and chat."
40
40
- content: "How can you accept GitHub Copilot's suggestions?"
41
41
choices:
42
42
- content: "Press the <kbd>Tab</kbd> key."
@@ -67,6 +67,6 @@ quiz:
67
67
- content: "How well your extensions were installed."
68
68
isCorrect: false
69
69
explanation: "False. It doesn't depend on how well your extensions were installed."
70
-
- content: "How well you crafted your prompt."
70
+
- content: "How well you craft your prompt."
71
71
isCorrect: true
72
72
explanation: "Designing an effective prompt is, therefore, crucial in ensuring we achieve our desired outcomes. You need to detail your prompt as much as possible."
Copy file name to clipboardExpand all lines: learn-pr/github/introduction-copilot-python/includes/1-introduction.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,3 @@
1
-
2
1
GitHub Copilot is an AI coding partner that provides autocomplete suggestions while you code. You get suggestions from Copilot by typing code or describing it in natural language.
3
2
4
3
Copilot analyses your file and related files, offering suggestions in your text editor. It uses OpenAI Codex, a new AI system developed by OpenAI, to help derive context from written code and comments, and then suggests new lines or entire functions.
@@ -25,4 +24,4 @@ After successfully finishing this module, you're capable of using a prompt to cu
25
24
26
25
- Basic understanding of Python and text editors.
27
26
- Basic comprehension of Git and GitHub Fundamentals. Particularly, running basic `git` commands like `git add` and `git push`.
28
-
- A [GitHub account](https://github.com/login) with an active subscription for [GitHub Copilot](https://github.com/github-copilot/signup) is required for either your personal GitHub account or a GitHub account managed by an organization or enterprise. For learning, the Copilot Free option with usage limits should be sufficient.
27
+
- A [GitHub account](https://github.com/login) with an active subscription for [GitHub Copilot](https://github.com/github-copilot/signup) is required for either your personal GitHub account or a GitHub account managed by an organization or enterprise. For learning purposes, the Copilot Free option with usage limits should be sufficient.
Copy file name to clipboardExpand all lines: learn-pr/github/introduction-copilot-python/includes/3-exercise-setup.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,16 +7,16 @@ To use GitHub Copilot, you need to complete the following steps:
7
7
1.**GitHub Account**:
8
8
- Create a GitHub account. Since Copilot is a GitHub service, you need a GitHub account to use it. If you don’t have an account, visit the [GitHub webpage](https://gh.io/) to create one for free.
9
9
10
-
2.**Sign up and enable GitHub Copilot**:
11
-
- You can set up a GitHub Copilot Free account or signup for a subscription to GitHub Copilot Pro trial with a one-time 30-day trial. For learning purposes, the Copilot Free option with usage limits should be sufficient.
10
+
1.**Sign up and enable GitHub Copilot**:
11
+
- You can set up a GitHub Copilot Free account or sign-up for a subscription to GitHub Copilot Pro trial with a one-time 30-day trial. For learning purposes, the Copilot Free option with usage limits should be sufficient.
12
12
- It's important to be aware of the GitHub Copilot free trial conditions: if you choose the free trial offer for GitHub Copilot, a form of payment is requested at sign-up. Charges aren't applied until the trial is over, unless you cancel before the conclusion of the 30-day period.
13
-
14
-
> [!TIP]
15
-
> GitHub Copilot offers a free tier with **2,000 code autocompletes and 50 chat messages per month**. To get started, open Visual Studio Code, click on the GitHub Copilot icon, and then click "Sign in to Use GitHub Copilot for Free". Log in to your GitHub account in the window that will open in the browser. [Learn more](https://gh.io/copilot). Educators, Students and select open-source maintainers can receive Copilot Pro for free, learn how at: [https://aka.ms/Copilot4Students](https://aka.ms/Copilot4Students).
16
13
17
-
3.**Install the Extension**:
18
-
- GitHub Copilot is available as an extension for major IDEs, including Visual Studio, Visual Studio Code, JetBrains IDEs, VIM, and XCode.
19
-
- To install, search for "GitHub Copilot" in your IDE's extension marketplace and follow the installation instructions. For example, in the VS Code marketplace, you will find GitHub Copilot, GitHub Copilot Chat, and GitHub Copilot for Azure as options to install.
14
+
> [!TIP]
15
+
> GitHub Copilot offers a free tier with **2,000 code autocompletes and 50 chat messages per month**. To get started, open Visual Studio Code, select the GitHub Copilot icon, and then select **Sign in to Use GitHub Copilot for Free**. Sign-in to your GitHub account in the window that opens in the browser. [Learn more](https://gh.io/copilot). Educators, Students, and select open-source maintainers, can receive Copilot Pro for free, learn how at: [https://aka.ms/Copilot4Students](https://aka.ms/Copilot4Students).
16
+
17
+
1.**Install the Extension**:
18
+
- GitHub Copilot is available as an extension for major Integrated Development Environments (IDEs), including Visual Studio, Visual Studio Code, JetBrains IDEs, VIM, and XCode.
19
+
- To install, search for "GitHub Copilot" in your IDE's extension marketplace and follow the installation instructions. For example, in the VS Code marketplace, you can find GitHub Copilot, GitHub Copilot Chat, and GitHub Copilot for Azure as options to install.
20
20
21
21
## Environment setup
22
22
@@ -28,7 +28,7 @@ First you need to launch the Codespaces environment, which comes preconfigured w
28
28
1. The remaining exercises in this project take place in the context of this development container.
29
29
30
30
> [!IMPORTANT]
31
-
> All GitHub accounts can use Codespaces for up to 60 hours free each month with 2 core instances. For more information, see [GitHub Codespaces monthly included storage and core hours](https://docs.github.com/billing/managing-billing-for-github-codespaces/about-billing-for-github-codespaces#monthly-included-storage-and-core-hours-for-personal-accounts).
31
+
> All GitHub accounts can use Codespaces for up to 60 hours free each month with two core instances. For more information, see [GitHub Codespaces monthly included storage and core hours](https://docs.github.com/billing/managing-billing-for-github-codespaces/about-billing-for-github-codespaces#monthly-included-storage-and-core-hours-for-personal-accounts).
Copy file name to clipboardExpand all lines: learn-pr/github/introduction-copilot-python/includes/7-summary.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
-
In this module, we looked at how GitHub Codespaces can significantly improve the software development lifecycle, offering features that range from creating a repository from a GitHub template to adding animations with live suggestions. GitHub Codespaces allows you to customize your coding experience and GitHub Copilot guides you in each step of the way.
1
+
In this module, we looked at how GitHub Codespaces can significantly improve the software development lifecycle. We learned about the features of GitHub Codespaces that range from creating a repository from a GitHub template to adding animations with live suggestions. GitHub Codespaces allows you to customize your coding experience and GitHub Copilot guides you in each step of the way.
2
2
3
3
After finishing this module, you should be able to:
4
4
5
5
- Configure a GitHub repository in Codespaces and install the GitHub Copilot extension.
6
6
- Engineer prompts for your project that follow best practices to generate suggestions from GitHub Copilot.
7
-
- Use GitHub Copilot Chat to ask and receive coding-related questions.
7
+
- Use GitHub Copilot Chat to ask coding-related questions and receive answers.
Copy file name to clipboardExpand all lines: learn-pr/github/introduction-copilot-python/index.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ abstract: |
20
20
prerequisites: |
21
21
- Basic understanding of Python and text editors.
22
22
- Basic comprehension of Git and GitHub Fundamentals. Particularly, running basic git commands like `git add` and `git push`.
23
-
- A GitHub Account with an active subscription for GitHub Copilot is required for either your personal GitHub account or a GitHub account managed by an organization or enterprise. For learning, the Copilot Free option with usage limits should be sufficient.
23
+
- A GitHub Account with an active subscription for GitHub Copilot is required for either your personal GitHub account or a GitHub account managed by an organization or enterprise. For learning purposes, the Copilot Free option with usage limits should be sufficient.
0 commit comments