</> CodeAgents

Cheat Sheet

GitHub Copilot

Your AI pair programmer

Learn More

Inline Completions

TabAccept suggestion (ghost text)
EscapeDismiss suggestion
Alt+]Cycle to next suggestion
Alt+[Cycle to previous suggestion
Alt+→Accept word by word
Ctrl+EnterOpen Completions Panel (all suggestions)

IDE Shortcuts

Cmd+I (VS Code)Open inline chat at cursor
Cmd+Shift+I (VS Code)Open Copilot Chat panel
Ctrl+I (Visual Studio)Open inline chat
Alt+\ (VS Code)Trigger completions manually
Cmd+Shift+P > CopilotAll Copilot commands in palette

Slash Commands

/fixFix selected code
/explainExplain selected code
/testsGenerate tests for selection
/docAdd documentation comments
/newCreate a new workspace / file
/workspaceChat about the entire workspace
/terminalHelp with terminal commands
/searchSearch the codebase semantically
/startDebuggingConfigure and start a debug session
/helpShow Copilot usage help

Chat Participants (@)

@workspaceChat with full workspace awareness
@githubSearch GitHub repos, issues, PRs
@vscodeAsk about VS Code features / settings
@terminalGet help with terminal commands

Context References (#)

#fileAttach a specific file to chat
#editorReference active editor content
#selectionReference current text selection
#terminalOutputInclude terminal output in context
#problemsInclude current errors and warnings
#changesInclude current git changes (diff)
#codebaseReference full indexed codebase
#fetch <url>Fetch web content into context

GitHub Integration

Copilot WorkspaceAutonomous multi-file agent on github.com
PR SummaryAuto-generate PR description
Code ReviewAI review of open PRs
copilot-instructions.mdCustom instructions file for the repo
Copilot ExtensionsThird-party tool integrations
Model pickerSwitch AI model inside the editor

code-agents.oday-bakkour.com · GitHub Copilot · Last verified: April 2026