About

What Is @workspace in Copilot Chat? Asking Your Whole Codebase

GitHub Copilot

Plus the @terminal and @vscode agents

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

← What Is copilot-instructions.md? Giving Copilot Your Rules What Is Copilot Workspace? From GitHub Issue to Pull Request →