Skip to content

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

Description

@kawasetaeko-ai

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • 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

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:idebugSomething isn't workingplatform:vscodeIssue specifically occurs in VS Codeplatform:windowsIssue specifically occurs on Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions