cmd/ctrl
+ i
to active Edit mode. You can also enter Edit mode by pressing cmd/ctrl
+ i
with no code highlighted, which will default to editing the current file.
cmd/ctrl
+ opt
+ y
(to accept) or cmd/ctrl
+ opt
+ n
(to reject).
You can also accept or reject all changes at once using cmd/ctrl
+ shift
+ enter
(to accept) or cmd/ctrl
+ shift
+ delete/backspace
(to reject).
If you want to request a new suggestion for the same highlighted code section, you can use cmd/ctrl
+ i
to re-prompt the model.
Edit
.
Reject All
and Accept All
buttons that show up in the Chat when diffs are present (see examples below).
Add file
combobox or by clicking the dropdown and selecting Add all open files
to add all files that are currently open in the editor.