VS Code extension commands not working - "command not found" errors
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
claudedirectly in terminal works fine
What I tried:
- Reinstalled Node.js
- Reinstalled Claude CLI
- Reinstalled VS Code extension
- Cleared extension cache
- Added
codecommand 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
claudedirectly in terminal works fine
What I tried:
- Reinstalled Node.js
- Reinstalled Claude CLI
- Reinstalled VS Code extension
- Cleared extension cache
- Added
codecommand 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
claudedirectly in terminal works fine
What I tried:
- Reinstalled Node.js
- Reinstalled Claude CLI
- Reinstalled VS Code extension
- Cleared extension cache
- Added
codecommand 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" />
7 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
upvoting this is happening for me on v2.1.55 too! So it is a regression, hope for a fix asap
Same error for me:
command 'claude-vscode.editor.openLast' not found
v2.1.55
Same error for me:
command 'claude-vscode.editor.openLast' not found
v2.1.55
It was working fine until yesterday, but today my VS Code extension stopped working. I downgraded to 2.1.49 and now it works.
Thank you for your patience, v2.1.56 fixes the VS Code crash.
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.