Fix for Claude VS Code Extension Error: 'command claude-vscode.editor.openLast not found'

The Claude VS Code extension version 2.1.51 has a bug that prevents it from loading properly, causing the error message "command 'claude-vscode.editor.openLast' not found" when users try to interact with it.
What's happening
Version 2.1.51 introduced a breaking bug that causes the extension to crash immediately on startup. This failure prevents the extension from registering its UI commands with VS Code. When users attempt to use the extension, VS Code throws the error because it can't find the registered commands.
The bug appears to be caused by a hardcoded path error in the extension's core files. According to reports, this issue largely affects Windows users.
How to fix it
To restore functionality while waiting for Anthropic to release a patch:
- Open the Extensions tab in VS Code
- Find "Claude Code" and click the gear icon ⚙️
- Click "Install Another Version..."
- Select version 2.1.49 from the dropdown list
- Reload VS Code
This downgrade to version 2.1.49 resolves the issue and returns the extension to normal operation.
📖 Read the full source: r/ClaudeAI
👀 See Also

Flow Maps: Learning the Integral of a Diffusion Model for Faster Sampling
Sander Dieleman explains flow maps — neural networks that directly predict the integral of a diffusion model's ODE, enabling faster sampling, reward-based learning, and steerability.

The LLM Voice Problem: Avoiding AI-Generated Writing Patterns
A developer discusses the common issue of LLM-assisted writing having recognizable "LLM-isms" that trigger immediate AI detection, and shares an article on identifying these patterns and editing for authenticity.

Vibe Coding Rules: Build Side Projects from Your Phone Using Claude Code Without Reading Code
A senior engineer shares their rules for building side projects entirely from a phone using Claude Code without reading code: start in plan mode, commit to git, write tests, use subagents for reviews, and auto-mode.

Use Task Runners for Common Coding Tasks
Ham Vocke explains how to use simple bash scripts or Makefiles as task runners to standardize common commands like build, test, and format across repositories.