Learn how to add Claude Code to your favorite IDE
claude
, and you’re ready to go.
In addition, Claude Code provides dedicated integrations for popular IDEs, which provide features like interactive diff viewing, selection context sharing, and more. These integrations currently exist for:
Cmd+Esc
(Mac) or Ctrl+Esc
(Windows/Linux) to open
Claude Code directly from your editor, or click the Claude Code button in the
UI/config
Cmd+Option+K
(Mac) or Alt+Ctrl+K
(Linux/Windows) to insert file references (e.g., @File#L1-99)claude
- the extension will auto-installclaude
from your IDE’s integrated terminal, and all features will be active.
/ide
command in any external terminal to connect Claude Code to your IDE and activate all features.
If you want Claude to have access to the same files as your IDE, start Claude Code from the same directory as your IDE project root.
claude
/config
commandauto
will enable automatic IDE detectioncode
command should be availablecursor
command should be availablewindsurf
command should be availablecodium
command should be availableCmd+Shift+P
(Mac) or Ctrl+Shift+P
(Windows/Linux)
and search for “Shell Command: Install ‘code’ command in PATH” (or the
equivalent for your IDE)