Cheat Sheet
GitHub Copilot
Your AI pair programmer
Inline Completions
TabAccept suggestion (ghost text)EscapeDismiss suggestionAlt+]Cycle to next suggestionAlt+[Cycle to previous suggestionAlt+→Accept word by wordCtrl+EnterOpen Completions Panel (all suggestions)IDE Shortcuts
Cmd+I (VS Code)Open inline chat at cursorCmd+Shift+I (VS Code)Open Copilot Chat panelCtrl+I (Visual Studio)Open inline chatAlt+\ (VS Code)Trigger completions manuallyCmd+Shift+P > CopilotAll Copilot commands in paletteSlash 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 helpChat Participants (@)
@workspaceChat with full workspace awareness@githubSearch GitHub repos, issues, PRs@vscodeAsk about VS Code features / settings@terminalGet help with terminal commandsContext 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 contextGitHub Integration
Copilot WorkspaceAutonomous multi-file agent on github.comPR SummaryAuto-generate PR descriptionCode ReviewAI review of open PRscopilot-instructions.mdCustom instructions file for the repoCopilot ExtensionsThird-party tool integrationsModel pickerSwitch AI model inside the editorcode-agents.oday-bakkour.com · GitHub Copilot · Last verified: April 2026