Keyboard Shortcuts
Inline Code Edits
Trigger AI-powered code modifications for selected ranges
The inline code edits shortcut allows you to modify highlighted code ranges using AI assistance.
Shortcut Keys
Platform | Shortcut |
---|---|
Mac | Option + X (with text selected) |
Windows/Linux | Alt + X (with text selected) |
Usage
- Select/highlight the code range you want to modify
- Press the shortcut to open the edit prompt
- Describe your desired changes
- Review and accept/reject the AI suggestions
This uses the same shortcut as Code Completion, but triggers different behavior when text is selected.