Skip to content

Commit f6e5512

Browse files
committed
Update cheat sheet for 1.96
1 parent a3b6193 commit f6e5512

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/copilot/copilot-vscode-features.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ When you send a chat prompt to Copilot, you can attach context to help Copilot u
9393
| `#VSCodeAPI` | Context variable: add the VS Code API as context to your prompt to ask questions related to VS Code extension development. |
9494
| `#file` | Open a Quick Pick to select a file from your workspace and add it as context for your prompt. |
9595
| `#<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. |
9698
| Drag & drop file | Drag & drop a file or editor onto the chat to attach the file as context. |
9799
| Recent files <i class="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). |
98100

@@ -130,6 +132,7 @@ Copilot can generate responses that match the coding style, tools, and developer
130132
| 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. |
131133
| Code-generation instructions <i class="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. |
132134
| Test-generation instructions <i class="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 <i class="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. |
133136

134137
> **Tips**
135138
>
@@ -177,6 +180,7 @@ Use Copilot to help fix coding problems and to get help with configuring and sta
177180
| `/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. |
178181
| `/fixTestFailure` | Ask Copilot for suggestions on how to fix failing tests. |
179182
| `/startDebugging` <i class="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). |
180184

181185
> **Tips**
182186
>

0 commit comments

Comments
 (0)