Skip to content

[FEATURE] Allow the new Claude VS Code extension to configure the claude executable path #8510

Description

@justin39

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)

Problem Statement

The new Claude VS Code extension seems to always spawn claude from the bundled claude-code package:

node /home/user/.vscode-server/extensions/anthropic.claude-code-2.0.0/resources/claude-code/cli.js --output-format stream-json --verbose --input-format stream-json --append-system-prompt [...]

This may be because the extension is unable to find a native installation or a global NPM install of claude-code - instead, we use a wrapper script on PATH. This wrapper script performs some convenient setup, like setting up some infrastructure and the environment variables required to run Claude with our third-party model provider. The bundled claude-code doesn't perform this bootstrapping and won't work.

Proposed Solution

I would like to be able to configure the extension to use a claude executable by path.

Alternative Solutions

It's possible to rig up the environment variables via claude-code.environmentVariables settings in VS Code, but this is manual and doesn't fully cover the setup required.

Priority

High - Significant impact on productivity

Feature Category

Developer tools/SDK

Use Case Example

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions