"command 'claude-vscode.editor.openLast' not found" persists in v2.1.55 on Windows 11

Resolved 💬 1 comment Opened Feb 25, 2026 by condesi Closed Feb 25, 2026

Bug Description

The error command 'claude-vscode.editor.openLast' not found appears on startup in v2.1.55 on Windows 11, despite this being reportedly fixed in v2.1.52.

Steps to Reproduce

  1. Install Claude Code v2.1.55 (VSCode extension) on Windows 11
  2. Open any workspace in VSCode
  3. Error notification appears at bottom: command 'claude-vscode.editor.openLast' not found

Environment

  • OS: Windows 11 Pro 10.0.26100 (x64)
  • VSCode: 1.109.5
  • Claude Code CLI: 2.1.55
  • Extension: anthropic.claude-code-2.1.55-win32-x64

What was tried (all failed to fix)

  1. Reload Window (Ctrl+Shift+P → Reload Window)
  2. Uninstall + reinstall extension
  3. Remove ALL old extension versions (2.1.49, 2.1.51, 2.1.52, 2.1.53) keeping only 2.1.55
  4. Clear extension globalStorage and CachedData
  5. Clean uninstall (remove extension files + clear extensions.json manifest + force reinstall)
  6. Change claudeCode.preferredLocation from "panel" to "sidebar"
  7. Complete VSCode restart (File → Exit, reopen)

Workaround

Downgrading to v2.1.49 resolves the error. The issue appears to be a regression that persists in v2.1.55 despite the fix noted in v2.1.52 changelog.

Console Error (Developer Tools)

Error: command 'claude-vscode.editor.openLast' not found
    at pit.n (workbench.desktop.main.sourcemap:1354:3892)
    at pit.executeCommand (workbench.desktop.main.sourcemap:1354:3824)
    at async Get.u (workbench.desktop.main.sourcemap:35:29397)
    at async Get.run (workbench.desktop.main.sourcemap:35:29321)
    at async $h.onClick (workbench.desktop.main.sourcemap:434:96688)

The error triggers from status bar click handler ($h.onClick), suggesting the extension's command registration races with VSCode's UI restoration.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗