VS Code Extension: command 'claude-vscode.editor.openLast' not found when clicking Extension UI button

Status Fixed / completed
Reported on v2.1.53
Maintainer reply None cached
Activity 12 comments · opened Feb 25, 2026 · closed Feb 25, 2026

Bug Description

Clicking buttons on the Claude Code VS Code Extension UI results in the error:

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

Commands work fine via Command Palette (Ctrl+Shift+PClaude: ...), but the Extension panel buttons fail with this error.

Steps to Reproduce

  1. Install Claude Code VS Code Extension (v2.1.53)
  2. Open VS Code
  3. Click on the Claude Code extension panel/button in the sidebar
  4. Click any button on the Extension UI
  5. Error appears: command 'claude-vscode.editor.openLast' not found

Expected Behavior

Clicking the button should open the last Claude conversation in the editor.

Actual Behavior

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

Environment

  • VS Code version: 1.109.5 (x64)
  • Extension version: 2.1.53
  • Claude CLI version: 2.1.53
  • OS: Windows 11 Pro 10.0.26100

Troubleshooting Attempted

  • Uninstalled and reinstalled the extension
  • Reloaded VS Code window (Developer: Reload Window)
  • Commands work via Command Palette but not via Extension UI buttons
  • Extension appears in Running Extensions list

Notes

  • The commands registered by the extension are accessible through the Command Palette, suggesting the extension activates partially but the UI buttons reference commands that are not properly registered or the activation event for those commands is not triggered.

View original on GitHub ↗

12 Comments

github-actions[bot] · 6 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/28132
  2. https://github.com/anthropics/claude-code/issues/28356
  3. https://github.com/anthropics/claude-code/issues/28365

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

ROGMARQ14 · 6 months ago

I am experiencing the same error.

After a couple of hours going back and forth with Copilot I found the best workaround (for now) is to roll back to v2.1.52

shawnm-anthropic · 6 months ago

Hi, thanks for reporting. We just released v2.1.55 which should fix this.

cyanidefish · 6 months ago

Hi there, I've justed on windows 11, version 2.1.55 and the issue still persists.

tri-bit · 6 months ago

I just experienced this issue for the first time. (Currently on 2.1.55)

1337Reaper · 6 months ago

Currently on 2.1.55 and the issue still exists

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

llllllhui · 6 months ago

same 2.1.55 ,same problem

Pasi-D · 6 months ago

Experiencing this issue after updating to the latest 2.1.55

2.1.53 - issue still exists
Works fine with 2.1.52 for now.

theshameem75 · 6 months ago

Experiencing this issue on v2.1.55

novprayogi · 6 months ago

update to 2.1.56 it will solved the problem

CleverCoder · 6 months ago

Confirmed this morning. 2.1.56 is working again.

github-actions[bot] · 5 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.