Tech Update / Adventures with Claude Code #36
Claude Code in VS Code
"I'm not a terminal person." I hear that in almost every rollout, usually from the frontend team. Perfectly fine.
Claude Code also comes as an extension for VS Code, with everything you are used to from the editor.
🧩 Installation
Search for "Claude Code" in the Extensions view and install it, from VS Code 1.94 onwards. It works in Cursor and other forks too. After that the Spark icon opens the panel. Cmd+Esc (Mac) or Ctrl+Esc switches between editor and Claude.
📎 Context without explaining
Selected code is visible to Claude automatically. Option+K or Alt+K also puts a reference with file and lines into the prompt, for example @app.ts#5-10. It is the editor version of the @ from part 16.
🔍 Diffs, plans, rewinding
Changes show up as a diff. You can read and edit plans (part 10) before accepting them. And checkpoints (part 12) are here too: hover over a message, then rewind.
🗂️ Several conversations
"Open in New Tab" starts another conversation. A dot on the Spark icon shows the state: blue means Claude is waiting for an approval. Orange means Claude finished while you were elsewhere.
🖥️ And the terminal?
It stays one keyboard shortcut away. Some things only exist there, such as ! for shell commands or the full set of commands. Both worlds share the history: continue a conversation from the panel in the terminal with claude --resume (part 15).
A word of caution:
The extension ships its own copy of Claude Code but doesn't put claude on your path. If you want to work in the integrated terminal, install the CLI as well. The settings files are the same, so the rules you checked in back in part 7 apply in the panel too.
My rule of thumb:
- Reading diffs, checking plans? The extension.
- Scripts, headless, every command? The terminal.
- No either-or: both share history and settings.
Deutsch
English