While getting inline suggestions from Amazon Q, you can use keyboard shortcuts for common actions you take, such as initiating Amazon Q or accepting a recommendation.
Choose the integrated development environment (IDE) where you are developing code to see keyboard shortcuts for your IDE.
Action | Keyboard shortcut |
---|---|
Manually initiate Amazon Q |
MacOS: Option + C Windows: Alt + C |
Accept a recommendation |
Tab |
Next recommendation |
Right arrow |
Previous recommendation |
Left arrow |
Reject a recommendation |
ESC, backspace, or keep typing and the recommendation will disappear as soon as there is a character mismatch. |
Accept next word |
Option + right arrow |
To change keybindings in VS Code, see Key Bindings for Visual Studio Code
Note
The inline suggestions toolbar in VS Code is disabled by default. For more information, see Redesigned inline suggestions toolbar