Skip to content

Commit cc7323f

Browse files
committed
Update titles & description & intro
1 parent 9fe2738 commit cc7323f

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

docs/ide/copilot-chat-context-references.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 'Manage chat context with references'
3-
description: Use references to set context and get better answers in GitHub Copilot Chat.
3+
description: Use references to form better questions and get better answers with scoped context in GitHub Copilot Chat.
44
ms.date: 7/31/2025
55
ms.topic: how-to
66
author: anandmeg
@@ -15,7 +15,7 @@ monikerRange: '>= vs-2022'
1515
---
1616
# Manage chat context with references
1717

18-
Scope your questions to [**GitHub Copilot Chat**](visual-studio-github-copilot-chat.md) by using references to get better answer, in addition to its implicit contextual knowledge.
18+
Scope your questions to [**GitHub Copilot Chat**](visual-studio-github-copilot-chat.md) by using references to get better answers, in addition to its implicit contextual knowledge.
1919

2020
In this article, you learn how to get better answers by providing more information to Copilot Chat:
2121

docs/ide/copilot-chat-context.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 'Customize chat responses'
3-
description: Use slash commands to form better questions and get better answers with scoped context in GitHub Copilot Chat.
3+
description: Use custom instructions and prompt files to customize responses and use slash commands to set quick context for common tasks.
44
ms.date: 7/31/2025
55
ms.topic: how-to
66
author: anandmeg
@@ -15,11 +15,12 @@ monikerRange: '>= vs-2022'
1515
---
1616
# Customize chat responses and set context
1717

18-
You can ask [**GitHub Copilot Chat**](visual-studio-github-copilot-chat.md) to give you code suggestions, explain code, generate unit tests, and suggest code fixes. In addition to your prompt, Copilot uses additional context, like the code in your current file, any attached images, and the chat history, to generate a response.
18+
You can ask [**GitHub Copilot Chat**](visual-studio-github-copilot-chat.md) to give you code suggestions, explain code, generate unit tests, and suggest code fixes. Chat in Visual Studio can give you responses and generate code that matches your coding practices and project requirements, if you give it the right context. Instead of repeatedly adding this information in every chat prompt, you can store this context in files and automatically include it in every chat request.
1919

2020
In this article, you learn how to get better answers by providing more information to Copilot Chat:
21-
+ Use [slash commands](#slash-commands) to quickly specify common tasks like `/explain` to get code explanations.
22-
+ Use the [guided chat experience](#prompting-guidance) and [custom instructions](#enable-custom-instructions) to refine context.
21+
+ Use [slash commands](#slash-commands) to quickly specify common tasks like `/explain` to get code explanations
22+
+ Use the [guided chat experience](#prompting-guidance) to refine context
23+
+ Use [custom instructions](#enable-custom-instructions) and [prompt files](#use-prompt-files) to customize responses
2324

2425
Learn more about [AI-assisted development in Visual Studio](../ide/ai-assisted-development-visual-studio.md) and how to [use Copilot Chat in Visual Studio](../ide/visual-studio-github-copilot-chat.md#use-copilot-chat-in-visual-studio).
2526

@@ -62,7 +63,7 @@ To use a prompt file:
6263

6364
:::image type="content" source="media/vs-2022/copilot-chat-context/prompt-files.png" alt-text="Screenshot of using prompt files in GitHub Copilot Chat.":::
6465

65-
## <a name="slash-commands"></a>Use slash commands in Copilot Chat for common tasks
66+
## <a name="slash-commands"></a>Use slash commands to set context for common tasks
6667

6768
Slash commands in Copilot Chat help you set the intent quickly for common development tasks. By using specific slash commands to form your question, you can get better answers without having to write out long questions.
6869

0 commit comments

Comments
 (0)