What Is @workspace in Copilot Chat? Asking Your Whole Codebase
GitHub CopilotPlus 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