Skip to content
BENIBIX Learn

Claude Code VS Code Extension

AI⌨️ Claude CodeIntegrations

Also known as Claude Code in VS Code, anthropic.claude-code, Claude Code for Cursor, Option+K, Alt+K

Claude Code in a side panel of VS Code. You see each change and accept it.

Think of it like

It is like a helper who sits at your desk with you.

Example

Sara selects lines 10 to 40 of a file in VS Code and asks in the panel why they are slow. Claude replies with a diff she can accept.

Why it matters

Most people write code in an editor. The panel keeps Claude next to the code, and changes show as diffs, not as walls of text.

Definition

The Claude Code VS Code extension puts Claude Code in a panel inside the VS Code editor. It shows planned changes as diffs you can accept or edit. You can point it at files and line ranges with an @ mention. It carries its own copy of Claude Code, so the panel works without the separate command line install. It also installs in Cursor, and you sign in with a Claude plan or a Console account.

Example code

bash
code --install-extension anthropic.claude-code
Install the extension from the shell. You can also search the Extensions view.
The VS Code extension holds its own copy of Claude Code in a side panel.

Common mistake

Thinking the extension also adds claude to the VS Code terminal. For that, you install the command line tool as well.

Key takeaways

  1. 1
    A panel, not a terminal. Chat beside your code.
  2. 2
    Diffs to review. Accept or edit each change.
  3. 3
    Carries its own copy. No separate install for the panel.

Compare