DEV Community

Luca Liu
Luca Liu

Posted on • Edited on

How to Fix "command 'claude-vscode.editor.openLast' not found" in VS Code

The Problem

When trying to use the Claude Code extension in VS Code, you might run into this error preventing it from opening (2.1.129):

command 'claude-vscode.editor.openLast' not found

The Solution

The fix is simple: you need to downgrade the extension to a specific stable version (2.1.128).

Here are the exact steps:

  1. Uninstall your current Claude VS Code extension.

  2. Click the Gear (Settings) icon on the Claude extension page in VS Code.

  3. Select "Install Another Version..." from the dropdown menu.

  4. Choose version 2.1.128 from the list.

  5. Reload VS Code.

That's it! The error should be gone and Claude will work properly again.

Top comments (0)