Skip to content

Commit 7c5a8a0

Browse files
authored
Merge pull request #8441 from microsoft/selection-context
Add #selection context item
2 parents 7ba7eb9 + f3a4878 commit 7c5a8a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ VS Code supports the following context items:
3535
| #fetch | Get the contents of a web page. |
3636
| #githubRepo | Perform a web search within a GitHub repo. |
3737
| #problems | Get the list of problems for the current workspace. |
38+
| #selection | Get the text selection for the active editor. |
3839
| #searchResults | Get the results from the Search view. |
3940
| #terminalLastCommand | Get the last run terminal command and its status. |
4041
| #terminalSelection | Get the terminal text selection. |

0 commit comments

Comments
 (0)