Essential GitHub Copilot keyboard shortcuts for VS Code. Learn how to accept, dismiss, and cycle through AI code suggestions, use inline chat, and maximize your coding productivity with Copilot.
Search all GitHub Copilot shortcuts interactively
Open Interactive Shortcut Finder| Shortcut | Action | Description |
|---|---|---|
| Tab | Accept Suggestion | Accept Copilot's code suggestion. |
| Esc | Dismiss Suggestion | Dismiss Copilot suggestion. |
| Alt + ] | Next Suggestion | View next alternative Copilot suggestion. |
| Alt + [ | Previous Suggestion | View previous alternative Copilot suggestion. |
| Ctrl + Enter | Open Suggestions List | View 10 Copilot suggestions in a new tab. |
| Alt + \ | Manual Trigger | Manually trigger Copilot when autocomplete doesn't appear. |
| Ctrl + Right | Accept Word by Word | Partially accept suggestion word by word. |
| Shortcut | Action | Description |
|---|---|---|
| Ctrl + Shift + I | Open Copilot Chat | Open the Copilot Chat panel. |
| Ctrl + I | Inline Chat | Open inline Copilot Chat in the editor. |
| /explain | Explain Code | Request explanation of selected code. |
| /fix | Fix Code | Fix issues in selected code. |
| /tests | Generate Tests | Generate tests for selected code. |
| /doc | Generate Docs | Generate documentation for selected code. |
| @workspace | Workspace Context | Ask questions with entire project as context. |
| #file | File Reference | Add a specific file as context. |
| #selection | Selection Reference | Add currently selected code as context. |
| Shortcut | Action | Description |
|---|---|---|
| Ctrl + Shift + Enter | Accept Edit | Accept Copilot's suggested edit. |
| Ctrl + Backspace | Reject Edit | Reject Copilot's suggested edit. |
| Ctrl + Shift + Alt + Enter | Accept All Edits | Accept all Copilot edits across all files. |
Press Tab to accept the full suggestion, or Ctrl+Right Arrow to accept word by word.
Press Ctrl+I (Cmd+I on Mac) to open inline chat for contextual code editing.
Press Esc to dismiss the current suggestion.
Press Alt+] for the next suggestion and Alt+[ for the previous one.
Press Ctrl+Shift+I (Cmd+Shift+I on Mac) to open the Copilot chat panel.
GitHub Copilot includes 9 Copilot Chat shortcuts, including Ctrl + Shift + I (Open Copilot Chat) and Ctrl + I (Inline Chat). See the full list in the Copilot Chat section above.
GitHub Copilot includes 7 AI Code Completion shortcuts, including Tab (Accept Suggestion) and Esc (Dismiss Suggestion). See the full list in the AI Code Completion section above.
Yes — use My Stack to combine GitHub Copilot shortcuts with any other platform on this site into one printable reference, which is useful if your daily workflow spans several tools.
Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"