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: docs/editor/github-copilot.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
@@ -202,7 +202,7 @@ To make it easy to work with the Chat view, there are several keyboard shortcuts
202
202
203
203
To further help Copilot give you more relevant answers, you can indicate the scope and intent of your question through **agents** and **slash commands**.
204
204
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:
206
206
207
207
* `@workspace` has context about the code in your workspace and can help you navigate it, finding relevant files or classes.
208
208
* `@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
271
271
272
272
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.
273
273
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.
@@ -348,7 +348,7 @@ This section is similar to the earlier [Getting the most out of Copilot](#gettin
348
348
* Use `@workspace` if you want to ask questions about your open project.
349
349
* Use `@vscode` if you want to know about VS Code features and APIs.
350
350
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.
352
352
353
353
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.
0 commit comments