[BUG] Claude VS Code Extension – Command 'claude-vscode.editor.openLast' Not Found

Resolved 💬 4 comments Opened May 6, 2026 by karuppasamy77mca Closed May 6, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

The Claude VS Code extension fails to execute commands and shows the following error:

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

The issue started suddenly even though the extension was previously working correctly.

Claude appears installed in VS Code, but the extension commands are not loading or registering properly. As a result, Claude chat/session functionality cannot be opened.

Troubleshooting steps already attempted:

Reloaded VS Code window
Reinstalled Claude extension
Deleted Claude extension folder from .vscode/extensions
Cleared VS Code extension cache
Restarted VS Code and system
Disabled other AI-related extensions

Expected behavior:
Claude extension should initialize successfully and open the previous Claude session/editor without errors.

Actual behavior:
VS Code immediately shows:
command 'claude-vscode.editor.openLast' not found

What Should Happen?

The Claude VS Code extension should activate successfully after installation and register all required commands correctly.

When launching Claude or reopening the previous session, the extension should open the Claude editor/chat interface normally without displaying any command-related errors.

Claude commands should also appear and function correctly in the VS Code Command Palette.

Error Messages/Logs

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

No Claude commands are available in the Command Palette after installation.

Extension appears installed but does not activate correctly inside VS Code.

Steps to Reproduce

  1. Open Visual Studio Code
  2. Install or enable the Claude VS Code extension
  3. Launch Claude from the sidebar or command palette
  4. Attempt to open the previous Claude session/editor
  5. Observe the error:
  6. command 'claude-vscode.editor.openLast' not found

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.129

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

  1. Issue started suddenly without manual configuration changes
  2. Reinstalling the extension does not resolve the issue
  3. Claude extension folder was manually removed and installed again
  4. Other VS Code functionality works correctly
  5. Environment:
  6. OS: Windows 11
  7. VS Code: Latest stable version
  8. Claude Extension Version: 2.1.129-win32-x64
  9. Platform: Anthropic API

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗