You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/autocomplete/how-to-customize.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,6 @@ keywords: [customize]
5
5
sidebar_position: 5
6
6
---
7
7
8
-
Continue offers a handful of settings to customize autocomplete behavior. For the most part, these options can be found in the [User Settings Page](../customize/deep-dives/settings.md).
8
+
Continue offers a handful of settings to customize autocomplete behavior. Visit the [User Settings Page](../customize/deep-dives/settings.md) to manage these settings.
9
9
10
10
For a comprehensive guide on all configuration options and their impacts, see the [Autocomplete deep dive](../customize/deep-dives/autocomplete.mdx).
Copy file name to clipboardExpand all lines: docs/docs/customize/deep-dives/docs.mdx
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -215,7 +215,10 @@ If your documentation is private, you can skip the default crawler and use a loc
215
215
</TabItem>
216
216
</Tabs>
217
217
218
-
The default local crawler is a lightweight tool that cannot render sites that are dynamically generated using JavaScript. If your sites need to be rendered, you can enable the experimental `Use Chromium for Docs Crawling` feature from your [User Settings Page](./settings.md) This will download and install Chromium to `~/.continue/.utils`, and use it as the local crawler.
218
+
:::info
219
+
Chromium crawling has been deprecated
220
+
{/* The default local crawler is a lightweight tool that cannot render sites that are dynamically generated using JavaScript. If your sites need to be rendered, you can enable the experimental `Use Chromium for Docs Crawling` feature from your [User Settings Page](../deep-dives/settings.md) This will download and install Chromium to `~/.continue/.utils`, and use it as the local crawler. */}
221
+
:::
219
222
220
223
Further notes:
221
224
@@ -401,4 +404,4 @@ The following configuration example includes:
401
404
</TabItem>
402
405
</Tabs>
403
406
404
-
This could also involve enabling Chromium as a backup for local documentation the [User Settings Page](./settings.md).
407
+
{/*This could also involve enabling Chromium as a backup for local documentation the [User Settings Page](../deep-dives/settings.md).*/}
Copy file name to clipboardExpand all lines: docs/docs/customize/deep-dives/settings.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,21 +14,21 @@ Which takes you to this page:
14
14
15
15

16
16
17
-
Click the `Open Assistant configuration` button to open your configuration file. See the [Configuration Reference](../../reference.md) for more information.
18
-
19
17
Below that, the following settings which are not part of a configuration file are available:
20
18
19
+
-`Show Session Tabs`: If on, displays tabs above the chat as an alternative way to organize and access your sessions. Off by default
21
20
-`Wrap Codeblocks`: If on, enables text wrapping in code blocks. Off by default.
22
-
-`Display Raw Markdown`: If on, shows raw markdown in responses. Off by default.
23
-
-`Allow Anonymous Telemetry`: If on, allows Continue to send anonymous telemetry. **On** by default.
24
-
-`Disable Indexing`: Prevents indexing of the codebase, useful primarily for debugging purposes. Off by default.
25
-
-`Disable Session Titles`: Prevents generating summary titles for each chat session when turned on. Off by default
26
-
-`Response Text to Speech`: If on, reads LLM responses aloud with TTS. Off by default.
27
21
-`Show Chat Scrollbar`: If on, enables a scrollbar in the chat window. Off by default.
28
-
-`Use autocomplete cache`: If on, caches completions.
29
-
-`Use Chromium for Docs Crawling`: Use Chromium to crawl docs locally. Useful if the default Cheerio crawler fails on sites that require JavaScript rendering. Downloads and installs Chromium to ~/.continue/.utils. Off by default
30
-
-`Codeblock Actions Position`: Sets the position for the actions that show when hovering over codeblocks. Defaults to `top`
31
-
-`Multiline Autocompletions`: Controls multiline completions for autocomplete. Can be set to `always`, `never`, or `auto`. Defaults to `auto`
22
+
-`Text-to-Speech Output`: If on, reads LLM responses aloud with TTS. Off by default.
23
+
-`Enable Session Titles`: If on, generates summary titles for each chat session after the first message, using the current Chat model. On by default.
24
+
-`Format Markdown`: If off, shows responses as raw text. On by default.
25
+
-`Allow Anonymous Telemetry`: If on, allows Continue to send anonymous telemetry. **On** by default.
26
+
-`Enable Indexing`: Enables indexing of the codebase for the @codebase and @code context providers. **On** by default.
32
27
-`Font Size`: Specifies base font size for UI elements
33
-
-`Workspace prompts path`: Where to find Prompt Files in a workspace - replaces the default .continue/prompts
28
+
-`Multiline Autocompletions`: Controls multiline completions for autocomplete. Can be set to `always`, `never`, or `auto`. Defaults to `auto`
34
29
-`Disable autocomplete in files`: List of comma-separated glob pattern to disable autocomplete in matching files. E.g., "\_/.md, \*/.txt"
30
+
31
+
<!-- - `Use autocomplete cache`: If on, caches completions. -->
32
+
<!-- - `Use Chromium for Docs Crawling`: Use Chromium to crawl docs locally. Useful if the default Cheerio crawler fails on sites that require JavaScript rendering. Downloads and installs Chromium to ~/.continue/.utils. Off by default -->
33
+
<!-- - `Codeblock Actions Position`: Sets the position for the actions that show when hovering over codeblocks. Defaults to `top` -->
34
+
<!-- - `Workspace prompts path`: Where to find Prompt Files in a workspace - replaces the default .continue/prompts -->
Copy file name to clipboardExpand all lines: docs/docs/customize/model-roles/intro.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,10 +22,10 @@ These roles can be specified for a `config.yaml` model block using `roles`. See
22
22
23
23
## Selecting model roles
24
24
25
-
You can control which of the models in your assistant for a given role will be currently used for that role. Visit the [Settings page](../deep-dives/settings.md)and go to the **Active Models** section.
25
+
You can control which of the models in your assistant for a given role will be currently used for that role. Above the main input, click the 3 dots and then the cube icon to expand the `Models` section. Then you can use the dropdowns to select an active model for each role.
26
26
27
27

28
28
29
29
:::info
30
-
Note that `roles`do not exist within `config.json` - they are infered by the top level keys like `embeddingsProvider`
30
+
`roles`are not explicitly defined within `config.json` (deprecated) - they are infered by the top level keys like `embeddingsProvider`
Copy file name to clipboardExpand all lines: docs/docs/edit/context-selection.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,10 +9,10 @@ keywords: [edit, cmd i, works]
9
9
10
10
The input you provide is included in the prompt.
11
11
12
-
## Highlighted code
12
+
## Code to Edit
13
13
14
-
The highlighted code you’ve selected is included in the prompt. This is the only section of code that the model will attempt to edit.
14
+
The **entire contents** of each file (the current file for Jetbrains inline Edit, each `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.
15
15
16
-
## Current file
16
+
## Context Providers
17
17
18
-
The entire contents of the file containing your highlighted code selection are included as additional context. This gives the model a broader understanding of the code's environment. If the file is too large to fit within the context window, we will trim the file's contents to fit.
18
+
In VS Code Edit mode, you can use `@` to add context using [Context Providers](../customize/context-providers.mdx), similar to [Chat](../chat/context-selection.md). Some context providers may be disabled in Edit mode.
Using the highlighted code, the contents of the file containing your highlight, and your input instructions, we prompt the model to edit the code according to your instructions. No other additional context is provided to the model.
8
+
Using the highlighted code, the contents of the current file containing your highlight, and your input instructions, we prompt the model to edit the code according to your instructions. No other additional context is provided to the model.
9
9
10
10
The model response is then streamed directly back to the highlighted range in your code, where we apply a diff formatting to show the proposed changes.
11
11
12
12
If you accept the diff, we remove the previously highlighted lines, and if you reject the diff, we remove the proposed changes.
13
13
14
-
If you would like to view the exact prompt that is sent to the model during an edit, you can [view this in the prompt logs](../troubleshooting.mdx#check-the-logs).
14
+
If you would like to view the exact prompt that is sent to the model during an edit, you can [find it in the prompt logs](../troubleshooting.mdx#check-the-logs).
Copy file name to clipboardExpand all lines: docs/docs/edit/how-to-customize.mdx
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,10 @@ description: How to customize Edit
5
5
keywords: [edit, cmd i, works]
6
6
---
7
7
8
-
importTabItemfrom"@theme/TabItem";
9
-
importTabsfrom"@theme/Tabs";
8
+
## Setting active Edit/Apply model
10
9
11
-
You can configure a particular model to be used for Edit by setting/overriding `roles` in the model's YAML config. See [Edit role](../customize/model-roles/edit.mdx) for more details.
10
+
You can configure particular models from your Assistant to be used for Edit and Apply requests (see [How it Works](./how-it-works.md)). Above the main input, click the 3 dots and then the cube icon to expand the `Models` section. Then, you can use the dropdowns to select models to use for Edit and Apply.
11
+
12
+

13
+
14
+
See [Edit role](../customize/model-roles/edit.mdx) and [Apply role](../customize/model-roles/apply.mdx) for more details.
Copy file name to clipboardExpand all lines: docs/docs/edit/how-to-use-it.md
+45-3Lines changed: 45 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,17 +10,17 @@ keywords: [edit, cmd l, use]
10
10
11
11
## How to use it
12
12
13
-
Edit is a convenient way to modify code without leaving your current file. Highlight a block of code, describe your code changes, and a diff will be streamed inline to your file which you can accept or reject.
13
+
Edit is a convenient way to make quick changes to specific code and files. Select code, describe your code changes, and a diff will be streamed inline to your file which you can accept or reject.
14
14
15
-
Edit is best used for small, quick changes such as:
15
+
Edit is recommended for small, targeted changes, such as
16
16
17
17
- Writing comments
18
18
- Generating unit tests
19
19
- Refactoring functions or methods
20
20
21
21
## Highlight code and activate
22
22
23
-
Highlight the block of code you would like to modify, and press <kbd>cmd/ctrl</kbd> + <kbd>i</kbd> to activate the edit input.
23
+
Highlight the block of code you would like to modify and press <kbd>cmd/ctrl</kbd> + <kbd>i</kbd> to active Edit mode. You can also enter Edit mode by pressing <kbd>cmd/ctrl</kbd> + <kbd>i</kbd> with no code highlighted.
24
24
25
25
## Describe code changes
26
26
@@ -35,3 +35,45 @@ You can navigate through each proposed change, accepting or rejecting them using
35
35
You can also accept or reject all changes at once using <kbd>cmd/ctrl</kbd> + <kbd>shift</kbd> + <kbd>enter</kbd> (to accept) or <kbd>cmd/ctrl</kbd> + <kbd>shift</kbd> + <kbd>delete/backspace</kbd> (to reject).
36
36
37
37
If you want to request a new suggestion for the same highlighted code section, you can use <kbd>cmd/ctrl</kbd> + <kbd>i</kbd> to re-prompt the model.
38
+
39
+
## VS Code
40
+
41
+
In VS Code, Edit is implemented in the extension sidebar with a similar interface to [Chat](../chat/how-it-works.md), and you can also enter Edit mode by using the Mode Selector below the main Chat input to select `Edit`.
42
+
43
+

44
+
45
+
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).
46
+
47
+
### Adding Code to Edit
48
+
49
+
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.
If one file/range is present in `Code to Edit` on submission, Continue will prompt the Edit model and then automatically stream the diff into the editor.
62
+
63
+

64
+
65
+
### Multi-File Edit
66
+
67
+
If multiple files/ranges are present in `Code to Edit` on submission, Continue will prompt the Edit model to output codeblocks per-file, which the user can then choose to apply and accept/reject independently.
68
+
69
+
**_Generated Content_**
70
+
71
+

72
+
73
+
**_Diffs_**
74
+
75
+

76
+
77
+
## Jetbrains
78
+
79
+
In Jetbrains, Edit is implemented as an inline popup (see the header GIF example) for single-file edit. Multi-file edit mode is not currently implemented.
Copy file name to clipboardExpand all lines: docs/docs/edit/model-setup.md
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,6 @@ description: How to set up an Edit model
5
5
keywords: [edit, cmd l, model]
6
6
---
7
7
8
-
By default, Edit uses the [same model as Chat](../chat/model-setup.mdx) since we recommend a similar, 400B+ parameter model or one of the frontier model for code edits.
8
+
By default, Edit uses the [same model as Chat](../chat/model-setup.mdx), and we recommend [Claude 3.7 Sonnet](https://hub.continue.dev/anthropic/claude-3-7-sonnet) from Anthropic. Visit [the Hub](https://hub.continue.dev/explore/models?roles=edit) to explore other Edit models.
9
9
10
-
Visit [the hub](https://hub.continue.dev/explore/models?roles=edit) to explore Edit models.
11
-
12
-
You can configure a different model to be used for edits by updating your [configuration](../customize/model-roles/edit.mdx).
10
+
For the best Edit experience, we also recommend setting up an Apply model, specially trained to apply diffs to files. We recommend [Morph v0 Fast Apply](https://hub.continue.dev/morphllm/morph-v0) or [Relace Instant Apply](https://hub.continue.dev/relace/instant-apply). Explore other apply models on the [the Hub](https://hub.continue.dev/explore/models?roles=apply).
0 commit comments