The Claude Code VS Code extension connects your editor to Claude Code running in the terminal, enabling context-aware assistance based on your open files and selections.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/killlowkey/claude-code/llms.txt
Use this file to discover all available pages before exploring further.
Installation
Install the VS Code extension
Search for “Claude Code” in the VS Code Extensions panel (
Ctrl+Shift+X) and install it.Open a project
Open your project folder in VS Code. The extension connects automatically when you start Claude Code in that directory.
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: