The inline code edits shortcut allows you to modify highlighted code ranges using AI assistance.

Shortcut Keys

PlatformShortcut
MacOption + X (with text selected)
Windows/LinuxAlt + X (with text selected)

Usage

  1. Select/highlight the code range you want to modify
  2. Press the shortcut to open the edit prompt
  3. Describe your desired changes
  4. Review and accept/reject the AI suggestions

This uses the same shortcut as Code Completion, but triggers different behavior when text is selected.