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" />
This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗