Skip to content

Commit 3e8cac5

Browse files
committed
March 2026 freshness updates - markdown only, no image updates in this commit
1 parent 1b65503 commit 3e8cac5

9 files changed

Lines changed: 177 additions & 167 deletions

learn-pr/wwl-azure/get-started-github-copilot/includes/10-examine-chat-view-features.md

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ The Chat view interface includes three sections: a toolbar near the top, a displ
66

77
To open the Chat view, you can select the **Toggle Chat** button (Copilot icon), or use the **Ctrl+Alt+I** keyboard shortcut.
88

9-
## Select the Chat mode
9+
## Select an agent
1010

11-
The Chat view provides the following modes:
11+
The Chat view provides the following built-in agents:
1212

13-
- **Ask**: Use the ask mode to ask questions about your codebase or technology concepts. You can use the ask mode explain code, suggest revisions or fixes, or provide information related to the codebase.
14-
- **Edit**: Use the edit mode to make edits across multiple files in your codebase. You can use edit mode to refactor code, add comments, or make other changes to your code.
15-
- **Agent**: Use the agent mode to start an agentic coding workflow. You can use agent mode to run commands, execute code, or perform other tasks in your workspace.
13+
- **Agent**: Use the Agent to start an agentic coding workflow. You can use the Agent to autonomously edit code, run commands, and perform tasks in your workspace.
14+
- **Plan**: Use the Plan agent to create a structured, step-by-step implementation plan for a task. The Plan agent analyzes your request, breaks it down into discrete steps, and produces a detailed plan that can be handed off to the Agent for implementation.
15+
- **Ask**: Use the Ask agent to ask questions about your codebase or technology concepts. You can use the Ask agent to explain code, suggest revisions or fixes, or provide information related to the codebase.
1616

17-
To switch modes, open the **Set Mode** menu at the bottom of the Chat view, and then select **Ask**, **Edit**, or **Agent**.
17+
To switch agents, open the agent picker at the bottom of the Chat view, and then select **Agent**, **Plan**, or **Ask**.
1818

1919
> [!IMPORTANT]
2020
> When you use the Chat view in 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 Copilot takes on your behalf. The total number of premium requests used is based on the complexity of the task, the number of steps involved, and the model selected.
@@ -46,13 +46,13 @@ When you select the **Add Context** button, a menu appears that allows you to se
4646
- Tools: This option allows you to add tools, for example the #fetch tool, to the chat prompt. You can select one or more tools to add as context.
4747
- Recent Files (list of files you have recently opened in Visual Studio Code).
4848

49-
## Use **Ask** mode
49+
## Use **Ask**
5050

51-
The ask mode is optimized for asking questions about your code projects, coding topics, and general technology concepts. Ask mode is useful when you need to gain an understanding of a codebase, brainstorm ideas, or get help with coding tasks. When you enter a prompt, the AI pair programmer responds with natural language descriptions, code snippets, and other relevant information to help you with your coding tasks. Responses are displayed in the Chat view.
51+
The Ask agent is optimized for asking questions about your code projects, coding topics, and general technology concepts. The Ask agent is useful when you need to gain an understanding of a codebase, brainstorm ideas, or get help with coding tasks. When you enter a prompt, the AI pair programmer responds with natural language descriptions, code snippets, and other relevant information to help you with your coding tasks. Responses are displayed in the Chat view.
5252

53-
### Manage the ask mode's code suggestions
53+
### Manage the Ask agent's code suggestions
5454

55-
When the chat response contains code blocks, you can apply them individually to the corresponding file in your workspace. Copilot performs a smart apply and inserts the changes in the right location within the file.
55+
When the chat response contains code blocks, you can apply them individually to the corresponding file in your workspace. GitHub Copilot performs a smart apply and inserts the changes in the right location within the file.
5656

5757
To apply a code block to your codebase, hover over the code block and select the **Apply in Editor** button. Copilot tries to apply the proposed changes to your existing code.
5858

@@ -66,29 +66,25 @@ If a code block contains a shell command, you can run it directly in the integra
6666

6767
![Screenshot of a Copilot Chat code block with Insert into Terminal option visible.](../media/copilot-chat-view-run-in-terminal.png)
6868

69-
## Use **Edit** mode
69+
## Use **Plan**
7070

71-
The edit mode is optimized for making code update suggestions in your workspace. Edit mode is useful when you need to refactor code, add comments, or make other changes to your code. When you enter a prompt, the AI pair programmer responds with suggested code updates applied directly in the editor, where you can review them in-place, with the full context of the surrounding code. The response includes a description in the Chat view and can include edits across multiple files in your project.
71+
The Plan agent is optimized for creating structured, step-by-step implementation plans for complex tasks. The Plan agent is useful when you want to break down a large task into discrete steps before making changes. When you enter a prompt, the Plan agent analyzes your request, evaluates the codebase, and produces a detailed implementation plan with individual steps.
7272

73-
![Screenshot of Copilot Chat in edit mode showing two updated files.](../media/github-copilot-edit-mode-updated-files.png)
74-
75-
A detailed description of the suggested updates is displayed in the Chat view, along with a list of the updated files. The Chat view provides the option to keep all updates, **Keep**, or undo all updates, **Undo**.
76-
77-
The updated files are opened in the editor with changes clearly highlighted. You can scroll through the suggested updates using up and down arrows, and make the decision to **Keep** or **Undo** individual updates. You can also make any other modifications as needed before accepting updates.
73+
Once the plan is generated, the Chat view displays the structured plan with a list of steps. You can review the plan, provide feedback, and refine the steps before proceeding. When you're satisfied with the plan, you can hand it off to the Agent for implementation.
7874

7975
### Revert edits
8076

81-
After completing a series of code updates, you may decide that you need to roll back some of the changes. For example, you may want to use a different implementation strategy, or Copilot may have gone down the wrong path when generating edits.
77+
After completing a series of code updates, you may decide that you need to roll back some of the changes. For example, you may want to use a different implementation strategy, or GitHub Copilot may have gone down the wrong path when generating edits.
8278

8379
You can use the **Undo Last Edit** control in the Chat view title bar to revert the last edits and return to the state before sending the last request. After you perform an undo of the last edit, you can redo those edits again by using the **Redo Last Edit** control in the Chat view title bar.
8480

8581
![Screenshot of the chat view showing the undo and redo last edit controls.](../media/github-copilot-chat-view-undo-redo-edits.png)
8682

87-
## Use **Agent** mode
83+
## Use **Agent**
8884

89-
The agent mode allows you to specify a high-level task, and let AI autonomously evaluate the request, plan the work needed, and apply the changes to your codebase. Agent mode uses a combination of code editing and tool invocation to accomplish the task you specified. As it processes your request, it monitors the outcome of edits and tools, and iterates to resolve any issues that arise. Code updates are made directly in the editor as iterations are processed. Task progress is monitored and updates are displayed in the Chat view.
85+
The Agent allows you to specify a high-level task, and let AI autonomously evaluate the request, plan the work needed, and apply the changes to your codebase. The Agent uses a combination of code editing and tool invocation to accomplish the task you specified. As it processes your request, it monitors the outcome of edits and tools, and iterates to resolve any issues that arise. Code updates are made directly in the editor as iterations are processed. Task progress is monitored and updates are displayed in the Chat view.
9086

91-
Agent mode uses tools to accomplish specialized tasks while processing a user request. For example, listing the files in a directory, editing a file in your workspace, running a terminal command, or getting the output from the terminal
87+
The Agent uses tools to accomplish specialized tasks while processing a user request. For example, listing the files in a directory, editing a file in your workspace, running a terminal command, or getting the output from the terminal.
9288

9389
### Confirm tool invocations and terminal commands
9490

@@ -100,4 +96,4 @@ Use the **Continue** button's dropdown options to automatically confirm the spec
10096

10197
## Summary
10298

103-
The Chat view in Visual Studio Code is used to manage chat conversations between you and the AI pair programmer. The Chat view interface includes three sections: a toolbar near the top, a display area in the center, and an input and control menu at the bottom. The Chat view provides three modes: Ask, Edit, and Agent. You can add context to your chat session by specifying context within your prompts, using chat variables, or using the **Add Context** button. The ask mode is optimized for asking questions about your code projects, coding topics, and general technology concepts. The edit mode is optimized for making code update suggestions in your workspace. The agent mode allows you to specify a high-level task and let AI autonomously evaluate the request, plan the work needed, and apply the changes to your codebase.
99+
The Chat view in Visual Studio Code is used to manage chat conversations between you and the AI pair programmer. The Chat view interface includes three sections: a toolbar near the top, a display area in the center, and an input and control menu at the bottom. The Chat view provides three built-in agents: Agent, Plan, and Ask. You can add context to your chat session by specifying context within your prompts, using chat variables, or using the **Add Context** button. The Ask agent is optimized for asking questions about your code projects, coding topics, and general technology concepts. The Plan agent is optimized for creating structured, step-by-step implementation plans for complex tasks. The Agent allows you to specify a high-level task and let AI autonomously evaluate the request, plan the work needed, and apply the changes to your codebase.

learn-pr/wwl-azure/get-started-github-copilot/includes/11-examine-inline-chat-smart-actions-quick-chat.md

Lines changed: 12 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
In addition to the Chat view, GitHub Copilot Chat provides several other ways to interact with the AI pair programmer. These include inline chat, smart actions, and quick chat.
1+
In addition to the Chat view, GitHub Copilot Chat provides several other ways to interact with the AI pair programmer. These include inline chat and smart actions.
22

33
## Inline chat
44

55
One of GitHub Copilot Chat's key features is answering questions inline as you're coding. This allows you to harness the power of AI directly within your code editor, with minimal interruption to your development workflow.
66

77
The inline chat feature is only accessible when a file is open in the editor. There are several ways to open an inline chat session:
88

9-
- Select **Editor Inline Chat** from the Copilot Chat menu.
9+
- Select **Editor Inline Chat** from the GitHub Copilot Chat menu.
1010
- Use a keyboard shortcut: **Ctrl+I**.
1111
- Right-click inside the code editor, select **Copilot** from the context menu, and then select **Editor Inline Chat**.
1212

13-
![Screenshot showing how to access the inline chat from the Copilot menu in Visual Studio Code.](../media/inline-chat-1.png)
13+
![Screenshot showing how to access the inline chat from the GitHub Copilot menu in Visual Studio Code.](../media/inline-chat-1.png)
1414

15-
You can use an inline chat session to ask Copilot questions as you write or iterate your code.
15+
You can use an inline chat session to ask GitHub Copilot questions as you write or iterate your code.
1616

1717
When you open an inline chat session, the following interface is presented in the Editor.
1818

@@ -57,9 +57,9 @@ If you like the proposed code updates, you can select **Accept** and continue co
5757

5858
![Screenshot showing suggested update from inline chat in Visual Studio Code.](../media/inline-chat-3.png)
5959

60-
If you don't like the proposed updates, you can ask Copilot Chat to generate another suggestion by selecting the **Rerun...** icon. The Rerun icon is displayed as a circular arrow that appears below the prompt textbox.
60+
If you don't like the proposed updates, you can ask GitHub Copilot Chat to generate another suggestion by selecting the **Rerun...** icon. The Rerun icon is displayed as a circular arrow that appears below the prompt textbox.
6161

62-
If you rerun the prompt and still don't get the results you need, try updating your prompt with additional context. Copilot Chat generates better suggestions when the prompt is clear, succinct, and accurate. You can choose **Discard** to close the inline chat without making any changes.
62+
If you rerun the prompt and still don't get the results you need, try updating your prompt with additional context. GitHub Copilot Chat generates better suggestions when the prompt is clear, succinct, and accurate. You can choose **Discard** to close the inline chat without making any changes.
6363

6464
## Smart actions
6565

@@ -68,12 +68,12 @@ Some tasks are so common that they can be automated. GitHub Copilot Chat include
6868
The following smart actions are available:
6969

7070
- **Explain**: The `Explain` action generates a natural language description of the selected code. This can be useful for understanding the purpose and functionality of a code snippet. The `Explain` action is especially useful if you're working with unfamiliar code or need to explain the code to others.
71-
- **Fix**: The `Fix` action suggests a fix for the selected code. This can be helpful if you encounter an error or issue in your code and need guidance on how to resolve it. Copilot Chat can suggest changes to variables, control structures, or function calls that might resolve the issue.
71+
- **Fix**: The `Fix` action suggests a fix for the selected code. This can be helpful if you encounter an error or issue in your code and need guidance on how to resolve it. GitHub Copilot Chat can suggest changes to variables, control structures, or function calls that might resolve the issue.
7272
- **Review and Comment**: The `Review and Comment` action provides a code review of the selected code. This can be useful for identifying potential issues, improving code quality, and ensuring best practices are followed. The `Review and Comment` action can help you identify bugs, performance bottlenecks, and security vulnerabilities in your code.
7373
- **Generate Docs**: The `Generate Docs` action creates documentation for the selected code. This can be useful for documenting your codebase, especially if you're working on a project with multiple contributors or need to share your code with others.
7474
- **Generate Tests**: The `Generate Tests` action creates unit tests for the selected code. This can be helpful for ensuring the correctness and reliability of your code, especially if you're working on a project with complex logic or critical functionality.
7575

76-
To access the smart actions, right-click on a code snippet in the editor and select the desired action from the Copilot context menu.
76+
To access the smart actions, right-click on a code snippet in the editor and select the desired action from the GitHub Copilot context menu.
7777

7878
![Screenshot showing how to access smart actions in Visual Studio Code.](../media/smart-actions-1.png)
7979

@@ -101,7 +101,7 @@ You can use the **Review This** smart action to check code selections. To use th
101101

102102
1. Select a code snippet that needs review. In this case, the code that generates the list of random numbers.
103103

104-
1. Select **Review This** from the Copilot context menu.
104+
1. Select **Review This** from the GitHub Copilot context menu.
105105

106106
1. Review the suggested updates and select **Accept** to apply the changes.
107107

@@ -137,7 +137,7 @@ Fortunately, you can use the **Fix** smart action to correct the error. To use t
137137

138138
1. Right-click on the code snippet that needs to be fixed. In this case, the code underlined in red.
139139

140-
1. Select **Fix** from the Copilot context menu.
140+
1. Select **Fix** from the GitHub Copilot context menu.
141141

142142
1. Review the suggested fix and select **Accept** to apply the changes.
143143

@@ -160,18 +160,8 @@ int sum = addPrimeNumbersInNumericList(numbers.ToList());
160160
Console.WriteLine(sum);
161161
```
162162

163-
As always, review the suggestion provided by Copilot Chat. There may better solutions. You can select **Accept** to update your code with the proposed fix.
164-
165-
## Quick Chat
166-
167-
The third option that GitHub Copilot Chat provides for chat interactions is Quick Chat.
168-
169-
You can use the Quick Chat feature of GitHub Copilot Chat when you want to have a quick, interactive conversation with the AI. This can be useful when you're trying to solve a problem, need help with understanding a piece of code, or want to brainstorm ideas. It's designed to feel like you're chatting with a fellow developer, making it a great tool for collaborative problem-solving.
170-
171-
To open a Quick Chat window, you can press **Ctrl+Shift+Alt+L** in the Visual Studio Code editor, or you can open Quick Chat from the Copilot Chat menu.
172-
173-
![Screenshot showing how to access the Quick Chat in Visual Studio Code.](../media/quick-chat-1.png)
163+
As always, review the suggestion provided by GitHub Copilot Chat. There may better solutions. You can select **Accept** to update your code with the proposed fix.
174164

175165
## Summary
176166

177-
GitHub Copilot Chat provides several ways to interact with the AI pair programmer, including inline chat, smart actions, and Quick Chat. These features allow you to ask questions, get code suggestions, and perform common coding tasks quickly and easily.
167+
GitHub Copilot Chat provides several ways to interact with the AI pair programmer, including inline chat and smart actions. These features allow you to ask questions, get code suggestions, and perform common coding tasks quickly and easily. Inline chat enables you to ask GitHub Copilot questions directly in the editor without switching context. Smart actions provide predefined operations like explaining code, fixing errors, generating tests, and reviewing code that you can run with a single click from the context menu.

0 commit comments

Comments
 (0)