This repository was archived by the owner on Aug 16, 2025. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork69
Document the "Fix with AI" feature#342
Merged
+91 −11
Merged
Changes fromall commits
Commits
Show all changes
4 commits Select commitHold shift + click to select a range
c0e9be3 Document the "Fix with AI" button
jmacdotorgf3de573 Add an IDE settings page. Add a section to the use-the-IDE docs about…
jmacdotorg9118578 Add the IDE config page to the ToC. Rename the file, since the ToC di…
jmacdotorgba839e6 Update an anchor tag.
jmacdotorgFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
61 changes: 61 additions & 0 deletionsdocs/guides/config-vscode.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,61 @@ | ||
| --- | ||
| title: Configure the VSCode extension | ||
| description: How to configure the CodeRabbit VSCode extension | ||
| --- | ||
| This page is about configuring the CodeRabbit VSCode extension. For more information about the extension, see | ||
| [Review local changes](/code-editors). | ||
| :::note | ||
| The instructions on this page are specific to using the extension with VSCode. If you are instead using a VSCode-compatible editor such as Cursor or Windsurf, then the steps that you need to follow are similar, but might require some adaptation. | ||
| ::: | ||
| ## Find the settings screen {#find} | ||
| To navigate to the settings screen for the CodeRabbit VSCode extension, follow these steps: | ||
| 1. In the activity bar, click the Extensions icon. | ||
| 1. In the sidebar, under **Installed**, click the gear-shaped **Manage** icon in the CodeRabbit row. | ||
| 1. In the menu that appears, select **Settings**. | ||
| The settings screen contains the following configuration controls. | ||
| ## Configure AI agent integration {#agent} | ||
| The **Agent Type** setting lets you choose the extension's response to using the **Fix with AI** feature during code reviews. Your options are the following: | ||
| - **Native**: The extension prompts the AI agent associated with your IDE to apply the suggested fix. | ||
| This works only with VSCode, using Copilot. If you have this option selected when using a different IDE, then the extension instead copies the prompt to your clipboard. | ||
| - **Claude Code**: The extension opens the Terminal pane of your IDE and tries to use the `claude` command-line program to apply the suggested fix to your code. You need to have Claude Code installed for this option to be effective. | ||
| - **Clipboard**: The extension copies prompt text describing the suggested fix to your clipboard. From there, you can manually paste the prompt into the coding AI agent that you use with your IDE. | ||
| For more information about the **Fix with AI** feature, see [Request help from your AI coding agent](/guides/use-vscode#agent). | ||
| ## Configure automatic review behavior {#auto-reviews} | ||
| The **Auto Review Mode** setting lets you control the behavior of the automatic code reviews that the extension can perform after you make commits to your local Git repository. Your options are the following: | ||
| - **Disabled**: The extension doesn't perform automatic code reviews. | ||
| - **Prompt**: After every commit, the extension displays a dialog asking if you'd like it to perform a code review. | ||
| - **Auto**: The extension always performs a review after every commit. | ||
| For more information about this feature, see [Automatically review local commits](/guides/use-vscode#auto-reviews). | ||
| ## Set a review timeout {#timeout} | ||
| The **Review Timeout** setting lets you specify how long the extension waits for a response from CodeRabbit remote servers before timing out a code review. The default value is `20`. | ||
| To turn off timeouts, set this value to `0`. | ||
| ## What's next {#whats-next} | ||
| - [Use the VSCode extension](/guides/use-vscode) | ||
| - [Uninstall the VSCode extension](/guides/uninstall-vscode) |
2 changes: 2 additions & 0 deletionsdocs/guides/install-vscode.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
38 changes: 27 additions & 11 deletionsdocs/guides/use-vscode.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletionssidebars.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.