Skip to content

Commit ef30fa8

Browse files
authored
Fix text in github-copilot.md (microsoft#6939)
* Fix text in github-copilot.md * Update github-copilot.md
1 parent d303c38 commit ef30fa8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/editor/github-copilot.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ To make it easy to work with the Chat view, there are several keyboard shortcuts
202202
203203
To further help Copilot give you more relevant answers, you can indicate the scope and intent of your question through **agents** and **slash commands**.
204204
205-
Agents are like experts who have a specialty that they can help you with, and you can talk to them in the chat by mentioning them with the `@` symbol. Currently, there are two agents:
205+
Agents are like experts who have a specialty that they can help you with, and you can talk to them in the chat by mentioning them with the `@` symbol. Currently, there are the following agents:
206206
207207
* `@workspace` has context about the code in your workspace and can help you navigate it, finding relevant files or classes.
208208
* `@vscode` knows about commands and features in the VS Code editor itself, and can help you use them.
@@ -271,7 +271,7 @@ In any file, you can press `kb(inlinechat.start)` on your keyboard to bring up C
271271
272272
You can ask Copilot questions that emerge as you write and iterate on code, such as "Explain this piece of code" or "How do I add functionality to do X?" If you have code selected in the editor, Copilot will scope your question to the selection.
273273
274-
Several [slash commands](#agents-and-slash-commands) also work in inline chat such as `/explain` to ask Copilot to explain a block of code or `/test` to generate unit tests.
274+
Several [slash commands](#agents-and-slash-commands) also work in inline chat such as `/explain` to ask Copilot to explain a block of code or `/tests` to generate unit tests.
275275
276276
![Inline chat slash command list](images/artificial-intelligence/inline-chat-slash-commands.png)
277277
@@ -348,7 +348,7 @@ This section is similar to the earlier [Getting the most out of Copilot](#gettin
348348
* Use `@workspace` if you want to ask questions about your open project.
349349
* Use `@vscode` if you want to know about VS Code features and APIs.
350350
351-
Slash commands help Copilot Chat understand your **intent** when you ask a question. Are you learning about a code base (`/explain`) or do you want help fixing an issue (`/fix`) or creating test cases (`/test`)? By letting Copilot Chat know what you're trying to do, it can tune its reply to your task and provide helpful commands, settings, and code snippets.
351+
Slash commands help Copilot Chat understand your **intent** when you ask a question. Are you learning about a code base (`/explain`) or do you want help fixing an issue (`/fix`) or creating test cases (`/tests`)? By letting Copilot Chat know what you're trying to do, it can tune its reply to your task and provide helpful commands, settings, and code snippets.
352352
353353
You could write out your project scope or current task with a natural language query but using agents and slash commands is more concise and explicit.
354354

0 commit comments

Comments
 (0)