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/copilot/copilot-vscode-features.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,6 +93,8 @@ When you send a chat prompt to Copilot, you can attach context to help Copilot u
93
93
|`#VSCodeAPI`| Context variable: add the VS Code API as context to your prompt to ask questions related to VS Code extension development. |
94
94
|`#file`| Open a Quick Pick to select a file from your workspace and add it as context for your prompt. |
95
95
|`#<filename>`| Type `#`, followed by a filename, to get filename suggestions for workspace files and attach as context. |
96
+
|`#sym`| Open a Quick Pick to select a symbol from your workspace and add it as context for your prompt. |
97
+
|`#<symbol>`| Type `#`, followed by a symbol name, to get symbol suggestions for workspace files and attach as context. |
96
98
| Drag & drop file | Drag & drop a file or editor onto the chat to attach the file as context. |
97
99
| Recent files <iclass="codicon codicon-beaker"></i> | Automatically include recently opened and edited files in your chat prompt. [Get more info](https://code.visualstudio.com/updates/v1_93#_use-recent-coding-files-as-inline-chat-context-experimental). |
98
100
@@ -130,6 +132,7 @@ Copilot can generate responses that match the coding style, tools, and developer
130
132
| Code-review instructions _(Preview)_| Define instructions for using Copilot to review an editor selection in settings or import from a file. You can define language-specific instructions. |
131
133
| Code-generation instructions <iclass="codicon codicon-beaker"></i> | Define instructions for code generation with GitHub Copilot in settings or import from a file. You can define language-specific instructions. |
132
134
| Test-generation instructions <iclass="codicon codicon-beaker"></i> | Define instructions for test generation with GitHub Copilot in settings or import from a file. You can define language-specific instructions. |
135
+
| Commit-message generation instructions <iclass="codicon codicon-beaker"></i> | Define instructions for commit message generation with GitHub Copilot in settings or import from a file. You can define language-specific instructions. |
133
136
134
137
> **Tips**
135
138
>
@@ -177,6 +180,7 @@ Use Copilot to help fix coding problems and to get help with configuring and sta
177
180
|`/fix`| Ask Copilot for suggestions on how to fix a block of code or how to resolve any compiler or linting errors in your code. For example, to help fix unresolved Node.js package names. |
178
181
|`/fixTestFailure`| Ask Copilot for suggestions on how to fix failing tests. |
179
182
|`/startDebugging` <iclass="codicon codicon-beaker"></i> | Generate a `launch.json` debug configuration file and start a debugging session from the Chat view. [Get more information](https://code.visualstudio.com/updates/v1_93#_start-debugging-from-chat-experimental). |
183
+
|`copilot-debug` command | Terminal command to help you debug your programs. Prefix a run command to start a debugging session for it (for example, `copilot-debug python foo.py`). [Get more information](https://code.visualstudio.com/updates/v1_96#_debugging-with-copilot). |
0 commit comments