Elffuss BraidHub

kikocis/continue public

docs: cmd + i to Edit update (#6660)

* docs: cmd + i update

* Update docs/features/edit/quick-start.mdx

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>

---------

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
Changeset22e692d8011393f37aabaae6fe2cc07196ab81fa2b759d3788a0da9b1d2dbddc
AuthorBrian Douglas <bdougie@users.noreply.github.com> · 2025-07-21 14:37 -07:00
CommitterGitHub <noreply@github.com> · 2025-07-21 14:37 -07:00
Parents796feb88992e

Browse the files at this changeset

6 files changed

modified docs/features/edit/context-selection.mdx +1 −5
@@ -4,8 +4,4 @@
44
55 ## Code to Edit
66
7-The **entire contents** of each file (the current file for Jetbrains inline Edit, the `Code to Edit` item for VS Code Edit mode) are included in the prompt for context. The model will only attempt to edit the highlighted/specified ranges.
8-
9-## Context Providers
10-
11-In VS Code Edit mode, you can use `@` to add context using [Context Providers](/customize/custom-providers), similar to [Chat](/features/chat/context-selection). Some context providers may be disabled in Edit mode.
7+The **entire contents** of the current file are included in the prompt for context. The model will only attempt to edit the highlighted/specified ranges.
modified docs/features/edit/how-to-customize.mdx +2 −0
@@ -6,4 +6,6 @@
66 2. Click the cube icon to expand the "Models" section
77 3. Use the dropdowns to select models for Edit and Apply
88
9+![Edit model selection](/images/edit-model.png)
10+
911 Learn more about the [Edit role](/customize/model-roles/edit) and [Apply role](/customize/model-roles/apply).
modified docs/features/edit/quick-start.mdx +4 −15
@@ -14,7 +14,7 @@
1414
1515 ## Highlight code and activate
1616
17-Highlight the block of code you would like to modify and press `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.
17+Highlight the block of code you would like to modify and press `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.
1818
1919 ## Describe code changes
2020
@@ -24,23 +24,12 @@
2424
2525 Proposed changes appear as inline diffs within your highlighted text.
2626
27-You can navigate through each proposed change, accepting or rejecting them using `cmd/ctrl` + `opt` + `y` (to accept) or `cmd/ctrl` + `opt` + `n` (to reject).
27+You can navigate through each proposed change, accepting or rejecting them using `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.
2828
29-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).
29+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.
3030
31-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.
31+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.
3232
33-## VS Code
34-
35-In VS Code, Edit is implemented in the extension sidebar with a similar interface to [Chat](/features/chat/how-it-works), and you can also enter Edit mode by using the Mode Selector below the main Chat input to select `Edit`.
36-
37-![edit mode selected](/images/features/edit/images/select-edit-mode-75c8f01861ebe03177986a5b7f21f746.png)
38-
39-You can also reject and accept diffs using the `Reject All` and `Accept All` buttons that show up in the Chat when diffs are present (see examples below).
40-
41-### Adding Code to Edit
42-
43-Along with adding highlighted code, you can also manually add files to edit using the `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.
4433
4534 ## Jetbrains
4635
modified docs/getting-started/overview.mdx +1 −1
@@ -27,7 +27,7 @@
2727 <Tab title="Edit">
2828 [Edit](/features/edit/quick-start) is a convenient way to modify code without leaving your current file
2929
30-![edit](/images/edit-d522442f88e715924b4c9f4c83900e3a.gif)
30+![edit](/images/edit.gif)
3131
3232 <Info>
3333 Learn more about [Edit](/features/edit/quick-start)
added docs/images/edit-model.png +0 −0

Binary content is not shown. View the file.

modified docs/images/edit.gif +0 −0

Not shown: the file is larger than the hub shows, or this page holds as much as it shows. View the file.