Cmd+K (Ctrl+K on Windows) opens inline editing. Select code, press Cmd+K, and describe your change.
Best for: adding error handling to a function, refactoring a variable name, fixing a specific bug, converting syntax (arrow functions to regular functions).
The AI sees only your selection and immediate context. This focused scope makes changes precise and predictable.