Cmd/Ctrl + I for in-line code generations and edits
⌘+I
on Mac or Ctrl+I
on Windows/Linux.
You can enter a prompt in natural language and hit the Submit button (or ⌘+⏎
/Ctrl+⏎
) to forward the instruction to the AI.
If you highlight a section of code before invoking Command, then the AI will edit the selection spanned by the highlighted lines.
Otherwise, it will generate code at your cursor’s location.
Cmd/Ctrl+Enter
/Cmd/Ctrl+Delete
)
Cmd/Ctrl+I
) to generate the proper CLI syntax using prompts in natural language.
Diffable
and implements the Myers diff algorithm”
that contains a clear objective and references to relevant context may help the model even more.