Inline Edit & Chat
Inline edit (Cmd-K)
Section titled “Inline edit (Cmd-K)”Select some code, press Cmd-K (Ctrl-K on Windows/Linux), and type an instruction describing the change you want. The model’s proposed rewrite appears right there in the editor as a red (old)/green (new) diff — press Enter to accept it, Esc to reject it and leave your code untouched.
Inline chat (Ctrl-I)
Section titled “Inline chat (Ctrl-I)”A quick way to ask a question without opening the chat panel. Press Ctrl-I (works with or without a selection) and type your question in the popup box. If you have code selected, xpreiIDE asks about that selection specifically; otherwise it’s a general question. The answer appears in your chat history, same as if you’d typed it there.
Quick actions
Section titled “Quick actions”Right-click selected code (or use the matching slash command in chat) for five one-click prompts:
- Explain Selection — what does this code do.
- Fix Selection — find and fix bugs in it.
- Generate Tests for Selection — write unit tests covering the main cases and edge cases.
- Add Comments to Selection — add clear comments explaining the non-obvious parts.
- Refactor Selection — clean it up without changing its behavior.
Each seeds a ready-made prompt into chat with your selection attached, so you get a good answer without having to write the request yourself.