Installation
1
Install Claude Code
Make sure Claude Code CLI is installed and authenticated:
2
Install the VS Code extension
Search for “Claude Code” in the VS Code Extensions panel (
Ctrl+Shift+X) and install it.3
Open a project
Open your project folder in VS Code. The extension connects automatically when you start Claude Code in that directory.
4
Start Claude Code
Open a terminal in VS Code (The extension detects the running instance and establishes the bridge connection.
Ctrl+“) and run:Features
Current file context
Claude automatically knows what file you have open:Selection-based editing
Highlight code in VS Code, then ask Claude to work on it:Navigate to code
Claude can open files and jump to specific lines in VS Code:Diff view
Proposed file changes appear as diffs in VS Code’s standard diff viewer, letting you review and accept/reject changes line by line.The /desktop command
The/desktop command hands off a terminal session to the Claude desktop app, which integrates with VS Code at a deeper level: