Get started with Continue’s Edit feature for making quick, targeted code changes directly in your file using AI suggestions, with keyboard shortcuts for accepting or rejecting modifications
Cmd+I
(Mac) or Ctrl+I
(Windows/Linux) to activate Edit mode. You can also press Cmd/Ctrl+I
with no code highlighted, which will default to inserting code at the current cursor location.
Once you’ve activated Edit, you’re ready to provide instructions.
Cmd+Opt+Y
(Mac) or Ctrl+Alt+Y
(Windows/Linux) to accept, or Cmd+Opt+N
(Mac) or Ctrl+Alt+N
(Windows/Linux) to reject.
You can also accept or reject all changes at once using Cmd+Shift+Enter
(Mac) or Ctrl+Shift+Enter
(Windows/Linux) to accept, or Cmd+Shift+Delete
(Mac) or Ctrl+Shift+Backspace
(Windows/Linux) to reject.
If you want to request a new suggestion for the same highlighted code section, you can use Cmd+I
(Mac) or Ctrl+I
(Windows/Linux) to re-prompt the model.