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: .github/steps/1-preparing.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,8 +17,8 @@ GitHub Copilot has been proven to increase developer productivity and accelerate
17
17
Your most common interactions will likely be:
18
18
19
19
-**Inline suggestions**: As you type, Copilot uses the nearby context to suggest code directly in your editor. This will be a familiar interaction if you have used code completion tools like [Intellisense](https://code.visualstudio.com/docs/editor/intellisense), except that the completions may be entire functions.
20
-
-**Copilot Chat**: A dedicated chat panel that lets you ask coding related questions. This will feel familiar if you have used online AI assistant chats. The big difference however, is that your project files will provide automatic context to provide tailored responses.
21
-
-**Copilot Edits**: Similar to Copilot Chat, but less conversational and more big picture or goal oriented.
20
+
-**Copilot - Ask Mode**: A dedicated chat panel that lets you ask coding related questions. This will feel familiar if you have used online AI assistant chats. The big difference however, is that your project files will provide automatic context to provide tailored responses.
21
+
-**Copilot - Edit Mode**: Similar to Copilot Chat, but less conversational. Copilot will make changes to your files to implement your request.
22
22
23
23
> [!TIP]
24
24
> You can learn more about current and upcoming features in the [GitHub Copilot Features](https://docs.github.com/en/copilot/about-github-copilot/github-copilot-features) documentation. You can also select different [models](https://docs.github.com/en/github-models) and make your own [extensions](https://github.com/features/copilot/extensions), but that's for a different lesson!
@@ -52,11 +52,11 @@ Let's start up our development environment, use copilot to learn a bit about the
Copy file name to clipboardExpand all lines: .github/steps/3-copilot-edits.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
In our previous steps, we used features of Copilot that require more hands-on guidance and they produced mostly localized results. Now, we will explore Copilot Edits, a feature that allows working more holistically on our repo.
4
4
5
-
[Copilot Edits](https://code.visualstudio.com/docs/copilot/copilot-edits) is an AI-powered code editing session to make changes across **multiple files** using **natural language**, and applies the edits directly in the editor, where you can review them in-place, with the full context of the surrounding code.
5
+
[Copilot - Edit Mode](https://code.visualstudio.com/docs/copilot/copilot-edits) is an AI-powered code editing session to make changes across **multiple files** using **natural language**, and applies the edits directly in the editor, where you can review them in-place, with the full context of the surrounding code.
6
6
7
7
#### Key features
8
8
@@ -23,21 +23,21 @@ In our previous steps, we used features of Copilot that require more hands-on gu
23
23
24
24
1. If the Copilot Chat panel is not visible, please reopen it.
25
25
26
-
1.In the top left part of Copilot Chat window, click the **Copilot Edits** icon to switch modes.
26
+
1.At the bottom of Copilot Chat window, use the dropdown to switch to **Edit** mode.
1. Open the files related to our webpage then drag each editor window (or file) to the chat panel, informing Copilot to use them as context.
31
31
32
32
-`src/static/app.js`
33
33
-`src/static/index.html`
34
34
-`src/static/styles.css`
35
35
36
-
> **Tip:** You can also use the **Attach files...** button to provide other sources of context items, like a GitHub issue, the entire codebase, or the results of a terminal window.
36
+
> **Tip:** You can also use the **Add Context...** button to provide other sources of context items, like a GitHub issue, the entire codebase, or the results of a terminal window.
37
37
38
38
1. Ask Copilot to update our project to display the current participants of activities. Wait a moment for the edit suggestions to arrive and be applied.
Copy file name to clipboardExpand all lines: .github/steps/3b-copilot-agent-mode.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,13 +18,13 @@ Now, let's give **Agent** mode a try! 👩🚀
18
18
19
19
Let's experiment with some more open-ended requests that will add more functionality to our web application. Remember, AI assistants often produce different results, even if the same prompt is provided. If you don't get the desired results, you can try other models or provided followup feedback to refine the results.
20
20
21
-
1. Open the **Copilot**side panel and use the dropdown menu to switch to **Agent** mode.
21
+
1. Open the **Copilot**chat panel and use the dropdown menu to switch to **Agent** mode.
0 commit comments