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.
Find the settings screen
1
Open CodeRabbit sidebar
Open the CodeRabbit activity bar/sidebar.
2
Click the settings icon
In the sidebar, click the gear-shaped icon on the top right (beside the
logout icon).
settings.json file. The settings reference lists each setting key with its type, default, and allowed values.
Configure AI agent integration
The Agent Type setting (coderabbit.agentType) lets you choose how the extension responds when using the Fix with AI feature during code reviews.
- Native integrations
- Command-line tools
- VS Code extensions
Native
Prompts the AI agent associated with your IDE to apply the suggested
fix.
Works with VS Code (using Copilot), Cursor, and Windsurf. For other IDEs, copies to clipboard.
Clipboard
Copies prompt text describing the suggested fix to your clipboard for
manual use with your preferred AI agent.
Configure automatic review behavior
The Auto Review Mode setting (coderabbit.autoReviewMode) controls how the extension handles automatic code reviews after you make commits to your local Git repository.
Disabled
The extension doesnât perform automatic code reviews.
Prompt
After every commit, displays a dialog asking if youâd like to perform a code
review.
Auto
Always performs a review after every commit automatically.
Choose the CodeRabbit region
The Account Region setting (coderabbit.accountRegion) controls which CodeRabbit Cloud region the extension connects to. Choose the region that matches the website you sign in to: us for app.coderabbit.ai, which is the default, or eu for app.eu.coderabbit.ai. Changing the setting connects the extension to that region; it doesnât move your account.
The earlier Region setting (coderabbit.region) is deprecated. A value saved there still applies until you set Account Region.
If you configure Self Hosted URL, the extension connects to that URL instead of the selected CodeRabbit Cloud region.
Configure task startup
The Auto Start Task setting (coderabbit.autoStartTask) controls whether supported AI agents start working on the suggested fix automatically.
This setting applies to supported agents such as Native in VS Code, Cline, Roo, and Kilo Code.
Use with self-hosted CodeRabbit
The Self Hosted URL setting (coderabbit.selfHostedUrl) 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.
Set this to the base URL of your CodeRabbit instance, such as https://coderabbit.yourcompany.com. When this value is configured, the extension connects directly to your server instead of the selected CodeRabbit Cloud region.
Settings reference
These are all the settings in version 0.23.0 of the extension, with the descriptions shown in the Settings editor. Earlier versions may not have every setting.coderabbit.accountRegion
Choose the region where your CodeRabbit account is hosted. Match the website you use to sign in. Changing this setting connects the extension to that region; it does not move your account.
- Type:
string - Default:
us - Scope: User, remote, and workspace settings
- Allowed values:
us: For accounts using app.coderabbit.ai. Labeled US (default) in the Settings editor.eu: For accounts using app.eu.coderabbit.ai. Labeled EU in the Settings editor.
coderabbit.agentType
The AI agent to use for âFix with AIâ functionality.
- Type:
string - Default:
Native - Scope: User, remote, and workspace settings
- Untrusted workspaces: workspace values are ignored and only your user setting applies
- Allowed values:
Native: Use built-in AI agent (default). Falls back to Clipboard if not available.Claude Code: Use Claude Code in terminalClaude Code Extension: Use Claude Code VSCode Extension (requires the Claude Code extension)Codex CLI: Use Codex CLI in terminalClipboard: Copy instructions to clipboardCline: Use Cline (requires the Cline extension)Roo: Use Roo (requires the Roo Code extension)Kilo Code: Use Kilo Code (requires the Kilo Code extension)Augment Code: Use Augment Code (requires the Augment Code extension)opencode: Use opencode in terminal
coderabbit.autoReviewMode
How to handle review after commits
- Type:
string - Default:
prompt - Scope: User, remote, and workspace settings
- Allowed values:
disabled: Donât prompt for review after commitsprompt: Prompt to start a review after commits (default)auto: Automatically start review after commits with 10 second cancel window
coderabbit.autoStartTask
Automatically start task for supported AI agents. When disabled, requires manual confirmation to begin.
- Type:
boolean - Default:
true - Scope: User, remote, and workspace settings
- Untrusted workspaces: workspace values are ignored and only your user setting applies
coderabbit.completionNotifications
Request a macOS Notification Center status alert on local desktop sessions when a CodeRabbit review completes or fails. Successful reviews also show an IDE notification with Show Review. Other platforms and remote/web sessions use the IDE notification. macOS notification permissions and Focus settings control OS alert visibility.
- Type:
boolean - Default:
false - Scope: Local user settings only
coderabbit.respectGitIgnore
Exclude ignored untracked files supplied by Git from local reviews. Tracked and staged files remain eligible even if they match ignore rules. Disabling this does not discover ignored files omitted by Git. Built-in file exclusions still apply.
- Type:
boolean - Default:
true - Scope: User, remote, workspace, and folder settings
coderabbit.reviewCompletionSound
Play a short sound when a review completes. Requires the CodeRabbit panel to have been opened in this window. Playback depends on your editorâs audio permissions and system volume; blocked sounds are skipped.
- Type:
boolean - Default:
false - Scope: Local user settings only
coderabbit.selfHostedUrl
URL of your self-hosted CodeRabbit server (e.g., https://coderabbit.yourcompany.com). When configured, the extension will connect directly to your server bypassing authentication.
- Type:
string - Default: None
- Scope: Local user settings only
coderabbit.region
Deprecated. Use coderabbit.accountRegion instead. Your saved region still applies until you set Account region.
- Type:
string - Default:
us - Scope: User, remote, and workspace settings
- Allowed values:
useu
Commands
Run these commands from the Command Palette: press Cmd+Shift+P on macOS or Ctrl+Shift+P on Windows and Linux, then typeCodeRabbit. Some commands appear only after you sign in. Use a command ID to assign a keyboard shortcut to that command. The table lists the commands in version 0.23.0 of the extension.
Actions on a single review comment, such as Fix with AI, appear on the comment itself rather than in the Command Palette. See Working with review results.
Whatâs next
Use the VS Code extension
Learn how to review code changes and use AI features
Uninstall the VS Code extension
Remove the CodeRabbit extension from your editor