Quick Edit
Select a bounded region, press Ctrl/Cmd+K, and describe the rewrite you want directly inside the editor.
Quick Edit is V3Code’s focused inline rewrite surface. Select the code you want to
change, press Ctrl + K on Windows/Linux or Cmd + K on macOS, and describe the result
in plain language without leaving the file.
It is deliberately narrower than chat: the selected lines are the edit boundary.
Make an inline edit
Section titled “Make an inline edit”Select the target
Highlight the lines you want to rewrite. If the selection is empty, Quick Edit uses the current line.
Open Quick Edit
Press
Cmd + Kon macOS orCtrl + Kon Windows/Linux. An instruction box appears directly below the selected region.Describe the outcome
Write a concrete instruction such as “validate empty email addresses and return the existing error type” or “convert this callback to async/await without changing the public signature.” Press
Enterto submit; useShift + Enterfor a new line.Review the diff
V3Code streams the replacement into an inline diff. Keep the result only after you have inspected the changed lines. Press
Escapeto close or cancel the Quick Edit zone.
What context it receives
Section titled “What context it receives”Quick Edit sends the selected lines together with bounded code before and after the selection. The prompt instructs the model to replace only the selected region and to preserve balanced syntax around it.
Because the boundary is explicit, Quick Edit is ideal for:
- Rewriting one function or branch.
- Adding validation inside an existing handler.
- Converting a small callback or loop to a clearer form.
- Tightening types or error handling in a known region.
- Reworking selected prose or documentation.
Use V3Code Tab when you want promptless completion at the cursor. Use Turbo Draft when the entire file contains enough intent for a larger draft. Use Agent mode when the request must search other files, run commands, or verify the full application.
Model selection
Section titled “Model selection”Quick Edit has its own model selector in the inline instruction box. It does not have to use the same model as Chat, Autocomplete, V Go, Apply, or Turbo Draft.
That separation lets you choose a fast, economical model for bounded rewrites while reserving a deeper model for agent work. The context and request go to the provider of the Quick Edit model you selected.
Write better instructions
Section titled “Write better instructions”Good Quick Edit instructions name the target behavior and the important constraint:
| Vague | Better |
|---|---|
| “fix this” | “Return the existing ValidationError when email is empty.” |
| “make async” | “Convert this callback to async/await; keep the function signature and error mapping.” |
| “clean up” | “Remove the duplicate branch without changing the order of side effects.” |
| “add types” | “Replace any with the existing Invoice and LineItem types; do not add new interfaces.” |
You do not need to paste the surrounding file into the instruction box; V3Code already includes bounded prefix, selection, and suffix context.
Troubleshooting
Section titled “Troubleshooting”Quick Edit changed too much
Cancel the zone, make a smaller line selection, and restate the constraint. For a rename across references, use the language-aware Rename Symbol action instead of a generative rewrite.
The replacement breaks surrounding syntax
Reject it and retry with the required signature, return shape, or bracket constraint stated explicitly. Quick Edit asks the model to balance the replacement, but the result still requires review and project validation.
Nothing happens after submission
Confirm a model is selected in the Quick Edit box and that its provider credentials or local service are available. Quick Edit has a separate model slot from Chat.
Another review is already open
Finish or close the existing Quick Edit or Turbo Draft review in that file before starting a second overlapping edit transaction.