> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coderabbit.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure the VS Code extension

> Customize the CodeRabbit VS Code extension settings including AI agent integration, automatic review behavior, and self-hosted configurations.

Configure the CodeRabbit VS Code extension to match your workflow preferences. For more information about using the extension, see [Review local changes](/ide).

<Note>
  These instructions are specific to VS Code. If you're using a VS Code-compatible
  editor like Cursor or Windsurf, the steps are similar but may require some
  adaptation.
</Note>

## Find the settings screen

<Steps>
  <Step title="Open CodeRabbit sidebar">
    Open the CodeRabbit activity bar/sidebar.
  </Step>

  <Step title="Click the settings icon">
    In the sidebar, click the gear-shaped icon on the top right (beside the
    logout icon).
  </Step>
</Steps>

<Tip>
  You can also search for **CodeRabbit: Settings** in the command palette to
  open the settings directly.
</Tip>

The settings screen contains the following configuration controls.

## Configure AI agent integration

The **Agent Type** setting lets you choose how the extension responds when using the **Fix with AI** feature during code reviews.

<Tabs>
  <Tab title="Native integrations">
    <CardGroup cols={2}>
      <Card title="Native">
        Prompts the AI agent associated with your IDE to apply the suggested
        fix.

        <Note>
          Works with VS Code (using Copilot) and Cursor. For other IDEs, copies
          to clipboard.
        </Note>
      </Card>

      <Card title="Clipboard">
        Copies prompt text describing the suggested fix to your clipboard for
        manual use with your preferred AI agent.
      </Card>
    </CardGroup>
  </Tab>

  <Tab title="Command-line tools">
    <CardGroup cols={2}>
      <Card title="Claude Code">
        Opens Terminal and uses the `claude` command-line program to apply
        fixes.
      </Card>

      <Card title="Codex CLI">
        Opens Terminal and uses the `codex` command-line program to apply fixes.
      </Card>

      <Card title="OpenCode">
        Opens Terminal and uses the `opencode` command-line program to apply
        fixes.
      </Card>
    </CardGroup>
  </Tab>

  <Tab title="VS Code extensions">
    <CardGroup cols={2}>
      <Card title="Cline">
        Opens the Cline sidebar and runs a task to apply the suggested fix.
      </Card>

      <Card title="Roo">
        Opens the Roo sidebar and runs a task to apply the suggested fix.
      </Card>

      <Card title="Kilo Code">
        Opens the Kilo Code sidebar and runs a task to apply the suggested fix.
      </Card>

      <Card title="Augment Code">
        Opens the Augment Code sidebar with the prompt, allowing you to start
        the task manually.
      </Card>
    </CardGroup>
  </Tab>
</Tabs>

For more information about the **Fix with AI** feature, see [Request help from your AI coding agent](/ide/vscode-use#use-ai-coding-agents).

## Configure automatic review behavior

The **Auto Review Mode** setting controls how the extension handles automatic code reviews after you make commits to your local Git repository.

<CardGroup cols={3}>
  <Card title="Disabled">
    The extension doesn't perform automatic code reviews.
  </Card>

  <Card title="Prompt">
    After every commit, displays a dialog asking if you'd like to perform a code
    review.
  </Card>

  <Card title="Auto">
    Always performs a review after every commit automatically.
  </Card>
</CardGroup>

For more information about this feature, see [Automatically review local commits](/ide/vscode-use#automatic-reviews).

## Use with self-hosted CodeRabbit

This setting is only used when you're using a self-hosted instance of CodeRabbit. If you're using the CodeRabbit Cloud service, you don't need to configure this setting.

<Warning>
  You will need to log in and log out of the extension after adding this value
  for the changes to take effect.
</Warning>

## What's next

<CardGroup cols={2}>
  <Card title="Use the VS Code extension" href="/ide/vscode-use">
    Learn how to review code changes and use AI features
  </Card>

  <Card title="Uninstall the VS Code extension" href="/ide/vscode-uninstall">
    Remove the CodeRabbit extension from your editor
  </Card>
</CardGroup>
