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

# Fix in IDE

> Open CodeAnt review suggestions directly inside Cursor or VS Code (Claude Code) with one click

## Overview

Every review comment CodeAnt AI posts on a pull request includes a ready-made **Prompt for AI Agent** that captures the file, line, issue, and suggested fix. **Fix in IDE** turns that prompt into a one-click handoff to your local IDE.

When the setting is enabled, every CodeAnt review suggestion gets two extra links:

* **Fix in Cursor** — opens the prompt directly in Cursor via the `cursor://` deep link
* **Fix in VSCode Claude** — opens the prompt directly in VS Code via the Claude Code extension

Cmd/Ctrl + click works best — your IDE focuses with the prompt pre-filled, and you can review and apply the fix without retyping anything.

## How It Works

1. CodeAnt finishes reviewing your PR and posts a suggestion.
2. Each suggestion contains a **Fix in Cursor** and **Fix in VSCode Claude** link inline with the review body.
3. Clicking either link opens `app.codeant.ai/fix-in-ide` in your browser, which immediately hands off to the IDE through a deep link (`cursor://` or `vscode://`).
4. The IDE opens with the full prompt — file path, line range, issue description, suggested fix, and the instruction to validate and propose other fixes on the same PR.

The prompt that's sent to the IDE includes:

* The file path and exact line range of the issue
* The full review comment text
* An instruction to validate the issue, propose a minimal fix, and offer to fix other comments on the same PR

This means your IDE agent has all the context it needs without you copying anything by hand.

## Configuring Fix in IDE

You can enable or disable Fix in IDE per repository, or set it once at the organization level and let individual repos inherit.

Navigate to **Settings → AI Code Review** at [app.codeant.ai/settings/prconfsettings](https://app.codeant.ai/settings/prconfsettings).

Find the **Fix in IDE** row and choose:

| Option                                     | Behaviour                                                                                             |
| ------------------------------------------ | ----------------------------------------------------------------------------------------------------- |
| **Enable**                                 | Show the **Fix in Cursor** and **Fix in VSCode Claude** links on every review suggestion.             |
| **Disable**                                | Hide the links — suggestions still ship with the **Prompt for AI Agent** block you can copy manually. |
| **Inherited from Org** *(repo-level only)* | Use whatever the organization-level setting is. Selecting this clears the repo-level override.        |

The default at the org level is **Enable**.

### Org vs Repo

* **Organization scope** — sets the default for every repository in the org.
* **Repository scope** — overrides the org default for that one repo. Pick **Inherited from Org** to remove the override.

## Requirements

* **Cursor** — install [Cursor](https://www.cursor.com/) on your machine. The `cursor://` URL handler is registered automatically.
* **VS Code Claude** — install [VS Code](https://code.visualstudio.com/) and the [Claude Code extension](https://marketplace.visualstudio.com/items?itemName=anthropic.claude-code).

If neither IDE is installed, the link will simply fail to open — you can still copy the **Prompt for AI Agent** block from the review comment and paste it into any other agent.
