๐Ÿ’ฌ

Chat Agents (@workspace)

GitHub Copilot

Use the entire codebase as context

Copilot Chat's agent system leverages various context sources. @workspace searches the entire codebase, @terminal references terminal output, and @vscode references VS Code settings. Combining agents yields more accurate answers.

How to Use

1

Ask about the entire codebase with @workspace in Copilot Chat

2

Reference recent terminal output with @terminal

3

Ask about VS Code settings/extensions with @vscode

4

Explicitly add specific files to context with #file:filename

Tags

#chat #agent #workspace #terminal #context

Source

GitHub Docs