GitHub Copilot keyboard shortcuts
GitHub Copilot's documented keys live inside the host IDE. These entries use GitHub's current Visual Studio Code reference for inline suggestions and the separate pane, with the same suggestion controls also documented for JetBrains IDEs.
Windows, macOS, Linux · 8 shortcutsInline suggestions
Accept, dismiss, move through, or request a Copilot suggestion while editing code in the host IDE.
| Action | Windows | macOS | Linux |
|---|---|---|---|
| Accept an inline suggestion | Tab | Tab | Tab |
| Dismiss an inline suggestion | Esc | Esc | Esc |
| Show the next inline suggestion | Alt] | Option] | Alt] |
| Show the previous inline suggestion | Alt[ | Option[ | Alt[ |
| Trigger an inline suggestion | Alt\ | Option\ | Alt\ |
Copilot pane
Open the separate Copilot suggestions pane when the inline result is not the one you want to use.
| Action | Windows | macOS | Linux |
|---|---|---|---|
| Open GitHub Copilot for additional suggestionsGitHub's Visual Studio Code table publishes Ctrl+Enter for all three platforms. JetBrains uses Option or Alt+Enter instead. | CtrlEnter | CtrlEnter | CtrlEnter |