Chat & inline edit
Three places to talk to the model.
1. Sidebar chat
The persistent panel on the right. Multi-turn, with attachments, tool use, and a "Apply all" diff view.
⌃ ⌘ I— focus chat input⌘ Enter— send⌘ N— new conversation@file— attach a file from the workspace@code— attach the current selection
2. Cmd+K inline edit
Select code, press ⌘ K, describe the change. The model edits in place; you accept (Tab) or reject (Esc).
Best for surgical changes — rename, refactor, add error handling.
3. Quick chat
⌘ I opens an inline chat anchored to your cursor. Same diff workflow as the sidebar but without leaving your file.
Apply, diff, undo
Every model-suggested edit goes through a diff view. Apply selectively, review hunk-by-hunk, or hit ⌘ Z to undo all changes from a single response.
Attachments
- Files — drag from explorer or use
@file. - Images — paste screenshots into the input.
- Terminal — right-click terminal output → "Add to chat".
- Problems — right-click a diagnostic → "Fix with CodexaX".