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/wwl-azure/develop-code-features-using-github-copilot-tools/includes/5-generate-code-github-copilot-chat.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
@@ -92,10 +92,10 @@ The Plan agent is designed to help you research and plan a task before writing a
92
92
93
93
### Use the Agent to generate code
94
94
95
-
When using the Agent, GitHub Copilot acts as an autonomous agent that can take actions on your behalf. You can ask GitHub Copilot to perform specific tasks, and it generates code based on your requests.
95
+
When you use GitHub Copilot in Agent mode, GitHub Copilot acts as an autonomous agent that can take actions on your behalf. You can ask GitHub Copilot to perform specific tasks, and it generates code based on your requests.
96
96
97
97
> [!IMPORTANT]
98
-
> When you use the Agent, GitHub Copilot may make multiple premium requests to complete a single task. Premium requests can be used by user-initiated prompts and follow-up actions GitHub Copilot takes on your behalf. The total premium requests used depends on the complexity of the task, the number of steps involved, and the model selected.
98
+
> When you use the Agent mode, GitHub Copilot may make multiple premium requests to complete a single task. Premium requests can be used by user-initiated prompts and follow-up actions GitHub Copilot takes on your behalf. The total premium requests used depends on the complexity of the task, the number of steps involved, and the model selected.
99
99
100
100
1. Open the Chat view and select **Agent** from the agent picker.
Copy file name to clipboardExpand all lines: learn-pr/wwl-azure/develop-unit-tests-using-github-copilot-tools/includes/2-examine-github-copilot-support-unit-tests.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ Alternatively, you can:
55
55
1. Follow GitHub Copilot's suggestions to fix the test
56
56
57
57
> [!TIP]
58
-
> When using agents, the agent monitors the test output when running tests, and automatically attempts to fix and rerun failing tests.
58
+
> When using GitHub Copilot in Agent mode, the agent monitors the test output when running tests, and automatically attempts to fix and rerun failing tests.
Copy file name to clipboardExpand all lines: learn-pr/wwl-azure/generate-documentation-using-github-copilot-tools/includes/2-review-github-copilot-explain-document-features.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,11 +16,11 @@ The following GitHub Copilot features can be used to analyze and explain code:
16
16
17
17
The following GitHub Copilot features can be used to generate inline code documentation:
18
18
19
-
- Ask mode: Use the ask mode to suggest inline code documentation for a code file, class, or method. Review the suggested inline documentation in the Chat view. Request updates as needed in the chat conversation. Once you're satisfied with the proposed documentation, you can insert the suggested documentation into the corresponding code file.
19
+
- Ask mode: Use the Ask agent mode to suggest inline code documentation for a code file, class, or method. Review the suggested inline documentation in the Chat view. Request updates as needed in the chat conversation. Once you're satisfied with the proposed documentation, you can insert the suggested documentation into the corresponding code file.
20
20
21
-
- Plan mode: Use the Plan mode to create a detailed implementation plan for your documentation tasks. The Plan mode can be used to analyze the codebase, identify documentation requirements, and produce a step-by-step plan. Once the plan is approved, you can hand it off to agent mode for execution.
21
+
- Plan mode: Use the Plan mode to create a detailed implementation plan for your documentation tasks. The Plan mode can be used to analyze the codebase, identify documentation requirements, and produce a step-by-step plan. Once the plan is approved, you can hand it off to Agent mode for execution.
22
22
23
-
- Agent mode: Use the agent mode to autonomously generate inline code documentation for specified code projects, files, classes, or methods. Have the agent perform other tasks during or after the documentation process. Accept or reject the updates when the agent has completed the assigned tasks.
23
+
- Agent mode: Use the Agent mode to autonomously generate inline code documentation for specified code projects, files, classes, or methods. Have the agent perform other tasks during or after the documentation process. Accept or reject the updates when the agent has completed the assigned tasks.
24
24
25
25
- Inline chat - Use an inline chat session to work directly in the code editor. The inline chat is useful when you want to document specific code (classes, methods, or code blocks) without leaving the editor. You can provide specific instructions in the prompt or use the `/doc` slash command without specific information if you want. Updates are displayed in the code editor and can be accepted or rejected. You can also choose the option to rerun the prompt with or without updates.
Copy file name to clipboardExpand all lines: learn-pr/wwl-azure/generate-documentation-using-github-copilot-tools/includes/3-examine-github-copilot-prompts-keywords.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,7 @@ About the `@workspace` keyword:
103
103
- The `@workspace` keyword is a chat participant that's dedicated to answering questions about your codebase.
104
104
- The `@workspace` keyword takes control of the user prompt and uses the codebase to provide an answer.
105
105
- The `@workspace` keyword can't invoke other tools.
106
-
- The `@workspace` keyword can only be used when you're using the ask mode.
106
+
- The `@workspace` keyword can only be used when you're using the Ask agent mode.
107
107
- Example: "`@workspace how can I validate a date?`"
Copy file name to clipboardExpand all lines: learn-pr/wwl-azure/generate-documentation-using-github-copilot-tools/includes/4-analyze-explain-code-using-github-copilot.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,13 +7,13 @@ Each of the following GitHub Copilot features can be used to analyze or explain
7
7
- Smart actions: Run the Explain smart action to explain selected code without even having to write a prompt.
8
8
- Quick Chat: Ask a quick question and get back into what you're doing.
9
9
10
-
## Use the Chat view in ask mode to analyze and explain code
10
+
## Use the Chat view in Ask agent mode to analyze and explain code
11
11
12
12
The Chat view in Visual Studio Code is used to manage chat conversations between you and the AI pair programmer. By default, the Chat view is located in the Secondary Side Bar on the right side of the Visual Studio Code window. When you submit a prompt, the AI pair programmer responds with natural language descriptions, code snippets, and other relevant information. Responses are displayed in the Chat view.
13
13
14
-
To access the Chat view, you can select the **Toggle Chat** button (Copilot icon), select **Open Chat** from the GitHub Copilot menu, or use the **Ctrl+Alt+I** keyboard shortcut. The Chat view defaults to ask mode, but retains the most recently selected mode when you toggle between open and hidden.
14
+
To access the Chat view, you can select the **Toggle Chat** button (Copilot icon), select **Open Chat** from the GitHub Copilot menu, or use the **Ctrl+Alt+I** keyboard shortcut. The Chat view defaults to Ask agent mode, but retains the most recently selected mode when you toggle between open and hidden.
15
15
16
-
You can use the Chat view in ask mode for a wide range of topics. For example:
16
+
You can use the Chat view in Ask agent mode for a wide range of topics. For example:
17
17
18
18
- Ask questions about coding and technology concepts ("`What is a linked list?`", "`top 10 popular web frameworks`")
19
19
- Brainstorm ideas on how to best solve a coding problem ("`How to add auth to my project?`")
@@ -23,17 +23,17 @@ You can use the Chat view in ask mode for a wide range of topics. For example:
23
23
24
24

25
25
26
-
The ask mode supports the following interface features:
26
+
The Ask agent mode supports the following interface features:
27
27
28
28
- Chat view toolbar: The Chat view toolbar is located in the top right corner of the Chat view. You can use the toolbar to manage the chat history, start a new chat, open the Chat view in another location, or hide the Chat view. Hover your mouse pointer over the toolbar button icons to see a description.
29
29
30
30
- Chat response area: The Chat response area is the space below the Chat view toolbar where GitHub Copilot displays responses. Responses include code suggestions, explanations, interactive elements, and other information related to your prompt.
31
31
32
32
- Attach Context button: The Attach Context button (paperclip icon) is located in the bottom section of the Chat view. You can use this button to attach files, selections, symbols, or other resources from your workspace as context for your chat prompt.
33
33
34
-
- Ask Copilot: The Ask Copilot text box is where you enter your prompts. When you're using ask mode, prompts can include chat participants, slash commands, and chat variables.
34
+
- Ask Copilot: The Ask Copilot text box is where you enter your prompts. When you're using Ask agent mode, prompts can include chat participants, slash commands, and chat variables.
35
35
36
-
In ask mode, you can use chat participants to specify the context of your questions. For example, you can use `@workspace` to indicate that the context is your workspace files.
36
+
In Ask agent mode, you can use chat participants to specify the context of your questions. For example, you can use `@workspace` to indicate that the context is your workspace files.
37
37
38
38
- Start Voice Chat button: The Start Voice Chat button is located to the left of the Ask Copilot textbox. You can use this button to enable or disable voice interactions with GitHub Copilot. When voice interactions are enabled, you can use your voice to ask GitHub Copilot questions.
39
39
@@ -81,11 +81,11 @@ The Quick Chat feature allows you to ask a quick question and get back into what
81
81
82
82
To access the Quick Chat window, you can select **Quick Chat** from the GitHub Copilot menu, or use the **Ctrl+Shift+Alt+L** keyboard shortcut.
83
83
84
-
The Quick Chat window supports the same context features provided by the Chat view in ask mode, but it doesn't provide a way to manage the chat history. The Quick Chat window is designed for quick questions and answers, so it doesn't include all of the features provided by the Chat view.
84
+
The Quick Chat window supports the same context features provided by the Chat view in Ask agent mode, but it doesn't provide a way to manage the chat history. The Quick Chat window is designed for quick questions and answers, so it doesn't include all of the features provided by the Chat view.
85
85
86
86

87
87
88
-
You can use the Quick Chat for the same types of questions as the Chat view in ask mode. However, the Quick Chat is best suited for quick questions that aren't part of a larger conversation.
88
+
You can use the Quick Chat for the same types of questions as the Chat view in Ask agent mode. However, the Quick Chat is best suited for quick questions that aren't part of a larger conversation.
Copy file name to clipboardExpand all lines: learn-pr/wwl-azure/implement-code-improvements-using-github-copilot-tools/includes/6-refactor-code-github-copilot-chat-modes.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -130,7 +130,7 @@ Consider the following criteria to choose between Plan and Agent:
130
130
- Task complexity: The Agent is better suited for complex tasks that require both code edits and the invocation of tools or terminal commands.
131
131
- Duration: The Agent uses multiple steps to process a request, so it might take longer to generate a response. For example, to determine the relevant context and files to edit, determine the plan of action, and more.
132
132
- Self-healing: The Agent evaluates the outcome of the generated edits and might iterate multiple times to resolve intermediate issues.
133
-
- Request quota: When using the Agent mode, depending on the complexity of the task, one prompt might result in many requests to the backend.
133
+
- Request quota: When you're using the Agent mode, depending on the complexity of the task, one prompt might result in many requests to the backend.
0 commit comments