# /ide Command

> It hooks Claude Code up to the app you write code in.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** /ide, IDE integration

## Think of it like

It is like you plug your game into the big TV. Now both show the same thing.

## Definition

/ide links Claude Code in your terminal to your code editor, such as VS Code or a JetBrains IDE. It also shows if the link is up. Then Claude can see the file and the lines you have picked, and its changes open as diffs in the editor. Run it when the session did not link up on its own.

## Example

Lucy runs Claude Code in a terminal next to VS Code. She types /ide and picks VS Code. Now when she selects a function, Claude knows which one she means.

## Example code

```console
/ide
```

Connect to your editor and see its status.

## Why it matters

Claude sees what you are looking at, so you point instead of pasting code into the chat.

## Common mistake

Thinking it puts the editor add-on in for you. It only links to an editor that has it. Some need the add-on first.

## Three principles

- **Links the editor.** VS Code, JetBrains.
- **Shares your selection.** Claude sees it.
- **Diffs in the editor.** Not just the terminal.

## Related terms

- [Claude Code Surface](https://learn.benibix.com/term/ai/claude-code-surface)
- [Integrated Development Environment (IDE)](https://learn.benibix.com/term/development/ide)
- [/diff Command](https://learn.benibix.com/term/ai/diff-command)
- [Claude Code JetBrains Plugin](https://learn.benibix.com/term/ai/claude-code-jetbrains-plugin)
- [Claude Code VS Code Extension](https://learn.benibix.com/term/ai/claude-code-vs-code-extension)

## Taught in

- [Theme, View and IDE](https://learn.benibix.com/learn/ai-claude-code-commands/theme-view-and-ide): Claude Code Commands, 10/17

![One Claude Code engine in the middle, reached from the terminal, VS Code, JetBrains, the desktop app and the web.](https://learn.benibix.com/diagrams/cc-surface.svg)

---

Source: https://learn.benibix.com/term/ai/ide-command
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
