VS Code extension commands not working - "command not found" errors

Status Fixed / completed
Reported on v2.1.55
Maintainer reply None cached
Activity 7 comments · opened Feb 25, 2026 · closed Feb 25, 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?

Description:
After installing Claude Code CLI and VS Code extension, all extension commands fail with "command not found" errors.

Environment:

  • OS: Windows
  • VS Code: 1.109.5
  • Claude Code CLI: 2.1.55
  • Extension: anthropic.claude-code v2.1.55

Error messages:

  • command 'claude-vscode.editor.openLast' not found
  • command 'claude-vscode.terminal.open' not found
  • command 'claude-vscode.editor.open' not found

What works:

  • Running claude directly in terminal works fine

What I tried:

  • Reinstalled Node.js
  • Reinstalled Claude CLI
  • Reinstalled VS Code extension
  • Cleared extension cache
  • Added code command to PATH
  • Ran claude upgrade

None of these fixed the extension button issue.

What Should Happen?

Description:
After installing Claude Code CLI and VS Code extension, all extension commands fail with "command not found" errors.

Environment:

  • OS: Windows
  • VS Code: 1.109.5
  • Claude Code CLI: 2.1.55
  • Extension: anthropic.claude-code v2.1.55

Error messages:

  • command 'claude-vscode.editor.openLast' not found
  • command 'claude-vscode.terminal.open' not found
  • command 'claude-vscode.editor.open' not found

What works:

  • Running claude directly in terminal works fine

What I tried:

  • Reinstalled Node.js
  • Reinstalled Claude CLI
  • Reinstalled VS Code extension
  • Cleared extension cache
  • Added code command to PATH
  • Ran claude upgrade

None of these fixed the extension button issue.

Error Messages/Logs

Steps to Reproduce

Description:
After installing Claude Code CLI and VS Code extension, all extension commands fail with "command not found" errors.

Environment:

  • OS: Windows
  • VS Code: 1.109.5
  • Claude Code CLI: 2.1.55
  • Extension: anthropic.claude-code v2.1.55

Error messages:

  • command 'claude-vscode.editor.openLast' not found
  • command 'claude-vscode.terminal.open' not found
  • command 'claude-vscode.editor.open' not found

What works:

  • Running claude directly in terminal works fine

What I tried:

  • Reinstalled Node.js
  • Reinstalled Claude CLI
  • Reinstalled VS Code extension
  • Cleared extension cache
  • Added code command to PATH
  • Ran claude upgrade

None of these fixed the extension button issue.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.55

Platform

Other

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

<img width="565" height="109" alt="Image" src="https://github.com/user-attachments/assets/ee373244-53d3-435b-8167-6a71206998ed" />

View original on GitHub ↗

7 Comments

github-actions[bot] · 6 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/28406
  2. https://github.com/anthropics/claude-code/issues/28145
  3. https://github.com/anthropics/claude-code/issues/28166

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

kaycee-arch · 6 months ago

upvoting this is happening for me on v2.1.55 too! So it is a regression, hope for a fix asap

1337Reaper · 6 months ago

Same error for me:

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

v2.1.55

JunhyeokJang1006 · 6 months ago

Same error for me:

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

v2.1.55

parksihyun87 · 6 months ago

It was working fine until yesterday, but today my VS Code extension stopped working. I downgraded to 2.1.49 and now it works.

shawnm-anthropic · 6 months ago

Thank you for your patience, v2.1.56 fixes the VS Code crash.

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.